-
Notifications
You must be signed in to change notification settings - Fork 381
heroku is not part of the bundle #173
Comments
@et thats no good. Sorry for the delay in response. Are you still seeing this issue? |
@geemus I am seeing this issue as well with Bundler 1.0.21 and Heroku 2.17.0. It only appears to happen when I am in the root of another project which has a Gemfile. Adding Heroku to the development group is a quick workaround Thanks |
@amarraja - thanks for the specific feedback on how you are reproducing it. Are either of you using binstubs or anything like that (ie non-default bundler args in your projects). When I naively try to just go to someplace with a Gemfile that doesn't include bundler in my folders and run commands I'm not managing to get the same behavior as either of you. Also, what operating system are you guys on? |
@geemus I just tried to recreate this and it was as simple as creating a new rails app, changing to the directory and running heroku. I have put the app I just made here: https://github.com/amarraja/bundler-heroku so you can try with the same copy. I am on OSX and using RVM, mainly with my global gemset. I also tried with a fresh rvmrc so everything has to be installed again, and still got the same issue. I will try and have a play and see if I can get more info. Let me know if there is anything else I can get which will help Cheers |
@amarraja I couldn't reproduce this on my machine with your repo or with a fresh rails app. I suspect you may have other non-default behavior, are you perhaps using bundler-exec in your bash profile stuff? (see: https://github.com/gma/bundler-exec). That would automatically prepend |
@geemus that seems correct, I tried in a VM and it worked. I normally use |
Found it. I use the oh-my-zsh package, and it appears the bundler plugin wraps certain commands, one of which is I will send a pull request to removing this. Thanks again! |
@amarraja great, thanks for the update. |
This was very helpful! Many thanks |
Thanks for the fix guys, just had the same problem, seems it still hasn't been fixed in the bundler plugin. |
@gilesbutler thanks for the reminder! I have just submitted a pull request: ohmyzsh/ohmyzsh#1138 |
I also experienced this problem and had an old version of the heroku binary sitting around in my rvm gemset that would use bundler. Once I uninstalled the old gem and made sure I was using /usr/bin/heroku, everything was fine. |
The heroku command should not be executed via bundler, see: heroku/legacy-cli#173
The heroku command should not be executed via bundler, see: heroku/legacy-cli#173
I did something that seemed to put heroku in a bad state, but I'm quite sure what. Whenever I try to issue a heroku command, I receive the following error:
This occurs with both bundler 1.0.21 and 1.1rc, so I suspect that it's the heroku gem that's the issue and not bundler.
The text was updated successfully, but these errors were encountered: