Platform :windows xp
ferret : gem install ferret -v=0.11.5 --platform mswin32
acts_as_ferret : gem install acts_as_ferret (version 0.4.3)
ruby version 1.8.6
rails version 2.1
all installations went with no error
add “require ‘acts_as_ferret’” in environment.rb
problem when booting WEBrick:
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’: no such file to load – ferret_ext
(MissingSourceFile)
i found ferret_ext.so under the dir
“C:\ruby\lib\ruby\gems\1.8\gems\ferret-0.11.5-x86-mswin32\ext”
can’t find any useful solution by google
anyone can tell me y? Thanks!
BTW: i have no c compiler on XP, do i need one when installing ferret?
i copy the file ferret_ext.so to the folder
“C:\ruby\lib\ruby\gems\1.8\gems\ferret-0.11.5-x86-mswin32\lib”
which ferret.rb is also in, and the WEBrick server start correctly…
so weird,
it seems this line
“$: << File.expand_path(File.join(File.dirname(FILE), “…/ext”))”
in ferret.rb is useless.
Hanguo Luo wrote:
Platform :windows xp
ferret : gem install ferret -v=0.11.5 --platform mswin32
acts_as_ferret : gem install acts_as_ferret (version 0.4.3)
ruby version 1.8.6
rails version 2.1
all installations went with no error
add “require ‘acts_as_ferret’” in environment.rb
problem when booting WEBrick:
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’: no such file to load – ferret_ext
(MissingSourceFile)
i found ferret_ext.so under the dir
“C:\ruby\lib\ruby\gems\1.8\gems\ferret-0.11.5-x86-mswin32\ext”
can’t find any useful solution by google
anyone can tell me y? Thanks!
BTW: i have no c compiler on XP, do i need one when installing ferret?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.