infochimps/imw — Issue #3: LoadError: no such file to load -- imw/utils
Author: bobtodd
Created: 2011-11-17 19:16:17+00:00
State: open

I was trying to install IMW through RVM using Ruby 1.9.2. I received the error "LoadError: no such file to load -- imw/utils". Is there something I'm missing in the install process?

Thanks,
Todd

#### Output ####

What I did was as follows:

> rvm gemset create chimps
'chimps' gemset created (/Users/bobtodd/.rvm/gems/ruby-1.9.2-p180@chimps).

> gem install nokogiri -- --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26
Fetching: nokogiri-1.5.0.gem (100%)
Building native extensions. This could take a while...
Successfully installed nokogiri-1.5.0
1 gem installed
Installing ri documentation for nokogiri-1.5.0...
Installing RDoc documentation for nokogiri-1.5.0...

> gem install icss
Fetching: json-1.6.1.gem (100%)
Building native extensions. This could take a while...
Fetching: activesupport-3.0.10.gem (100%)
Fetching: builder-2.1.2.gem (100%)
Fetching: i18n-0.5.0.gem (100%)
Fetching: activemodel-3.0.10.gem (100%)
Fetching: addressable-2.2.6.gem (100%)
Fetching: configliere-0.4.8.gem (100%)
Fetching: gorillib-0.1.7.gem (100%)
Fetching: icss-0.3.2.gem (100%)

9 gems installed

> gem install imw
Fetching: imw-0.3.0.gem (100%)
Successfully installed imw-0.3.0
1 gem installed
Installing ri documentation for imw-0.3.0...
Installing RDoc documentation for imw-0.3.0...

> gem list --local

*** LOCAL GEMS ***

activemodel (3.0.10)
activesupport (3.0.10)
addressable (2.2.6)
builder (2.1.2)
configliere (0.4.8)
gorillib (0.1.7)
i18n (0.5.0)
icss (0.3.2)
imw (0.3.0)
json (1.6.1)
nokogiri (1.5.0)
rake (0.8.7)

> irb
ruby-1.9.2-p180 :001 > require 'nokogiri'
=> true
ruby-1.9.2-p180 :002 > require 'open-uri'
=> true
ruby-1.9.2-p180 :003 > require 'imw'
LoadError: no such file to load -- imw/utils
from /Users/bobtodd/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/bobtodd/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/bobtodd/.rvm/gems/ruby-1.9.2-p180@chimps/gems/imw-0.3.0/lib/imw.rb:2:in `'
from /Users/bobtodd/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:58:in `require'
from /Users/bobtodd/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:58:in `rescue in require'
from /Users/bobtodd/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from (irb):3
from /Users/bobtodd/.rvm/rubies/ruby-1.9.2-p180/bin/irb:16:in `

'
ruby-1.9.2-p180 :004 > exit