加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ruby-on-rails – 在heroku上部署rails app

发布时间:2020-12-17 03:46:12 所属栏目:百科 来源:网络整理
导读:我正在学习RoR并尝试将我的测试应用程序部署到heroku接收下一个错误: Unresolved dependencies detected; Installing... Using --without developmen You have modified your Gemfile in development but did not check the resulting snapshot (Gemfile.lo
我正在学习RoR并尝试将我的测试应用程序部署到heroku接收下一个错误:

Unresolved dependencies detected; Installing...
   Using --without developmen
   You have modified your Gemfile in development but did not check
   the resulting snapshot (Gemfile.lock) into version control

   You have added to the Gemfile:
   * therubyracer (~> 0.9.3.beta1)
   * pg
   FAILED: http://devcenter.heroku.com/articles/bundler

! Heroku推被拒绝,未能通过Bundler安装宝石

请!救命!

解决方法

你有没有提交你的Gemfile.lock?

bundle install 
git add Gemfile.lock
git commit -am "Add lock file"
git push heroku master

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读