Heroku Toolbelt install problems

三世轮回 提交于 2019-12-20 03:33:01

问题


I uninstalled the heroku gem and installed the Heroku Toolbelt and am running into issues getting it working w/ RVM.

heroku version command works everywhere except my current project folder.

In my project folder I get

'/Users/cmalpeli/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/rubygems_integration.rb:223:in 'block in replace_bin_path': can't find executable heroku (Gem::Exception) from ./bundler_stubs/heroku:16:in`

Running which heroku in my project directory returns:

./bundler_stubs/heroku

everywhere else it returns

/usr/bin/heroku

I'm sure it has something to do w/ RVM - but I don't quite understand how that works, so would appreciate a bit of help.

Thanks!


回答1:


make sure heroku is not part of your Gemfile - it should not be there.

then remove ./bundler_stubs/heroku:

rm -f ./bundler_stubs/heroku

it is possible that ./bundler_stubs/heroku is part of your project and was committed by one of your coworkers, the stubs should not be part of the project.



来源:https://stackoverflow.com/questions/13674686/heroku-toolbelt-install-problems

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!