Katie M
Katie M

Reputation: 1131

Rails 3 / Passenger - uninitialized constant Bundler

running: ruby 1.8.7-p358, rails 3.0.3, rvm 1.10.3, passenger, apache

I copied a rails project directory from one server to another. Created its database - imported dump.sql, Updated apache.conf for passenger link, ran touch tmp/restart.txt

Receiving error:

uninitialized constant Bundler 

I have already tried:

'gem install bundler'
'bundle install' 
 deleting Gemfile.lck file, 'bundle install'

Any other ideas? Thanks in advance.

Upvotes: 0

Views: 379

Answers (2)

James Brooks
James Brooks

Reputation: 658

You mentioned you're using RVM, have you tried any of the steps listed here: https://rvm.io/integration/passenger/ ?

Upvotes: 2

konyak
konyak

Reputation: 11736

Check file permission of the bundle executable after you installed the bundler gem. For me, the executable is located at /usr/local/bin.

Upvotes: 0

Related Questions