7stud2
(7stud --)
5 August 2012 13:25
1
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 — linguistics
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!)
···
--
Posted via http://www.ruby-forum.com/ .
Try:
require 'rubygems'
require 'linguistics'
···
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 — linguistics
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!)
--
Posted via http://www.ruby-forum.com/\ .
Dave Castellano писал 05.08.2012 17:25:
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??
I strongly advise you to upgrade to the latest patchlevel of 1.9.3.
-p0 is known to be unstable and produce random segfaults when running
GC-heavy code.
···
--
WBR, Peter Zotov.
That shouldn't be necessary with Ruby 1.9.
Dave: are you sure RVM's Ruby 1.9 is active when you run the script?
···
On Mon, Aug 6, 2012 at 1:04 PM, rohitn <rohit.namjoshi@gmail.com> wrote:
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 — linguistics
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!)
--
Posted via http://www.ruby-forum.com/\ .
Try:
require 'rubygems'
require 'linguistics'