Byofuel
2011-Jul-21 19:20 UTC
[rspec-users] RSpec fails with: No such file to load -- iconv (LoadError)
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 at 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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110721/807c34b5/attachment-0001.html>
Byofuel
2011-Jul-22 04:00 UTC
[rspec-users] RSpec fails with: No such file to load -- iconv (LoadError)
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110721/5a4b819c/attachment.html>