相关疑难解决方法(0)

Gemfile.lock未签入 - Heroku

在尝试"git push heroku master"时,我不断收到错误消息:

Counting objects: 266, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (239/239), done.
Writing objects: 100% (266/266), 222.68 KiB, done.
Total 266 (delta 55), 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
-----> Gemfile detected, running Bundler version 1.0.3
       Unresolved dependencies detected; Installing...
       Using --without development:test
       You have modified your Gemfile in development but did not check …
Run Code Online (Sandbox Code Playgroud)

git ruby-on-rails heroku bundler

22
推荐指数
4
解决办法
1万
查看次数

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 ×2

heroku ×2

git ×1

ruby-on-rails ×1

ruby-on-rails-3 ×1