Bundler::GemNotFound: Could not find multi_json-1.0.4 in any of the sources #278

alanhogan opened this Issue Apr 20, 2012 · 11 comments


None yet
10 participants

In one of my Rails apps, I’m getting:

Error starting application

Your Rack app raised an exception when Pow tried to run it.

   Bundler::GemNotFound: Could not find multi_json-1.0.4 in any of the sources
   ~/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.1.3/lib/bundler/spec_set.rb:90:in `block in materialize'

Interesting / Details / Tried:

  • This happens in one (big, complex) rails app, and not in another one.
  • This one has an .rvmrc file and the other app does not.
  • I have no problems running the app outside of pow with rackup -p 3000 (or just bundle exec rails s).
  • I am using Pow + Apache.
  • I am using the latest bundler and rvm.

Identical setup.

Attempts :

  1. Reinstalled gemset
  2. Reinstalled app
  3. Reinstall PoW

Same error.

tyre commented Apr 26, 2012

I'm getting the same error but with money-rails instead of multi-json. Reset gem set, uninstalled/reinstalled Pow, bundled, and tried to link using a different name. Nothing, same error, unusable.

Does the solution in 37signals#271 (comment) work?

I didn’t try that particular solution because I don’t really understand it and it sounds like it would mean not using RVM. The project in question does use RVM and has an .rvmrc file.

What that solution does is to dump RVM generated shell environment variables into a file .powenv, so that Pow can use the exact environment that RVM ought to have provided.

Consider this 37signals#236. It looks like native RVM support is going to be depreciated/removed.


rvm env . -- --env > .powenv

does fix it for me.

jbui commented Jun 2, 2012

@tilsammans that worked for me.


sstephenson commented Jun 4, 2012

Fixed in master.

@sstephenson sstephenson closed this Jun 4, 2012

Not sure why this happened, but I ran into the same issue with pow, @tilsammans solution worked for me. I have a new mac laptop and created the app using the rails app composer... just an FYI.

vitkoz commented Feb 13, 2013

@tilsammans solution worked for me

knagode commented Jan 26, 2016

I have the same problem. I fix it with

bundle install --path vendor

But it doesn't look the right way to do it ..

I also tried with :

 rvm env . -- --env > .powenv 

but it returns:

 Unrecognized command line argument(s): '. --env' ( see: 'rvm usage' )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment