Skip to content
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

Ensure RBENV_DIR is an absolute path only if it was absolute to begin with #112

Closed
wants to merge 2 commits into from
Closed

Conversation

carsomyr
Copy link
Contributor

@carsomyr carsomyr commented Oct 3, 2011

The recent rbenv updates are causing troubles for my rbenv-bundler plugin. I've isolated the problem to the abs_dirname function, which is being (ab)used to convert relative pathnames to absolute ones. Unfortunately, that means absolute pathnames like RBENV_DIR=/a/b/c get converted to RBENV_DIR=/a/b. I also made a change that prevents sourcing plugins twice by only expanding RBENV_HOOK_PATH once.

@peterhoeg
Copy link
Contributor

I was hitting this issue too. Bundler would complain that the various gems were not installed despite being visible with "bundler list" and "gem list".

@carsomyr
Copy link
Contributor Author

How does RBENV_DIR control Bundler behavior?

@carsomyr
Copy link
Contributor Author

I came up with a workaround which supersedes this pull request.

@carsomyr carsomyr closed this Nov 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants