You'll have to give a bit more information than that if you want any
useful help.
Do you have rvm installed and working? Does your installation pass the
"type rvm | head -1" test?
How then did you install ruby? And rails? What do you see when you
type "ruby -v"? And "rails -v"?
What do you mean by "S.O."?
John
> all the time that I need to use "rake db:migrate" I type "rvm rake
> db:migrate" isn't it?
No -- just `rake db:migrate` will work.
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
I believe that normally rvm would not be used in root mode, that is
part of the point I think. It allows ruby and gems to be installed on
a per-user basis.
Colin
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.