Bundler is a ghost - it uses a gem, but the passenger returns a GemNotFoundError

I am using Rails 2.3.11 and Bundler 1.0.10.

Passenger returns an error

Could not find addressable-2.2.4 in any of the sources (Bundler::GemNotFound)

I installed manually addressable 2.2.4, and I linked it to gem 'addressable', '2.2.4'did bundle install, but bundler said Using addressable (2.2.4).

There is still an error above.

I am using Passenger as an Apache2 module. I am using RVM with Ruby 1.9.2. The passenger works from 1.8.7. Even switching Ruby to 1.8.7 using RVM does not solve the problem.

+5
source share
2 answers

Along with what Zachary said, make sure you have the right gemset choice, be sure to run

bundle install

. Padrino, , ( , gemset).

+2

RVM, , gemset .

rvm gemset list

gemset , .

rvm gemset use nameOfGemsetForYourProject

RVM - , , .

, gemset, , "" , "gem list"

+1

All Articles