To go one step farther, I would recommend installing RubyGems from
source and then installing Rails through RubyGems. Much better
situation.

On Jan 18, 7:24 pm, "Jeremy McAnally" <jeremymcana...@gmail.com>
wrote:
> Yes, Ubuntu puts their own Rails binscript (written in *bash*.  ugh!)
> in there because apparently they hate you and the whole of the Rails
> community for some reason.
>
> Try something like "rails --version".  And file a bug with Ubuntu
> because they're the ones who maintain their stupid script.
>
> --Jeremy
>
> On Sun, Jan 18, 2009 at 7:13 PM, Kedar Mhaswade
>
>
>
> <rails-mailing-l...@andreas-s.net> wrote:
>
> > Frederick Cheung wrote:
> >> On 19 Jan 2009, at 00:24, Kedar Mhaswade wrote:
>
> >> In what way does it fail ?
> >> That aside, rails -v tells you what the latest version of rails on
> >> your computer is, which isn't the same thing as what version your
> >> rails apps are running.
> >> That can be controlled by
> >> - having RAILS_GEM_VERSION set to something in environment.rb
> >> - having rails frozen into vendor/rails
>
> >> when you run script/console or script/server it should tell you what
> >> version of rails its loading.
>
> >> Fred
>
> > Thank you. But I don't think rails -v works. I think I have rails 2.0.2
> > or something like that (and that's what I am trying to ascertain) but on
> > my Ubuntu here is what happens:
> > ke...@kedar-laptop:~/Projects/ror/people$ which rails
> > /usr/bin/rails
> > ke...@kedar-laptop:~/Projects/ror/people$ rails -v
> > getopt: invalid option -- v
> > Terminating...
>
> > -Kedar
> > --
> > Posted viahttp://www.ruby-forum.com/.
>
> --http://jeremymcanally.com/http://entp.com/http://omgbloglol.com
>
> My books:http://manning.com/mcanally/http://humblelittlerubybook.com/(FREE!)
--~--~---------~--~----~------------~-------~--~----~
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-talk@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