Heroku删除Gemfile.lock,因为它是在Windows上生成的
发布时间:2020-12-14 01:56:53 所属栏目:Windows 来源:网络整理
导读:有没有人对这个有任何想法?试图部署到heroku.我能够成功启动到heroku但我怀疑这个警告可能是我得到遗憾的事情出错的原因.对此的任何意见将不胜感激.顺便说一下,我认为这是一个 Windows问题.说实话,这是我的第一次破解,到目前为止它一直很有趣,但如果这是无
有没有人对这个有任何想法?试图部署到heroku.我能够成功启动到heroku但我怀疑这个警告可能是我得到遗憾的事情出错的原因.对此的任何意见将不胜感激.顺便说一下,我认为这是一个
Windows问题.说实话,这是我的第一次破解,到目前为止它一直很有趣,但如果这是无意义的我要处理尝试在Windows上开发我可能会开始设置一台
Linux机器.我知道会有并发症,但谁知道呢.我以前安装并使用过它,但从未用于开发.有什么想法吗?谢谢!
Ruby 2.0.0 警告: 仅供参考,这是对heroku的全面推动: c:devproject2>git push heroku master Enter passphrase for key '/c/Users/vern/.ssh/id_rsa': Counting objects: 5,done. Delta compression using up to 8 threads. Compressing objects: 100% (3/3),done. Writing objects: 100% (3/3),315 bytes | 0 bytes/s,done. Total 3 (delta 2),reused 0 (delta 0) -----> Ruby app detected -----> Compiling Ruby/Rails -----> Using Ruby version: ruby-2.0.0 -----> Installing dependencies using Bundler version 1.3.2 Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin Fetching gem metadata from https://rubygems.org/........... Fetching gem metadata from https://rubygems.org/.. Resolving dependencies... Using rake (10.1.0) Using i18n (0.6.5) Using minitest (4.7.5) Using multi_json (1.8.2) Using atomic (1.1.14) Using thread_safe (0.1.3) Using tzinfo (0.3.38) Using activesupport (4.0.0) Using builder (3.1.4) Using erubis (2.7.0) Using rack (1.5.2) Using rack-test (0.6.2) Using actionpack (4.0.0) Using mime-types (1.25.1) Using polyglot (0.3.3) Using treetop (1.4.15) Using mail (2.5.4) Using actionmailer (4.0.0) Using activemodel (4.0.0) Using activerecord-deprecated_finders (1.0.3) Using arel (4.0.1) Using activerecord (4.0.0) Using bundler (1.3.2) Using coffee-script-source (1.6.3) Using execjs (2.0.2) Using coffee-script (2.2.0) Using thor (0.18.1) Using railties (4.0.0) Using coffee-rails (4.0.1) Using hike (1.2.3) Using jbuilder (1.5.2) Using jquery-rails (3.0.4) Using json (1.8.1) Using mysql2 (0.3.14) Using tilt (1.4.1) Using sprockets (2.10.1) Using sprockets-rails (2.0.1) Using rails (4.0.0) Using rails_serve_static_assets (0.0.1) Using rails_stdout_logging (0.0.3) Using rails_12factor (0.0.2) Using rdoc (3.12.2) Using sass (3.2.12) Using sass-rails (4.0.1) Using sdoc (0.3.20) Using turbolinks (1.3.1) Using uglifier (2.3.1) Your bundle is complete! It was installed into ./vendor/bundle Bundle completed (9.55s) Cleaning up the bundler cache. -----> Writing config/database.yml to read from DATABASE_URL -----> Preparing app for Rails asset pipeline Running: rake assets:precompile Asset precompilation completed (2.58s) Cleaning assets —–> WARNINGS: Removing `Gemfile.lock` because it was generated on Windows. Bundler will do a full resolve so native gems are handled properly. This may result in unexpected gem versions being used in your app. -----> Discovering process types Procfile declares types -> (none) Default types for Ruby -> console,rake,web,worker -----> Compiled slug size: 21.1MB -----> Launching... done,v12 http://fast-lake-6950.herokuapp.com deployed to Heroku To git@heroku.com:fast-lake-6950.git c81423c..01c6a2d master -> master 解决方法
您的Gemfile.lock文件可能包含
PLATFORMS ruby x86-mingw32 你需要删除 x86-mingw32 因为它与heroku很好地配合.您的Gemfile.lock中可能存在与删除该行相冲突的行,例如你可能已经为windows安装了单独版本的mysql2 gem. mysql2 (0.3.11-x86-mingw32) mysql2 (0.3.14) 您可能需要删除引用gem的仅Windows版本的行.为此,您可能需要删除Gemfile中导致bundler安装该gem的行. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- active-directory – 当您授予用户管理员访问权限时,SBS 20
- windows-server-2008 – IIS可以从GPU核心创建线程吗?
- windows-7 – 删除某些文件位于Windows 7上的“准备回收”?
- windows – 从技术上讲,我可以在DHCP服务器上使用DHCP吗?
- Debug程序的使用
- 在Windows和Linux上使用Java 8的Tomcat 7
- windows版mysql添加远程访问
- windows-server-2012 – 我的DC可以用作远程桌面授权服务器
- winapi – 为商业应用程序挂钩Win32 API的推荐方法是什么?
- 在Windows中,应用程序事件日志中有哪些默认事件源可用?
推荐文章
站长推荐
- 在Powershell中远程启动进程,在Windows中获得%E
- windows-phone-7 – 在Windows Phone 8中,我不断
- 我的本地主机现在变得很慢,因为我在Windows 7和A
- windows-server-2008 – Exchange Server 2007安
- windows-server-2012 – 从Windows Server 2012
- 获取Windows代理用户名/密码
- iis – 此时服务无法接受控制消息
- windows-server-2003 – 如何在Server 2003上无限
- [问八系列] Windows 8 开发 (4): 分离检视型应用
- .net – Mono Cecil vs. PostSharp Core与Micros
热点阅读