I think this is an environment issue. For me, I installed ruby and all gems in /usr/local/... I'm not using the Ruby that came installed on OS X. If I launch TextMate from the finder, it doesn't know about this. I have my .bashrc set up the correct paths, so I use the "mate" command in a terminal window to launch TM.
<br><br>dean<br><br><div><span class="gmail_quote">On 10/20/07, <b class="gmail_sendername">Nate Smith</b> <<a href="mailto:nwjsmith@gmail.com">nwjsmith@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I definitely installed RSpec with rubygems, but I'm using the RSpec<br>Rails plugin for my current project, but I don't see how that should<br>make a difference if spec_mate.rb is looking for rubygems. Also, when<br>
I run the "Open Require" command on the first line of spec_mate.rb it<br>cannot find rubygems.rb.<br><br>On 21-Oct-07, at 12:16 AM, James Edward Gray II wrote:<br><br>> On Oct 20, 2007, at 6:55 PM, Nate Smith wrote:
<br>><br>>> I'm using the RSpec bundle, and when I run the "Run Behavior<br>>> Description" command, I get the following output:<br>>><br>>> /Users/nate/Library/Application Support/TextMate/Bundles/Ruby
<br>>> RSpec.tmbundle/Support/lib/spec_mate.rb:2:in `require': No such<br>>> file to load -- rubygems (LoadError) from /Users/nate/Library/<br>>> Application Support/TextMate/Bundles/Ruby RSpec.tmbundle
/Support/<br>>> lib/spec_mate.rb:2 from /tmp/temp_textmate.UKmbLu:3:in `require'<br>>> from /tmp/temp_textmate.UKmbLu:3<br>>><br>>> Anyone know what the problem is?<br>><br>> Yes, it cannot find RubyGems. Did you install RSpec without using
<br>> gems? I know it's doable, but I think it's pretty rare.<br>><br>> James Edward Gray II<br>><br>> ______________________________________________________________________<br>> For new threads USE THIS:
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>> (threading gets destroyed and the universe will collapse if you don't)<br>> <a href="http://lists.macromates.com/mailman/listinfo/textmate">
http://lists.macromates.com/mailman/listinfo/textmate</a><br><br><br>______________________________________________________________________<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com
</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>Dean Wampler<br><a href="http://www.objectmentor.com">http://www.objectmentor.com</a><br><a href="http://www.aspectprogramming.com">http://www.aspectprogramming.com</a><br><a href="http://aquarium.rubyforge.org">
http://aquarium.rubyforge.org</a><br><a href="http://www.contract4j.org">http://www.contract4j.org</a>