Ruby on Rails 3 + Apache2 + Phusion Passenger:Bundler :: GemNotFound异常

Rég*_* B. 12 ruby ruby-on-rails apache2 passenger bundler

我正在尝试使用Phusion Passenger在Apache2服务器上部署Rails应用程序.虽然一切都在本地运行良好,但我在部署时遇到臭名昭着的"Bundler :: GemNotFound"错误:

Could not find abstract-1.0.0 in any of the sources (Bundler::GemNotFound)
Run Code Online (Sandbox Code Playgroud)

我的所有宝石都安装在我的本地主文件夹中.因此,我的Apache2配置文件中的乘客配置行如下:

LoadModule passenger_module /home/regis/.gem/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
PassengerRoot /home/regis/.gem/gems/passenger-3.0.7
PassengerRuby /usr/bin/ruby1.8
Run Code Online (Sandbox Code Playgroud)

我知道您需要更多信息来分析手头的问题,但我不知道如何进一步诊断这个问题.

kob*_*ltz 33

试着做 bundle install --path vendor/cache