Somehow the bundle shows the gem, but the rails server command is not available. Running bundle exec rails s
is the only way to get rails to start. This is weird, since I'm working on the right gemset and have installed the rails gem to that gemset.
➜ myproject git:(staging) ✗ bundle show rails
/Users/me/.rvm/gems/ruby-2.4.4@myproject24/bundler/gems/rails-3804d017333d
➜ myproject git:(staging) ✗ rails s
Rails is not currently installed on this system. To get the latest version, simply type:
$ sudo gem install rails
You can then rerun your "rails" command.
➜ myproject git:(staging) ✗ bundle exec rails s
=> Booting Thin