[Rails] Re: Unable to get RAILS 3 recognize the Ruby 1.9.2 on Ubuntu 10.04

2010-09-12 Thread Agoofin
You might install rvm as well. I've fund it to be very helpful being
able to have multiple - isolated - ruby and rails versions. One of the
best features is to have a per project gem setup.

I had problems with ruby on Kubuntu without rvm, now it is smooth
sailing

On Sep 12, 11:37 am, Brian Prior  wrote:
>   On 12/09/2010 16:16, Frederick Cheung wrote:
>
> > On Sep 12, 2:57 pm, Srikanth  wrote:
>
> >> I am not sure how to get RAILS recongnize the fact that I have Ruby
> >> 1.9.2 installed.
>
> > What does the shebang inside the rails executable look like ?
>
> > Fred
>
> You should install Rails for this copy of Ruby i.e. gem install rails.
> Check your Ruby version first with ruby -v.

-- 
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.



Re: [Rails] Re: Unable to get RAILS 3 recognize the Ruby 1.9.2 on Ubuntu 10.04

2010-09-12 Thread Brian Prior

 On 12/09/2010 16:16, Frederick Cheung wrote:



On Sep 12, 2:57 pm, Srikanth  wrote:


I am not sure how to get RAILS recongnize the fact that I have Ruby
1.9.2 installed.


What does the shebang inside the rails executable look like ?

Fred

You should install Rails for this copy of Ruby i.e. gem install rails. 
Check your Ruby version first with ruby -v.



--
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.



Re: [Rails] Re: Unable to get RAILS 3 recognize the Ruby 1.9.2 on Ubuntu 10.04

2010-09-12 Thread Srikanth Shreenivas
Looks like version 1.9.1 was pre-installed on Ubuntu 10.04 as there was a
file /usr/bin/ruby1.9.1 that RAILs seems to have been picking up.

I unintalled Ruby from "System -> Adminitstration -> Synaptic Package
Manager".
I deleted all the contents of "/usr/local/ruby".

And re-installed Ruby 1.9.2 and all the RAILS gems as per the blog
http://torqueo.net/installing-ruby-192-and-rails-3-stable-on-ubuntu/.


Now, things are working just fine.





On Sun, Sep 12, 2010 at 8:54 PM, Srikanth Shreenivas wrote:

> Here it is:
>
> #!/usr/bin/ruby1.9.1
>
>
> On Sun, Sep 12, 2010 at 8:46 PM, Frederick Cheung <
> frederick.che...@gmail.com> wrote:
>
>>
>>
>> On Sep 12, 2:57 pm, Srikanth  wrote:
>>
>> >
>> > I am not sure how to get RAILS recongnize the fact that I have Ruby
>> > 1.9.2 installed.
>> >
>>
>> What does the shebang inside the rails executable look like ?
>>
>> Fred
>>
>> --
>> 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.
>>
>>
>

-- 
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.



Re: [Rails] Re: Unable to get RAILS 3 recognize the Ruby 1.9.2 on Ubuntu 10.04

2010-09-12 Thread Srikanth Shreenivas
Here it is:

#!/usr/bin/ruby1.9.1

On Sun, Sep 12, 2010 at 8:46 PM, Frederick Cheung <
frederick.che...@gmail.com> wrote:

>
>
> On Sep 12, 2:57 pm, Srikanth  wrote:
>
> >
> > I am not sure how to get RAILS recongnize the fact that I have Ruby
> > 1.9.2 installed.
> >
>
> What does the shebang inside the rails executable look like ?
>
> Fred
>
> --
> 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.
>
>

-- 
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.



[Rails] Re: Unable to get RAILS 3 recognize the Ruby 1.9.2 on Ubuntu 10.04

2010-09-12 Thread Frederick Cheung


On Sep 12, 2:57 pm, Srikanth  wrote:

>
> I am not sure how to get RAILS recongnize the fact that I have Ruby
> 1.9.2 installed.
>

What does the shebang inside the rails executable look like ?

Fred

-- 
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.