工头找不到耙子任务;错误:未找到rake任务'

时间:2013-01-31 01:31:12

标签: ruby-on-rails jruby foreman

使用Foreman在我的rails应用程序上使用Ruby 1.9.3就好了。切换到JRuby,现在,作为一个例子,得到:

18:22:16 solr.1 | /home/scott/.rvm/gems/jruby-1.6.8@jruby168-unicon/gems/foreman-0.47.0/bin/foreman-runner: 32: exec: bundle exec rake sunspot:solr:run: not found

当我在命令行上独立运行bundle exec rake sunspot:solr:run时,它运行得很好

Procfile:

web: puma
solr: bundle exec rake sunspot:solr:run
redis: redis-server ./config/redis.conf
sidekiq: bundle exec sidekiq -c $SIDEKIQ_CONCURRENCY -q report -q publish_item -q audio -q import -q email -q enrollment -q bugsnag
bunchball: bundle exec sidekiq -c 2 -q bunchball
sidekiq_solr: bundle exec sidekiq -c 1 -q solr

1 个答案:

答案 0 :(得分:1)

您已在Jruby中安装bundler

gem install bundler
相关问题