Oops, this is what I got.
r...@ryu-laptop:~$ sudo rails _3.0.0.beta4_ --version
/usr/local/lib/site_ruby/1.8/rubygems.rb:779:in
`report_activate_error': RubyGem version error: rails(2.3.8 not =
3.0.0.beta4) (Gem::LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems.rb:214:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:1082:in `gem'
from /usr/bin/rails:18
r...@ryu-laptop:~$ rails -v
Rails 2.3.8
On Jul 13, 6:23 am, anon_comp <[email protected]> wrote:
> On Jul 12, 4:45 pm, Roy Yu <[email protected]> wrote:
>
>
>
>
>
> > Hi all,
>
> > I'm a newbies for ruby and need some help for installation blocker.
>
> > I have my ruby installed "ruby 1.9.2dev (2010-07-11 revision 28613)
> > [i686-linux]"
>
> > And then I install the rails
> > sudo gem install rails --pre
>
> > but when I do rails -v, it shows
> > Rails 2.3.8
>
> > [ Note: I've installed 2.3.8 few days ago. And today I tried to
> > install the latest version. ]
>
> > So how I can use the latest version instead of the version I installed
> > few days ago??
>
> First check to see what versions of Rails you have installed on your
> computer
> sudo gem list --local rails
>
> Then you can choose what version of Rails you want to use
> rails _2.3.8_ --version
>
> Note: 2.3.8 is just an example. Put whatever version it is you want in
> there.
>
> You can also delete previous versions of rails
> sudo gem cleanup
>
> Hoped that helped.
> Anon_comp
--
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.