Skip to content

Instantly share code, notes, and snippets.

@ilpoldo
Created November 30, 2010 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilpoldo/721987 to your computer and use it in GitHub Desktop.
Save ilpoldo/721987 to your computer and use it in GitHub Desktop.
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load --bundler (LoadError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from /Users/Le/Library/Application Support/TextMate/Bundles/rspec.tmbundle/Support/lib/spec/mate.rb:16
from /tmp/textmate-command-12505.rb:2:in `require'
from /tmp/textmate-command-12505.rb:2

If I run p RUBY_DESCRIPTION from an rb file in textmate I get "ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]"

@ilpoldo
Copy link
Author

ilpoldo commented Nov 30, 2010

I think some environment variables have to be configured, but I'm having a very hard time figuring out which.

the tmbundle is the most recent commit on github.com/rspec/rspec-tmbundle, but I tried getting back a couple of commits or to the last tagged version too.

@ilpoldo
Copy link
Author

ilpoldo commented Nov 30, 2010

Solved! Turns out I ran rvm wrapper ree textmate a while after installing ree with rvm and in the mean time the ree shorthand changed from meaning ree-1.8.7-2010.01 to ree-1.8.7-2010.02

And since the last ree isn't even installed on my system it went looking for bundler in /Library/Ruby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment