If you're a Rubyist, you probably use the likes of
and other commands frequently. And it's likely that you might be running them
bundle exec to execute them in the context of your project's bundle.
After finding I was spending a lot of time typing each of these commands, I
added a few aliases to my shell config to speed up my workflow:
alias rsp='bundle exec rspec'
alias cuc='bundle exec cucumber'
alias rak='bundle exec rake'
alias mm='bundle exec middleman'
Paste these into your
~/.zshrc, restart your shell, and now
rspec test in the context of your bundle is as simple as:
Have other useful aliases? Post them in the comments below!
Building a new Digital Product? Read This First
You're about to build your first digital product, but you're
terrified at the breadth of terminology and wary of consultants
My free book Why Software Projects Fail offers that framework. In this
companion to your hiring and discovery process, you'll learn
how to inform your next decisions and to empower yourself along the way.
In the book, you'll learn:
- How to find and hire a trustworthy consultant
- Why it's critical you pay for a software discovery
- How to assess your consultant's bid
- What to expect—and be wary of—during the development process
- How to take control of your project
Enter your email address below and then click the "Send Me My Free Gift" button.
I'll send you Why Software Projects Fail, and you'll be equipped for
success on your next project.