[英]Cannot run 'heroku local': cannot find bundler
我正在尝试运行新的heroku local
命令,该命令是heroku工具包的一部分,在此处详细介绍: https : //devcenter.heroku.com/articles/heroku-local
我为Ruby on Rails应用程序设置了一个简单的Procfile:
web: bundle exec rails server
本地服务器启动失败; 似乎找不到已安装的gem:
forego | starting web.1 on port 5000
web.1 | C:/Program Files (x86)/Heroku/ruby-1.9.2/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs'
: Could not find bundler (>= 0) amongst [bigdecimal-1.1.0, dotenv-0.7.0, foreman-0.63.0
, io-console-0.3, json-1.5.4, mime-types-1.23, minitest-2.5.1, rack-1.5.2, rake-0.9.2.2, rdoc-3.9.5, rest-client-1.6.7, sequel-3.20.0, sinatra-1.0, taps-0.3.24,
thor-0.18.1] (Gem::LoadError)
我已经运行了bundle install
,那么放弃在错误的地方了吗? 我该如何纠正?
帮助将不胜感激!
您必须使用git-bash命令提示符。
Git-bash是作为Windows Git的一部分安装的。 您可以在此处下载并安装Windows版Git。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.