I just did this command to install Rails:
gem install rails
And it seems to have run fine and installed things.
Then as I followed this tutorial: http://guides.rubyonrails.org/getting_started.html it said to do this command:
rails new blog
Which I did and it gave me this error:
The program 'rails' is currently not installed. You can install it by typing:
sudo apt-get install rails
Any idea why this might be the case? I thought rails was supposed to begin working automagically :)
I did this command:
rvm gemdir
And it gave me this result:
RubyGems Environment:
- RUBYGEMS VERSION: 1.6.2
- RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [i686-linux]
- INSTALLATION DIRECTORY: /home/agenadinik/.rvm/gems/ruby-1.9.2-p180
- RUBY EXECUTABLE: /home/agenadinik/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
- EXECUTABLE DIRECTORY: /home/agenadinik/.rvm/gems/ruby-1.9.2-p180/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /home/agenadinik/.rvm/gems/ruby-1.9.2-p180
- /home/agenadinik/.rvm/gems/ruby-1.9.2-p180@global
Should there be something like this:
EXECUTABLE DIRECTORY: /usr/bin