[rspec-users] Failing in TextMate but not in rake...
greg.hauptmann.ruby at gmail.com
Sat Sep 6 17:45:09 EDT 2008
thanks Ed, I too can now see the nice colored output summary for rspec
in textmate, however...
What is weird is the following. Any ideas?
[A] - MENU BEHAVE DIFFERENTLY TO THE KEYBOARD SHORTCUTS: When I:
(a) Run the rspec commands via the TextMate menu using my mouse, e.g.
Bundle => RSpec => RunExamples, in this case I get the nice colored
(b) When I do Command-R (which is the shortcut for the same command as
listed in the menu), I don't get this, but rather just a dialog box
with a text based output..
[B] - THE KEYBOARD SHORTCUT FOR "RUN SINGLE EXAMPLE" FAILS
I get this using the keyboard shortcut (again running this via the menu works)
RubyMate r8136 running Ruby r1.8.6 (/opt/local/bin/ruby)
`files_to_load': File or directory not found: [, (RuntimeError)
from /Users/greg/source/myequity/vendor/plugins/rspec/lib/spec.rb:20:in `run'
[C] "Run commands from selected directories/files"
==> Not sure how to get this to work properly. If I click on a
directory in the directory tree, then use the menus to run this, it
doesn't seem to narrow the report to just this directory. Anyone know
how you're supposed to select a directory in text mate prior to
Thanks in advance is you can help
On Sun, Sep 7, 2008 at 5:50 AM, ed_ruder <ed.ruder at gmail.com> wrote:
> Thanks! Solved the problem completely! Here are the relevant steps:
> 1. Create the ~/.MacOSX directory if it doesn't already exist.
> 2. Using the Property List Editor (in /Developer/Applications/
> Utilities), edit the ~/.MacOSX/environment.plist file (creating it if
> it doesn't already exist).
> 3. Create a child of the Root (create Root if it doesn't exist) whose
> name is "PATH" (w/o the quotes), class is String, and value is the
> search path you want (the same as the one set up by .bashrc in my
> 4. Log out then log in to apply the changes.
> 5. To verify that the search path is correct, enter the following into
> a new TextMate window, select it, and execute it by typing ^R (control-
> echo "$PATH"
> On Sep 5, 11:43 pm, "Hunt Jon" <jona.hunt... at gmail.com> wrote:
>> Hope this helps.
>> rspec-users mailing list
>> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users