Just in case it applies here is an extract from the Pickaxe book
(Second edition, page 217):

"Threre's a subtlety when it comes to installing different versions of
the same application with RubyGems. Even though RubyGems keeps
separate versions of the application's library files, it does not
version the actual command you use to run the application. As a
result, each install of an application effectively overwrites the
previous one."


On May 21, 5:44 am, Jian Lin <li...@ruby-forum.com> wrote:
> On a Mac running Snow Leopard, the Rails version was 2.3.5  (by using
> rails -v)
>
> and then I used gem install to install about 20 things, and maybe there
> was a line on the instructions that was there in the past that says
>
>   gem install rails -v=1.3.5
>
> and I ran it anyways, thinking that maybe 1.3.5 is a different version
> number...
>
> and it installed 5 gems (as i remember).
>
> Will that actually affect the current rails?
>
> Even after the installation, when I use
>
>   rails -v
>
> it still says 2.3.5
>
> and also if it is
>
>   gem list rails
>
> it would list something like
>
>   rails (2.3.5, 2.3.2, 1.3.5)
>
> so looks like they exist nicely with each other without affecting one
> another?  thanks.
> --
> Posted viahttp://www.ruby-forum.com/.
>
> --
> 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 rubyonrails-t...@googlegroups.com.
> To unsubscribe from this group, send email to 
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/rubyonrails-talk?hl=en.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to