[Locomotive-users] Problems with RMagick bundle and ferret
Allen Young
allenmacyoung at gmail.com
Thu Aug 2 10:26:23 GMT 2007
Hi all,
I'm using RMagick Rails Bundle Mar 2007 for 10.4 PPC (with Rails
1.2.3). And because I want to use ferret and acts_as_ferret in my
project, I just copyed them from the Standard Rails Bundle Mar 2007
(with Rails 1.2.3) in to RMagick bundle.
After that, I tried to start the server in console, every was fine.
But after I add the following line into enviroment.rb, I just couldn't
start the server.
require 'acts_as_ferret'
The server error is:
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)=>
Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:15:
warning: already initialized constant OPTIONS
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:18:
undefined method `options' for []:Array (NoMethodError)
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
`require'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in
`new_constants_in'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
`require'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from ./script/server:3
The strange thing is I can run the server using standard bundle. Any
idea about this?
allen
More information about the Locomotive-users
mailing list