This could save keystrokes normally spent on bundle exec. There is a potential security risk in adding ./bin directly to PATH, but Thoughtbot has a clever workaround:
Caveat: it does require running mkdir .git/safe once per trusted project. Would this be more or less confusing to students than simply running bundle exec [command]?
https://github.com/sstephenson/rbenv/wiki/Understanding-binstubs
This could save keystrokes normally spent on
bundle exec
. There is a potential security risk in adding./bin
directly toPATH
, but Thoughtbot has a clever workaround:https://github.com/thoughtbot/dotfiles/pull/215
Caveat: it does require running
mkdir .git/safe
once per trusted project. Would this be more or less confusing to students than simply runningbundle exec [command]
?