我正在遵循railstutorial.org上的指南。当我输入标题中的命令时,出现了以下错误。
对象计数:66,完成。 使用最多2个线程进行增量压缩。 正在压缩对象:100%(52/52),完成。 正在写入对象:100%(66/66),86.47 KiB,完成。 总共66个(delta 3),重用0个(delta 0)
-----> Heroku接收推送 -----> 检测到Rails应用程序 -----> 检测到Rails未设置为服务静态资源 安装rails3_serve_static_assets...完成 -----> 检测到Gemfile,运行Bundler版本1.0.0 发现未解决的依赖项;正在安装... 您已在开发中修改了Gemfile,但未将生成的快照(Gemfile.lock)检入版本控制
You have added to the Gemfile:
* sqlite3-ruby (= 1.3.7)
You have deleted from the Gemfile:
* sqlite3-ruby (= 1.2.5)
FAILED: http://docs.heroku.com/bundler
! Heroku推送被拒绝,无法通过Bundler安装gems
错误:hooks/pre-receive退出并带有错误代码1 To git@heroku.com:morning-mountain-34.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'git@heroku.com:morning-mountain-34.git'
然后当我输入:
$ heroku open
我得到一个山景网站:http://morning-mountain-34.heroku.com/,这不应该是这种情况:应该是first_app