I am trying to build ROR application for which I wrote rails fist_app command in terminal. I didn’t find gemfile in folder fist_app. When goggled, found Stackoverflow answer for this problem which suggest to update rails.
But when I update rails version it shows nothing to update. Here is a screen-shot.
Please suggest some solution for this problem. Thanks
You have rails installed as Ubuntu package, not as a gem, so you can’t update it. Uninstall the rails package (
sudo apt-get remove rails) and then install it again as a gem:gem install rails.UPDATE: I’m not 100% sure it will work though, because
gemis also installed as Ubuntu package. It’s better to set up everything (ruby, gem and rails) through RVM. Here’s a tutorial: http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/