I've seen a few other issues for this, tried their recommendations, none of them worked for me.
I've been using Rails for about a year, just started a new Rails project, and suddenly having issues. I uninstalled and tried reinstalling all of Ruby and Rails. Ruby is fine, but not Rails.
When I enter rails s
, I get the can't find gem railties
. My current Ruby version is ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin15]
, even though I've been trying to set ruby 2.3.0 through rbenv.
If I try rails -v
to see what version I'm running, I get the same error. I'm using Mac OS X El Capitan version 10.11.6.