无法启动Ruby(Rack)应用程序-部署后ubuntu和nginx(1.0.6)上的rails 3.1.0应用程序出现乘客(3.0.9)错误
这里有一个错误,说明没有加载bcrypt。rails应用程序未使用Desive进行身份验证,gem bcrypt不在Gemfile中。有时,Web服务器抛出错误,说spawn server无法启动。gem列表显示bcryptruby 3.0.1和3.0.0都已安装无法启动Ruby(Rack)应用程序-部署后ubuntu和nginx(1.0.6)上的rails 3.1.0应用程序出现乘客(3.0.9)错误,ubuntu,ruby-on-rails-3.1,nginx,passenger,bcrypt,Ubuntu,Ruby On Rails 3.1,Nginx,Passenger,Bcrypt,这里有一个错误,说明没有加载bcrypt。rails应用程序未使用Desive进行身份验证,gem bcrypt不在Gemfile中。有时,Web服务器抛出错误,说spawn server无法启动。gem列表显示bcryptruby 3.0.1和3.0.0都已安装 Ruby (Rack) application could not be started A source file that the application requires, is missing. * It
Ruby (Rack) application could not be started
A source file that the application requires, is missing.
*
It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded.
*
A required library may not installed. Please install all libraries that this application requires.
Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.
Error message:
no such file to load -- bcrypt
Exception class:
LoadError
Application root:
/vol/www/emclab/current
Backtrace:
# File Line Location
0 /vol/www/emclab/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb 240 in `require'
1 /vol/www/emclab/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb 240 in `block in require'
2 /vol/www/emclab/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb 225 in `load_dependency'
3 /vol/www/emclab/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb 240 in `require'
4 /vol/www/emclab/shared/bundle/ruby/1.9.1/gems/activemodel-3.1.0/lib/active_model/secure_password.rb 1 in `'
5 /vol/www/emclab/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/base.rb 2160 in `block in '
6 /vol/www/emclab/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/base.rb 2140 in `class_eval'
7 /vol/www/emclab/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/base.rb 2140 in `'
8 /vol/www/emclab/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/base.rb 31 in `'
9 /vol/www/emclab/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/session_store.rb 77 in `'
10 /vol/www/emclab/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/session_store.rb 51 in `'
cap部署:检查返回:
You appear to have all necessary dependencies installed
对这个问题有什么想法吗?谢谢 有类似的问题。我怀疑这与bcrypt和ubuntu 64位有关。