2014-11-14 78 views
0

我部署到Heroku的与multi-buildpack使用自定义procfile雪松堆栈:如何使用多buildpack在Heroku上启动rails控制台?

web: bundle exec unicorn -p $PORT -E $RACK_ENV -c ./config/unicorn.rb 
worker: bundle exec sidekiq -e production -C config/sidekiq.yml 
console: bundle exec irb -r ./console 

当我启动我的控制台heroku run console我得到LoadError: cannot load such file -- ./console和处女IRB会话。

如何初始化带有导轨的控制台并加载了我的应用程序环境?

回答

0

因此运行irb显然是错误的。我需要的是console: bundle exec rails console

相关问题