小编mou*_*fer的帖子

git push heroku失败,因为尝试安装开发宝石.BUNDLE_WITHOUT命令不起作用

发出git push heroku命令后出错.这最初看起来像是要通过使用heroku config命令来捆绑而不需要开发:测试宝石.但是,我在这个类似的文章中讨论过这个命令[ Heroku试图安装开发宝石,即使在我告诉它不要之后 ]它仍然无效.

下面的推送消息中的"使用--without development:test"行似乎表明BUNDLE_WITHOUT配置命令有效,所以这可能是一个gemfile或其他问题?

谢谢!

$ git push heroku
Counting objects: 64, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (42/42), done.
Writing objects: 100% (48/48), 6.03 KiB, done.
Total 48 (delta 15), reused 0 (delta 0)

-----> Heroku receiving push
-----> Rails app detected
-----> Detected Rails is not set to serve static_assets
       Installing rails3_serve_static_assets... done
-----> Configure Rails 3 to disable x-sendfile
       Installing rails3_disable_x_sendfile... done
-----> Configure Rails to log to …
Run Code Online (Sandbox Code Playgroud)

heroku bundler ruby-on-rails-3

3
推荐指数
1
解决办法
3170
查看次数

标签 统计

bundler ×1

heroku ×1

ruby-on-rails-3 ×1