Skip to content

Add binstubs to PATH #109

croaky opened this Issue Feb 25, 2013 · 3 comments

3 participants

thoughtbot, inc. member
croaky commented Feb 25, 2013

Necessary for use with rbenv. thoughtbot/laptop@3aeb5b5

Proposed solution:

export PATH=./bin/stubs:$PATH
thoughtbot, inc. member

Not sure if I'm just being paranoid but this could potentially open up some nasty issues. I've been using @tpope's suggestion outlined in a tweet from Feb 2012 (, corresponding code in my dotfiles) to add bin/stubs relative to a .git/safe directory. While this requires you to mkdir .git/safe in projects you work on, I prefer feeling better about my $PATH and spending the additional one or two seconds to authorize binstubs per project.

thoughtbot, inc. member
jferris commented Feb 26, 2013

I think that kind of paranoia is completely valid in a server setup, but I've never felt the need to be so protective of my development machine. This is one of those cases where I'd prefer convenience over safety given the relatively low risk involved.

thoughtbot, inc. member
croaky commented Dec 31, 2013

I believe this is is superseded by #191

@croaky croaky closed this Dec 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.