I’d like to be able to do this
be rake db:migrate
instead of this
be "rake db:migrate"
How to write this function?
function be() {
bundle exec ???
}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I do this using an
aliasI’d even consider just making it
As I never really need it for anything other than
raketasks and I always forget to write rake. If it’s a special case then I don’t mind typingbundle execin full.As @holygeek points out an
aliasis the right tool for the job here.