-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`bin_path': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException) #9
Comments
After some digging around, it seems that commands spawned via |
Hi! It definitely should inherit the environment of the parent process. My teammates use different ruby version managers (rbenv, RVM, chruby), but no one has faced an issue like yours. Could you check if the command works well when launched inside of tmux like that Also, could you give me the output of |
I had the same problems with gem_home. I migrate from gem_home (long time awaited) to direnv. That way every new shell exports right paths. |
Apologies for the late reply.
and the diff: $ diff no-overmind overmind
4c4
< - INSTALLATION DIRECTORY: /Users/agis/.gem/ruby/2.3.3
---
> - INSTALLATION DIRECTORY: /Users/agis/.rubies/ruby-2.3.3/lib/ruby/gems/2.3.0
7c7
< - EXECUTABLE DIRECTORY: /Users/agis/.gem/ruby/2.3.3/bin
---
> - EXECUTABLE DIRECTORY: /Users/agis/.rubies/ruby-2.3.3/bin
14d13
< - /Users/agis/.gem/ruby/2.3.3
15a15
> - /Users/agis/.gem/ruby/2.3.0 Running the command with tmux exits immediately, not sure if that should be the case: $ tmux new bundle exec rails c
[exited] Note that the command works when I'm already inside a tmux session (ie. |
Apparently my |
@agis my first thought when seeing that is that tmux isn't starting a login shell (which, iirc, doesn't source those files normally). It may be possible to work around this by forcing tmux to use a login shell. EDIT: I've been running into similar problems trying to set up overmind. I've been playing around with my tmux conf, but haven't gotten anywhere yet... EDITx2: I think I might have found part of my problem. I use byobu normally and something about its tmux config must screw with Overmind. Oddly, my windows normally spawn a login shell but don't when using Overmind. |
@agis @chall8908 Could you try the latest release? |
@DarthSim I had this issue too using |
The latest version works fine! Thanks! |
Hello people , i'm having the same error, but i think it's caused by something else. When i try to start my rails server , i get this :
I thought it is because some wrong paths.When i call $PATH , it returns me:
when i check which ruby , it displays " /Users/user/.rvm/rubies/ruby-2.4.0/bin/ruby" This is my GEM ENV paths, i hope some of them could help for the finding of a solution for the problem.
I looked through every article i find in stackoverflow and there is nothing i could find to remove my problem... I use macOS Sierra 10.12 P.S Sorry for my bad formatting of the code. |
#127 seems related to this issue! |
Hello.
I'm using overmind 1.0.8.2 and I'm running into the following issue (whereas
hivemind
works fine):I'm using ruby 2.3 with chruby along with the relevant activation steps in my
~/.bash_profile
, notably:I'm doing this from within an existing tmux session. However I also tried outside of a tmux session.
Again,
hivemind
works fine.Thanks in advance!
The text was updated successfully, but these errors were encountered: