Tim Hoolihan
6/23/2006 2:35:00 PM
I recently installed Dapper on my laptop, and was able to get ruby and
gems on, but ri and rdoc aren't available. Any ideas?
-Tim
mathew wrote:
> Phlip wrote:
>> 8-0 you got gem working???!!!
>
> RubyGems works fine on my Ubuntu system, using the distribution of
> RubyGems, no hacking required.
>
> And yes, you'd have gotten syck.so if you'd just installed the rest of
> the APT packages for Ruby.
>
>> Is all my irritation caused by Ubuntu uses --prefix=/usr where normal
>> programs default to --prefix=/usr/local ?
>
> No, I suspect all your irritation is caused by not using APT to install
> the necessary software, and instead cobbling together a Frankenstein
> monster out of different versions of Ruby.
>
> I'd strongly suggest you blow away your current mess and:
>
> apt-get install irb1.8 libreadline-ruby1.8 libruby1.8 > libwebrick-ruby rake rdoc1.8 ruby1.8 ruby
>
> You'll then have everything I have for Ruby development. Then download
> RubyGems, and it should install with no problems.
>
> Then learn to use Synaptic. Open it up, click Search, enter ruby as your
> search term, and choose "name and description". Any time you need some
> random bit of Ruby stuff, see if it's in that list before you go on a
> scavenger hunt.
>
> It'd be nice if the Ubuntu 'ruby' package included everything that's in
> a normal distribution of Ruby, but again, that goes back to the Debian
> packagers.
>
>
> mathew