UCLALibrary / packer-samvera

A build of Samvera/Hyrax using Packer and the 'ansible-samvera' roles
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Create Bash alias for `bundle exec` #16

Closed ksclarke closed 6 years ago

ksclarke commented 6 years ago

Hardy is using 'be' (for 'bundle exec'). Alternatively could be 'do' or 'run' (or we could set more than one).

be rake spec do rake spec run rake spec

be rake hydra:test_server do rake hydra:test_server run rake hydra:test_server

ksclarke commented 6 years ago

Googling around, 'be' seems to be a common alias. Some others have also suggested:

alias rake="bundle exec rake"

I don't know enough about rake to know if you'd ever want to use it without bundle exec.