Created
July 27, 2012 16:20
-
-
Save safarista/3188958 to your computer and use it in GitHub Desktop.
Why is the gem term-ansicolor not found in my path? I have it in the global gemset for 1.9.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nelsons-MacBook-Pro:triplexxx the-crab$ ruby xxx.rb | |
> 1 + 1 | |
/Users/the-crab/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- term/ansicolor (LoadError) | |
from /Users/the-crab/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' | |
from /var/folders/vl/th7n8fdx6yv7npscx0qsvyhh0000gn/T/irb320120727-1310-18zk341:3 | |
1.8.7 => | |
1.9.2 => 2 | |
/Users/the-crab/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- term/ansicolor (LoadError) | |
from /Users/the-crab/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /var/folders/vl/th7n8fdx6yv7npscx0qsvyhh0000gn/T/irb320120727-1310-18zk341:3:in `<main>' | |
1.9.3 => | |
> |
For the record I was setting up my mac-book, term-ansicolor was already in the '$ gem list' and got the same error when running '$ rspec spec', in my case it was because I wasn't prepending 'bundle exec'. Doh!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok. If anyone gets this same error. Just
gem install term-ansicolor
and all other gems in all your different ruby versions. Install them in the global or default gemsets for it to work.