Running RSpec Through Textmate with Multiruby
When working with RSpec, I like to run my individual specs with the RSpec Textmate Bundle. After making the switch to using multiruby, the bundle was picking up my old install of ruby. This was easy to fix, at least to run my current 1.8.7 version of ruby from my .multiruby directory.
On my mac, I just opened /etc/profile and added the following line to the bottom of file:
export PATH="/Users/graemenelson/.multiruby/install/1.8.7-p174/bin:$PATH"
My initial attempt was to add /Users/graemenelson/.multiruby/install/1.8.7-p174/bin to the top of the /etc/paths file, but other directories still appeared before my .multiruby directory.
However, this still doesn’t work when I want to switch to using a different ruby version. Does any have any ideas on how to solve this?