I don't get why my script can't find the gem that I just installed. Here is the code of main.rb
require 'exifr'
At this point I get
LoadError: no such file to load — exifr
error message
Here is the output of
gem environment
GEM PATHS:
- /Users/me/.rvm/gems/ruby-1.9.3-p194
When I do
ls /Users/me/.rvm/gems/ruby-1.9.3-p194/gems/exifr-1.1.3/bin/exifr
I get
/Users/me/.rvm/gems/ruby-1.9.3-p194/gems/exifr-1.1.3/bin/exifr
So the gem is in that location. I'm running Mac OS Lion. What I do wrong ?
//EDIT
gem list exifr
*** LOCAL GEMS ***
exifr (1.1.3)
1.9.3-p194 :001 > require 'exifr'
=> true