Gents,
I installed ferret successfully in my MacOS (rails development) using
the gem install. I did some tests and everything worked fine.
Then I tried to install it on the same way on my production environment
at TextDrive? running OpenSolaris? (container). This time ‘gem install
ferret’ seems to be completed:
[92140-AA:~/web/labs/blogblogs/trunk] root# gem install ferret
Attempting local installation of ‘ferret’ Local gem file not found:
ferret*.gem Attempting remote installation of ‘ferret’ Select which gem
to install for your platform (i386-solaris2.8)
- ferret 0.10.14 (ruby)
- ferret 0.10.13 (ruby) …
- ferret 0.1.0 (ruby)
- Cancel installation
1
Building native extensions. This could take a while… make: cc: Command
not found make: *** [helper.o] Error 127 make: cc: Command not found
make: *** [helper.o] Error 127 ruby extconf.rb install ferret creating
Makefile
make cc -KPIC -xO3 -xarch=386 -xspace -xildoff -I/opt/csw/include
-I/opt/csw/include -KPIC -fno-common -D_FILE_OFFSET_BITS=64 -I.
-I/opt/csw/lib/ruby/1.8/i386-solaris2.8
-I/opt/csw/lib/ruby/1.8/i386-solaris2.8 -I. -I/opt/csw/include
-I/opt/csw/include -c helper.c
make install cc -KPIC -xO3 -xarch=386 -xspace -xildoff
-I/opt/csw/include -I/opt/csw/include -KPIC -fno-common
-D_FILE_OFFSET_BITS=64 -I. -I/opt/csw/lib/ruby/1.8/i386-solaris2.8
-I/opt/csw/lib/ruby/1.8/i386-solaris2.8 -I. -I/opt/csw/include
-I/opt/csw/include -c helper.c Successfully installed ferret-0.10.14
Installing RDoc documentation for ferret-0.10.14…
Then I tried to run and I’m always getting a require no such file to
load error, see:
[92140-AA:~/web/labs/blogblogs/trunk] pocscom$ irb irb(main):001:0>
require ‘ferret’ LoadError?: no such file to load – ferret
from (irb):1:in `require' from (irb):1
irb(main):002:0> require ‘rferret’ LoadError?: no such file to load –
rferret
from (irb):2:in `require' from (irb):2
irb(main):003:0>
Any suggestions?