Michael Stark
Michael Stark

Reputation: 645

no such file to load -- bundler/setup in Rails 3.2 with Passenger

I'm running a vserver on apache2 with passenger. Using RVM for ruby. Ruby Version -> 1.9.3p194 Rails Version -> 3.2.3 Set up by Apache Virtual Host Configuration ...

Now, when I'm entering the url into my browser, a passenger error page shows up:

no such file to load -- bundler/setup

I have no idea what to do now. Can someone help me?

Upvotes: 2

Views: 3864

Answers (2)

Samy Dindane
Samy Dindane

Reputation: 18706

Create a .htaccess in your root dir and use it to specify the GEM_PATH.

For example:

SetEnv GEM_PATH /home/dinduks/.rvm/gems/ruby-1.9.3-p0

Upvotes: 3

Fredrik Leijon
Fredrik Leijon

Reputation: 2802

looks like the bundler gem isn't in your path or isn't installed

Upvotes: 0

Related Questions