I'm deploying to heroku with the multi-buildpack on the cedar stack using a custom procfile:
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
When I boot my console with heroku run console
I get LoadError: cannot load such file -- ./console
and a virgin irb session.
How can I initialize the console with rails and my application environment loaded?
So running
irb
is obviously wrong. What I needed wasconsole: bundle exec rails console