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

rbenv/ruby/bundler error on bundle install #586

Closed
stevensona opened this issue Jun 25, 2016 · 3 comments
Closed

rbenv/ruby/bundler error on bundle install #586

stevensona opened this issue Jun 25, 2016 · 3 comments
Labels

Comments

@stevensona
Copy link

stevensona commented Jun 25, 2016

Hi. Not sure if this is the correct place to post this, but I ran into this issue and thought others may benefit from hearing what I did to fix it.

Fresh install of Bash on Windows 14371.rs1_release.160617-1723. Install rbenv latest, ruby 2.3.1, and bundler latest. Any attempt to run bundle fails with the following error: "ArgumentError: parent directory is world writable but not sticky". Following advice in this comment, I was able to resolve the issue by running the command find ~/.bundle/cache -type d -exec chmod 0755 {} +

@lateau
Copy link

lateau commented Jul 2, 2016

I think this caused by umask 0000 on fresh WSL.
This is what I'm doing:

$ tail -n1 ~/.bashrc
umask 0022

@Tset-Noitamotua
Copy link

I reported a [similar issue on bundlers issue tracker](https://github.com/bundler/bundler/issues/4887) ... maybe its related.

@therealkenc
Copy link
Collaborator

Going to call @lateau's explanation authoritative.

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

No branches or pull requests

6 participants