我在Mac上,Maverick。
几个星期后(我认为它是从Maverick安装开始的,但我不确定),Toolbelt不再适用了。
当我运行heroku命令时,收到此错误消息:
/usr/local/rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'heroku' (>= 0) among 490 total gem(s) (Gem::LoadError)
from /usr/local/rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:307:in `to_spec'
from /usr/local/rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in `gem'
from /usr/local/rvm/gems/ruby-2.0.0-p0@global/bin/heroku:22:in `<main>'
当我用客户端重新安装heroku工具带时,重新启动终端后,它可以工作,但只能在根目录中工作,而且时间不长......
当我做的时候
heroku version, I get: heroku-toolbelt/3.0.1 (x86_64-darwin10.8.0) ruby/1.9.3
当我这样做时
which heroku, I get: heroku: aliased to nocorrect heroku
我的路径没问题。
我该怎么办?
谢谢!