Hi,
require 'linguistics'
Linguistics::use(:en) # extends Array, String, and Numeric
"#{@count.en.numwords}"
When I am using rubygem “linguistics” in rails. it shows the error “no such file to load – linguistics” I think, I need to export the location. My gems are located in /usr/local/lib/ruby/gems/1.9.1/gems/.
I exported to $PATH, $GEM_HOME. But its not working. Kindly give me suggestion or correction on this issue.