On Jul 10, 1:25 pm, Sijo Kg <[email protected]> wrote:
> Hi In my machine there is Ruby1.8.6 ,1.9.1 and rails 2.3.2 And I created
> a new project using Ruby1.9.1 and rails 2.3.2 But when did
> ./script/about it shows
> Ruby version              1.8.6 (i386-linux)
> RubyGems version          1.3.1
>
>    Why this happens
>
If you have multiple versions of ruby installed then how you choose
which one is used may vary. the scripts that come with ruby usually
have
#!/usr/bin/env ruby
which searches $PATH in the usual way. If for example you have ruby
1.9 installed in such a way that ruby19 is the ruby 1.9 interpreter
(and irb19 the 1.9 version of irb etc.) then you need to either change
the shebang line or invoke ruby explicitly (ie ruby19 script/about)

Fred

Fred
> Thanks in advance
> Sijo
> --
> 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 [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