From: rohitn Date: 2012-08-07T03:04:35+09:00 Subject: Re: Linguistics gem ------=_Part_0_22701284.1344276272978 Content-Type: multipart/alternative; boundary="----=_Part_1_26010215.1344276272979" ------=_Part_1_26010215.1344276272979 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sunday, August 5, 2012 8:25:56 AM UTC-5, Dave Castellano wrote: > > Have Linguistics gem in gem list:=20 > ...=20 > libwebsocket (0.1.3)=20 > linguistics (1.0.9)=20 > mail (2.4.4, 2.4.3, 2.4.1)...=20 > > but:=20 > > require 'linguistics'=20 > Linguistics::use( :en ) # extends Array, String, and Numeric=20 > > gives error: LoadError: no such file to load =E2=80=94 linguistics=20 > > Using RVM on OSx=20 > > and do have 2 gem paths:=20 > > - GEM PATHS:=20 > - /Users/dcastellano1/.rvm/gems/ruby-1.9.3-p0=20 > - /Users/dcastellano1/.rvm/gems/ruby-1.9.3-p0@global=20 > > Could Linguistics be in the wrong path, and if so how can I check??=20 > > Thanks,=20 > > Dave Castellano (beginner!)=20 > > --=20 > Posted via http://www.ruby-forum.com/.=20 > Try: require 'rubygems' require 'linguistics'=20 ------=_Part_1_26010215.1344276272979 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sunday, August 5, 2012 8:25:56 AM UTC-5, Dave Castellano wrote:Have Linguistics gem in gem list:
...
libwebsocket (0.1.3)
linguistics (1.0.9)
mail (2.4.4, 2.4.3, 2.4.1)...

but:

require 'linguistics'
Linguistics::use( :en ) # extends Array, String, and Numeric

gives error:    LoadError: no such file to load =E2=80=94 lin= guistics

Using RVM on OSx

and do have 2 gem paths:

 - GEM PATHS:
     - /Users/dcastellano1/.rvm/gems/ruby-1.9.3-p0
     - /Users/dcastellano1/.rvm/gems/ruby-1.9.3-p0@= global

Could Linguistics be in the wrong path, and if so how can I check??

Thanks,

Dave Castellano (beginner!)

--=20
Posted via htt= p://www.ruby-forum.com/.

Try:
require 'rubygems'
require 'linguistics' 
------=_Part_1_26010215.1344276272979-- ------=_Part_0_22701284.1344276272978--