appacademy / dotfiles

Get your computer ready for App Academy!
22 stars 30 forks source link

Consider using/teaching binstubs #12

Open rglassett opened 9 years ago

rglassett commented 9 years ago

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 to PATH, 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 running bundle exec [command]?