无法 运行 'heroku local': 找不到捆绑器
Cannot run 'heroku local': cannot find bundler
我正在尝试 运行 作为 heroku 工具包一部分的新 heroku local
命令,详情如下:
https://devcenter.heroku.com/articles/heroku-local
我在 Rails 应用上为我的 Ruby 设置了一个简单的 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
,forego是不是找错地方了?我该如何纠正?
不胜感激!
您必须使用 git-bash 命令提示符。
Git-bash 作为 Windows 的 Git 的一部分安装。您可以为 Windows here.
下载并安装 Git
我正在尝试 运行 作为 heroku 工具包一部分的新 heroku local
命令,详情如下:
https://devcenter.heroku.com/articles/heroku-local
我在 Rails 应用上为我的 Ruby 设置了一个简单的 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
,forego是不是找错地方了?我该如何纠正?
不胜感激!
您必须使用 git-bash 命令提示符。
Git-bash 作为 Windows 的 Git 的一部分安装。您可以为 Windows here.
下载并安装 Git