Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Gem bin files shebang point to a specific ruby binary #4

Closed
ysbaddaden opened this issue May 23, 2013 · 2 comments
Closed

Gem bin files shebang point to a specific ruby binary #4

ysbaddaden opened this issue May 23, 2013 · 2 comments

Comments

@ysbaddaden
Copy link

I first installed ruby 2.0.0-p0 and installed gems. Then 2.0.0-195 was released, I installed it and eventually removed 2.0.0-p0. All that with the communal gems plugin.

Since the bundle command didn't work anymore, I noticed that (almost) all bin files located in ~/.rbenv/gems/2.0.0/bin have a shebang pointing to a ruby binary, like #!/home/julien/.rbenv/versions/2.0.0-p0/bin/ruby, instead of the generic #! /usr/bin/env ruby.

I suppose that shouldn't happen?

@tpope
Copy link
Owner

tpope commented May 23, 2013

Certainly not the intent. Did you have it installed before #3 was resolved?

@ysbaddaden
Copy link
Author

Damn I did have an install: line in my gemrc. I added --env-shebang to the install update lines and it fixed the problem. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants