no such file to load — bundler/setup in Rails 3.2

2019-02-25 20:49发布

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?

2条回答
三岁会撩人
2楼-- · 2019-02-25 21:15

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
查看更多
戒情不戒烟
3楼-- · 2019-02-25 21:33

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

查看更多
登录 后发表回答