Cannot find Ruby on Rails installed

0

I've managed to install Ruby and the gems install (rvm?) but now I'm stuck actually installing Ruby on Rails.

Every time I execute, gem install rails Terminal says that it's fetching each file and that it successfully installed it:

1 gem installed

However when I then run the rails command, I'm told that it's not installed and to run the gem install rails command again.

I've attempted to install with sudo but the same thing happens. I've restarted after an install and that's not worked.

Ideas?

James

Posted 2012-06-15T10:50:28.043

Reputation: 101

check your $PATH environment variable. – iMom0 – 2012-06-18T15:03:46.193

Do you see it in the gem list? – Simon Perepelitsa – 2012-06-18T16:58:05.290

To help troubleshoot your install, please run the following commands in your terminal ($ is the terminal prompt): $ which rvm $ which ruby $ ruby -v $ gem list – Jason Noble – 2012-06-18T14:01:50.797

Answers

0

First select the "global" RVM gemset by

rvm gemset use global

then install rails and other gems.

gem install rails

Now it works fine.

Amitkumar Jha

Posted 2012-06-15T10:50:28.043

Reputation: 1