[rspec-users] RSpec fails with: No such file to load -- iconv (LoadError)

2011-07-21 Thread Byofuel
After reinstalling Ree 2011.03 (because of a readline dependency problem), 
RSpec no longer runs (although I can start the server without a problem).  I 
get this error:

/Users/u/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:304:in
 
`depend_on': No such file to load -- iconv (LoadError)

Further down the stack trace, this is called from 

from /Users/u/code/app_name/config/environment.rb:5

which is this line:

AppName::Application.initialize!

So far, I've tried using RVM to install the iconv package, and then 
reinstalling Ree using the --with-iconv-dir switch to point Ree to the 
location of the iconv package.  This did not make a difference.  Note that 
in IRB, require 'iconv' returns true, and as mentioned, the server runs 
fine.  Any suggestions?

___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] RSpec fails with: No such file to load -- iconv (LoadError)

2011-07-21 Thread Byofuel
This problem was resolved after discovering that Ree had not installed with 
the correct path to iconv although it appeared to be specified correctly in 
the switch.  After yet another reinstall, the error went away.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users