0

Whenever I run rails s I get:

Could not find multi_json-1.11.0 in any of the sources Try running bundle install.

Running bundle install in turn gives me:

Fetching source index from https://rubygems.org/
Updating git://github.com/rails/activerecord-session_store.git
fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
Retrying git fetch --force --quiet --tags 'git://github.com/rails/activerecord-session_store.git' "refs/heads/*:refs/heads/*" due to error (2/3): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags 'git://github.com/rails/activerecord-session_store.git' "refs/heads/*:refs/heads/*"` in directory /usr/local/rvm/gems/cache/bundler/git/activerecord-session_store-cf0cfe22b7614cc4fcd416e139ff2bd62ebd6f1d has failed.
If this error persists you could try removing the cache directory '/usr/local/rvm/gems/ruby-2.1.2@global/cache/bundler/git/activerecord-session_store-cf0cfe22b7614cc4fcd416e139ff2bd62ebd6f1d'
fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
Retrying git fetch --force --quiet --tags 'git://github.com/rails/activerecord-session_store.git' "refs/heads/*:refs/heads/*" due to error (3/3): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags 'git://github.com/rails/activerecord-session_store.git' "refs/heads/*:refs/heads/*"` in directory /usr/local/rvm/gems/cache/bundler/git/activerecord-session_store-cf0cfe22b7614cc4fcd416e139ff2bd62ebd6f1d has failed.
If this error persists you could try removing the cache directory '/usr/local/rvm/gems/ruby-2.1.2@global/cache/bundler/git/activerecord-session_store-cf0cfe22b7614cc4fcd416e139ff2bd62ebd6f1d'
fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
Git error: command `git fetch --force --quiet --tags
'git://github.com/rails/activerecord-session_store.git'
"refs/heads/*:refs/heads/*"` in directory
/usr/local/rvm/gems/cache/bundler/git/activerecord-session_store-cf0cfe22b7614cc4fcd416e139ff2bd62ebd6f1d
has failed.
If this error persists you could try removing the cache directory
'/usr/local/rvm/gems/ruby-2.1.2@global/cache/bundler/git/activerecord-session_store-cf0cfe22b7614cc4fcd416e139ff2bd62ebd6f1d'

Any help is appreciated.

Jon Egeland
  • 12,470
  • 8
  • 47
  • 62

1 Answers1

0

Based on the additional information in your comments I think this is probably a spring caching issue, try stopping spring with: spring stop and then retry running your app

Vedprakash Singh
  • 522
  • 8
  • 22