Hi, I'm using the RSpec bundle, and when I run the "Run Behavior Description" command, I get the following output:
/Users/nate/Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/Support/lib/spec_mate.rb:2:in `require': No such file to load -- rubygems (LoadError) from /Users/nate/Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/Support/lib/spec_mate.rb: 2 from /tmp/temp_textmate.UKmbLu:3:in `require' from /tmp/ temp_textmate.UKmbLu:3
Anyone know what the problem is?
Thanks, Nate
On Oct 20, 2007, at 6:55 PM, Nate Smith wrote:
I'm using the RSpec bundle, and when I run the "Run Behavior Description" command, I get the following output:
/Users/nate/Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/Support/lib/spec_mate.rb:2:in `require': No such file to load -- rubygems (LoadError) from /Users/nate/Library/ Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/Support/ lib/spec_mate.rb:2 from /tmp/temp_textmate.UKmbLu:3:in `require' from /tmp/temp_textmate.UKmbLu:3
Anyone know what the problem is?
Yes, it cannot find RubyGems. Did you install RSpec without using gems? I know it's doable, but I think it's pretty rare.
James Edward Gray II
I definitely installed RSpec with rubygems, but I'm using the RSpec Rails plugin for my current project, but I don't see how that should make a difference if spec_mate.rb is looking for rubygems. Also, when I run the "Open Require" command on the first line of spec_mate.rb it cannot find rubygems.rb.
On 21-Oct-07, at 12:16 AM, James Edward Gray II wrote:
On Oct 20, 2007, at 6:55 PM, Nate Smith wrote:
I'm using the RSpec bundle, and when I run the "Run Behavior Description" command, I get the following output:
/Users/nate/Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/Support/lib/spec_mate.rb:2:in `require': No such file to load -- rubygems (LoadError) from /Users/nate/Library/ Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/Support/ lib/spec_mate.rb:2 from /tmp/temp_textmate.UKmbLu:3:in `require' from /tmp/temp_textmate.UKmbLu:3
Anyone know what the problem is?
Yes, it cannot find RubyGems. Did you install RSpec without using gems? I know it's doable, but I think it's pretty rare.
James Edward Gray II
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
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.
dean
On 10/20/07, Nate Smith nwjsmith@gmail.com wrote:
I definitely installed RSpec with rubygems, but I'm using the RSpec Rails plugin for my current project, but I don't see how that should make a difference if spec_mate.rb is looking for rubygems. Also, when I run the "Open Require" command on the first line of spec_mate.rb it cannot find rubygems.rb.
On 21-Oct-07, at 12:16 AM, James Edward Gray II wrote:
On Oct 20, 2007, at 6:55 PM, Nate Smith wrote:
I'm using the RSpec bundle, and when I run the "Run Behavior Description" command, I get the following output:
/Users/nate/Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/Support/lib/spec_mate.rb:2:in `require': No such file to load -- rubygems (LoadError) from /Users/nate/Library/ Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/Support/ lib/spec_mate.rb:2 from /tmp/temp_textmate.UKmbLu:3:in `require' from /tmp/temp_textmate.UKmbLu:3
Anyone know what the problem is?
Yes, it cannot find RubyGems. Did you install RSpec without using gems? I know it's doable, but I think it's pretty rare.
James Edward Gray II
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Oct 21, 2007, at 6:37 AM, Dean Wampler wrote:
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.
See:
http://macromates.com/textmate/manual/shell_commands#search_path
On Oct 20, 2007, at 11:52 PM, Nate Smith wrote:
I definitely installed RSpec with rubygems, but I'm using the RSpec Rails plugin for my current project, but I don't see how that should make a difference if spec_mate.rb is looking for rubygems. Also, when I run the "Open Require" command on the first line of spec_mate.rb it cannot find rubygems.rb.
My best guess is that you have two Ruby installs and TextMate is finding the wrong one. See:
http://macromates.com/wiki/Troubleshooting/RubyVersionIssue
James Edward Gray II
Thanks for the help, I think I'll just wait for friday's OS X install to fix my ruby issues :).
On 21-Oct-07, at 10:58 AM, James Edward Gray II wrote:
On Oct 20, 2007, at 11:52 PM, Nate Smith wrote:
I definitely installed RSpec with rubygems, but I'm using the RSpec Rails plugin for my current project, but I don't see how that should make a difference if spec_mate.rb is looking for rubygems. Also, when I run the "Open Require" command on the first line of spec_mate.rb it cannot find rubygems.rb.
My best guess is that you have two Ruby installs and TextMate is finding the wrong one. See:
http://macromates.com/wiki/Troubleshooting/RubyVersionIssue
James Edward Gray II
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Using the RSpec-1.0.8.tmbundle.tgz at http://rubyforge.org/frs/? group_id=797, I suffered similar issues until I created an environment.plist per this procedure:
http://blog.dnite.org/2007/8/28/textmate-and-your-environment- variables
I had earlier installed the 'Ruby RSpec.tmBundle' via svn from the macromates repository, but had no success using it to run behavior descriptions. Nevertheless, 'Ruby Rspec.tmBundle' did permit the selection of 'RSpec' as a document language, while 'RSpec-1.0.8.tmbundle' does not. This puzzles me.
Gary ................................
On Oct 21, 2007, at 7:44 PM, Nate Smith wrote:
Thanks for the help, I think I'll just wait for friday's OS X install to fix my ruby issues :).
On 21-Oct-07, at 10:58 AM, James Edward Gray II wrote:
On Oct 20, 2007, at 11:52 PM, Nate Smith wrote:
I definitely installed RSpec with rubygems, but I'm using the RSpec Rails plugin for my current project, but I don't see how that should make a difference if spec_mate.rb is looking for rubygems. Also, when I run the "Open Require" command on the first line of spec_mate.rb it cannot find rubygems.rb.
My best guess is that you have two Ruby installs and TextMate is finding the wrong one. See:
http://macromates.com/wiki/Troubleshooting/RubyVersionIssue
James Edward Gray II
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Awesome, everything works now, thanks.
On 22-Oct-07, at 7:31 AM, Gary Fleshman wrote:
Using the RSpec-1.0.8.tmbundle.tgz at http://rubyforge.org/frs/? group_id=797, I suffered similar issues until I created an environment.plist per this procedure:
http://blog.dnite.org/2007/8/28/textmate-and-your-environment-
variables
I had earlier installed the 'Ruby RSpec.tmBundle' via svn from the macromates repository, but had no success using it to run behavior descriptions. Nevertheless, 'Ruby Rspec.tmBundle' did permit the selection of 'RSpec' as a document language, while 'RSpec-1.0.8.tmbundle' does not. This puzzles me.
Gary ................................
On Oct 21, 2007, at 7:44 PM, Nate Smith wrote:
Thanks for the help, I think I'll just wait for friday's OS X install to fix my ruby issues :).
On 21-Oct-07, at 10:58 AM, James Edward Gray II wrote:
On Oct 20, 2007, at 11:52 PM, Nate Smith wrote:
I definitely installed RSpec with rubygems, but I'm using the RSpec Rails plugin for my current project, but I don't see how that should make a difference if spec_mate.rb is looking for rubygems. Also, when I run the "Open Require" command on the first line of spec_mate.rb it cannot find rubygems.rb.
My best guess is that you have two Ruby installs and TextMate is finding the wrong one. See:
http://macromates.com/wiki/Troubleshooting/RubyVersionIssue
James Edward Gray II
__ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate