On 11/08/11 14:34, Bruno Meira wrote:
yeah, I already type "rvm | head -1", and everything works good.
I installed  ruby using rvm. "rvm install 1.9.2".
It works well but when I type "ruby -v" in console, if I'm on sudo
mode it shows me a message telling me that this command does not find.
Otherwise if I'm not on sudo mode it works well.

The whole point of rvm is that it installs your own private environment. You don't need to use su or sudo at all.

I tried again something of one blog and "rails -v" now works in any
mode, but "ruby -v" problem continues.
That's the first time that I'm using rvm, so all the time that I need
to use "rake db:migrate" or "rails -s", I need to type "rvm rake
db:migrate" and "rvm rails -s"?

No.  Simply type:

rvm use 1.9.2

and then for the rest of your session you'll have the environment which you need. You just type:

rake db:migrate

or:

rails server

or whatever you want.

Cheers,
John

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