Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/63.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 无法运行';heroku local';:找不到绑定器_Ruby On Rails_Heroku_Gem_Bundler_Procfile - Fatal编程技术网

Ruby on rails 无法运行';heroku local';:找不到绑定器

Ruby on rails 无法运行';heroku local';:找不到绑定器,ruby-on-rails,heroku,gem,bundler,procfile,Ruby On Rails,Heroku,Gem,Bundler,Procfile,我正在尝试运行新的heroku local命令,该命令是heroku工具包的一部分,详细信息如下: 我已经为我的Ruby on Rails应用程序设置了一个简单的Procfile: web: bundle exec rails server 本地服务器无法启动;似乎找不到已安装的gems: forego | starting web.1 on port 5000 web.1 | C:/Program Files (x86)/Heroku/ruby-1.9.2/lib/ruby/site_r

我正在尝试运行新的
heroku local
命令,该命令是heroku工具包的一部分,详细信息如下:

我已经为我的Ruby on Rails应用程序设置了一个简单的Procfile:

web: bundle exec rails server
本地服务器无法启动;似乎找不到已安装的gems:

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)
我已经运行了
捆绑安装
,那么forego是不是找错地方了?我怎样才能纠正这个问题


非常感谢您的帮助

您必须使用git bash命令提示符


Git bash是作为Git for Windows的一部分安装的。您可以下载并安装Git for Windows。

您正在使用命令提示符?@PareshGami Yes。这是个问题吗?我在运行windows,嗯
git base
是一个git命令,而不是一个独立的命令提示符?我已经安装了git,明白了。使用
gitbash
很有魅力,谢谢。我会更新你的答案。