Hello!

I have installed ruby-iconv port on FreeBSD and try to work with it in 
irb console:
home# script/console
Loading development environment (Rails 2.1.0)
 >> require 'iconv'
=> []
 >> exit
Works perfectly! But my Rails application doesn't see this library:
MissingSourceFile (no such file to load -- iconv):
    
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
 
`gem_original_require'
    
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
 
`require'
    
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
 
`require'
    
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in
 
`new_constants_in'
    
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
 
`require'
    /app/controllers/api_controller.rb:5
    
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
 
`gem_original_require'
    
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
 
`require'
...

/app/controllers/api_controller.rb on line 5 has the code: require 'iconv'

What is wrong? Can you suggest a solution?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to