正在将画布部署到服务器上,当我运行命令 RAILS_ENV=production bundle exec rake canvas:compile_assets 时出现错误:
LoadError: cannot load such file -- parallel
/var/www/prod/shared/bundle/ruby/1.9.1/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
要求' /var/www/prod/shared/bundle/ruby/1.9.1/gems/polyglot-0.3.5/lib/polyglot.rb:65:inrequire'
/var/www/prod/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in
块中的要求' /var/www/prod/shared/bundle /ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:inload_dependency'
/var/www/prod/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in
需要' /var/www/prod/releases/20141215031227/lib/tasks/canvas.rake:114:inblock (2 levels) in <top (required)>'
Tasks: TOP => canvas:compile_assets
检查并行 gem 的 gem 列表,检查以确认捆绑安装已完成且没有错误。检查了 gemset,权限,我还应该研究什么。