OK, you're tired of typing bundle exec
all the time when you develop Ruby/Rails application. I'd suggest defining an alias for it, just like:
# Save this in your shell profile such as .bashrc or .zshrc
alias be="bundle exec"
be rspec # bundle exec rspec
But if you're lazy enough, you don't have to anything. Just type
bundle e rspec
and it works! Enjoy saving time!
Top comments (0)