On Sun, Dec 6, 2009 at 2:53 PM, Ashwin Mangale <[email protected]> wrote:
> Hi Luiz,
>      I think the problem is that when you use Synaptic/aptitude to install
> rubygems, rails (v2.2 available from the repo) needs to be installed the
> same way.
>     I would suggest you follow Colin's reply and try installing rubygems
> from source. Prior to that, libyaml-ruby and libzlib-ruby need to be
> installed from Synaptic. Once installed, 'gem1.8' will be in /usr/bin.
> Rename it to 'gem' and you are good to 'gem install rails'.

I'm sorry to disagree with this approach, but I think it has a few drawbacks.
The best way I've found to install RoR environment on a Debian-like
distro is to install rubygems form apt-get/aptitude,
then install every gem with the gem command, this will be nicer with
gems update, since debian-like distros are pretty conservatives for
package updates and, generally, gems releases will be faster that the
distros releases.

One more thing, renaming gem1.8 to gem will break the distro's
policies, I'd recommend you to add an alias or to set up
/etc/alternatives (I'm not a Debian-like user, so I cannot tell you
how to do this, but you should google that)

Cheers.

-- 
Leonardo Mateo.
There's no place like ~

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to