Kurt Mueller
Kurt Mueller

Reputation: 3224

Trying to start rails console in rails app root gives me the

I'm in the root of my Rails app and have attempted to start the rails console a various number of ways, including rails c, bundle exec rails c, spring rails c, and bin/rails c to no avail. It simply returns the a message as if I had just typed in rails without any arguments.

Here's the message I get:

>  rails c
Usage:
  rails new APP_PATH [options]

I've used RVM to uninstall and reinstall my ruby version and have uninstalled and reinstalled my gemset.

I suspect it has something to do with spring but can't quite put my finger on it.

Upvotes: 0

Views: 65

Answers (1)

Kurt Mueller
Kurt Mueller

Reputation: 3224

So after stumbling across these two stack overflow posts, #1, #2, which directed me to this Github issue in the rails repo.

Basically, running rake rails:update:bin generated new bins that ended up solving my problem.

Upvotes: 1

Related Questions