No Method Error when trying to run rails server on Cloud9

rails
workspace
ruby
server

#1

Hi,

I am a new to development and ruby on rails and am following the Hartl tutorial on setting up RoR in Cloud9. I have run the bundler and updated the gemfile but everytime I try and run the server $ rails server -b $IP -p $PORT I get the following error:

I would appreciate if you could diagnose ASAP

Thanks

T


#2

Did you run bundle install on your application to install all dependencies?


#3

Hi @BigChief45,

I found I had to sudo gem uninstall rails and then gem install rails

Update to rails -v 5.0.3

Then I was able to bundle install and finally connect to the server

Thank you very much