I've looked in the BBEdit forums, the RVM documentation and on Stack Overflow - with no joy, so hopefully someone can answer what I hope is a fairly simple question.
Last night I left behind my system Ruby (1.9.2) and installed RVM (I'm on Mac OSX Lion). I am now using the RVM Ruby 1.9.3 on my system as default and everything works fine in the Terminal. However, I use BBEdit to code and want it to use the same RVM Ruby when I hit Command-R to run scripts. Unlike in Textmate, there doesn't seem to be an obvious way to set the PATH to a Ruby installation in BBEdit. Following a related query to the BBEdit support people, I created a .plist file at ~/.MacOSX/environment.plist and tried to set the PATH in there, but it doesn't work. I'm not at home at the moment so if anyone needs to see that .plist file, I can post it later.