문제

Running Heroku ps is not giving me the expected outcome of bundle exec unicorn -p $PORT -c ./config/unicorn.rb but the regular bin/rails server -p $PORT -e $RAILS_ENV, despite my having a Procfile with the following:

web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb

and the appropriate unicorn.rb file setup.

When I run Heroku run bash the Procfile is not listed.

도움이 되었습니까?

해결책

Got it - just needed to change my gemfile as follows:

WHEN GETTING THE ERROR:

group :development do
  gem 'sinatra', '>= 1.3.0', :require => nil
end

ERROR FIXED WITH:

gem 'sinatra', require: false
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top