I installed the fastercsv gem like this:
sudo gem install fastercsv
Then in my controller I put this:
require 'fastercsv'
When I try to use it though, I get this error:
MissingSourceFile in Notes#export_data
no such file to load -- fastercsv
What have I done wrong? Thanks for reading.
EDIT: I'm using Rails 2.3.5
rake gems
(in /Users/bh/rails_projects/notes)
- [I] authlogic
- [R] activesupport
- [I] searchlogic
- [R] activerecord >= 2.0.0
I = Installed
F = Frozen
R = Framework (loaded before rails starts)
-
gem which fastercsv
/usr/local/lib/ruby/gems/1.8/gems/fastercsv-1.5.3/lib/fastercsv.rb