質問

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