I cannot get the server running with gruff and rbgsl together. require ''gruff'' require ''rbgsl'' If I have these two in either environment.rb or anywhere else the server quits with the following. The server runs fine with either one. => 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... dyld: ruby multiple definitions of symbol _ID_call /usr/local/lib/ruby/gems/1.8/gems/rmagick-1.15.2/lib/RMagick.bundle definition of _ID_call /usr/local/lib/ruby/site_ruby/1.8/powerpc-darwin7.9.0/rb_gsl.bundle definition of _ID_call Trace/BPT trap The server configuration is: ruby 1.8.5 (2006-12-25 patchlevel 12) [powerpc-darwin7.9.0] Rails 1.2.2 mongrel-1.0.1 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
This problem has nothing to do with rails, the RMagick.bundle and gsl.bundle cannot load together. Is there a way to load the modules only when I need the them? On Feb 27, 5:12 pm, "shin_e" <enomo...-OJFnDUYgAso@public.gmane.org> wrote:> I cannot get the server running withgruffand rbgsl together. > > require ''gruff'' > require ''rbgsl'' > > If I have these two in either environment.rb or anywhere else the > server quits with the following. The server runs fine with either one. > > => Booting Mongrel (use ''script/server webrick'' to force WEBrick) > => Rails application starting onhttp://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... > dyld: ruby multiple definitions of symbol _ID_call > /usr/local/lib/ruby/gems/1.8/gems/rmagick-1.15.2/lib/RMagick.bundle > definition of _ID_call > /usr/local/lib/ruby/site_ruby/1.8/powerpc-darwin7.9.0/rb_gsl.bundle > definition of _ID_call > Trace/BPT trap > > The server configuration is: > ruby 1.8.5 (2006-12-25 patchlevel 12) [powerpc-darwin7.9.0] > Rails 1.2.2 > mongrel-1.0.1--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
This problem can be resolved by applying a patch to RMagic and recompiling. You can get the patch at rubyforge. On Feb 28, 3:55 pm, "shin_e" <enomo...-OJFnDUYgAso@public.gmane.org> wrote:> This problem has nothing to do with rails, the RMagick.bundle and > gsl.bundle cannot load together. Is there a way to load the modules > only when I need the them? > > On Feb 27, 5:12 pm, "shin_e" <enomo...-OJFnDUYgAso@public.gmane.org> wrote: > > > I cannot get the server running withgruffandrbgsltogether. > > > require ''gruff'' > > require ''rbgsl'' > > > If I have these two in either environment.rb or anywhere else the > > server quits with the following. The server runs fine with either one. > > > => Booting Mongrel (use ''script/server webrick'' to force WEBrick) > > => Rails application starting onhttp://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... > > dyld: ruby multiple definitions of symbol _ID_call > > /usr/local/lib/ruby/gems/1.8/gems/rmagick-1.15.2/lib/RMagick.bundle > > definition of _ID_call > > /usr/local/lib/ruby/site_ruby/1.8/powerpc-darwin7.9.0/rb_gsl.bundle > > definition of _ID_call > > Trace/BPT trap > > > The server configuration is: > > ruby 1.8.5 (2006-12-25 patchlevel 12) [powerpc-darwin7.9.0] > > Rails 1.2.2 > > mongrel-1.0.1--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---