Heroku推雾错误

Heroku push fog error

当我将我的应用程序推送到 heroku 服务器时,发生了以下错误并且没有启动瘦服务器,它在主推送早期工作,但不幸的是它已经停止推送。 Blow 我添加了错误日志,

但在本地主机上它正在运行并启动瘦服务器,那是 heroku 错误吗?

这是我的 Procfile 信息

web: bundle exec thin start -p $PORT

heroku 错误日志

Could not detect rake tasks
ensure you can run `$ bundle exec rake -P` against your app with no  environment variables present
and using the production group of your Gemfile.
This may be intentional, if you expected rake tasks to be run
cancel the build (CTRL+C) and fix the error then commit the fix:
rake aborted!
NameError: uninitialized constant Fog::Service 

/tmp/build_4daef779061b871c10200675ed5cb467/vendor/bundle/ruby/2.0.0/gems/fog-  aws-0.1.2/lib/fog/aws/storage.rb:3:in `<module:Storage>'

我们做了一个小改动来简化要求,这意外地引入了这个问题。我想如果你删除 gemfile 的 require: "fog/aws/storage" 部分,这样它就可以正常使用雾,它应该适合你。另见:https://github.com/fog/fog-aws/issues/83