The runtime environment for OSX GUI apps is controlled by an (optional) file called ~/.MacOSX/environment.plist, which you can edit using the Property List Editor. Under the Root node you create key-value pairs like: GEM_HOME => /Users/Dan/Library/gems.
Property List Editor won't let you create a file in a hidden directory (starting with a dot) so instead you can do this from a terminal window: % mkdir ~/.MacOSX % touch ~/.MacOSX/environment.plist % open ~/.MacOSX/environment.plist hth, Dan 2008/8/14 rubyphunk <[EMAIL PROTECTED]> > On 8 Aug., 19:11, "Mark Wilden" <[EMAIL PROTECTED]> wrote: > > I've been using RSpactor (the gem version, not the GUI) fairly happily > for a > > month or so. However, when trying the GUI version out, it became clear > that > > RSpactor loads things differently than 'rake spec'. Today, using the gem > > version, I found that I get a MissingSourceFile trying to require json. > > 'rake spec' works fine. > > RSpactor loads things the same way as 'rake spec' does. The problem > comes from the environment RSpactor.app is running in. > I haven't figured out yet how to change that.. > > > So I'd suggest that RSpactor is not quite ready for primetime, in case > > anyone's thinking of using it. > > You're right RSpactor is not a final release, its a first beta. So if > you encounter problems please report them to the lighthouse project > http://rspactor.lighthouseapp.com or simply fork, fix, commit :) > However, you can use RSpactor already for your daily work. I do, and a > lot of other people too. > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users