Luiz Biagi
2008-Aug-10 01:28 UTC
[Mongrel] custom_require.rb:27:in `gem_original_require'': no such file
Hi, maybe that''s a lame question but it''s hard to find about''t. I don''t know what is happening but my mongrel just don''t start, I''m using: ------ RubyGems Environment: - RUBYGEMS VERSION: 1.2.0 - RUBY VERSION: 1.8.6 (2008-07-17 patchlevel 279) [i386-mingw32] - INSTALLATION DIRECTORY: C:/Ruby18/lib/ruby/gems/1.8 - RUBY EXECUTABLE: C:/Ruby18/bin/ruby.exe - EXECUTABLE DIRECTORY: C:/Ruby18/bin - RUBYGEMS PLATFORMS: - ruby - x86-mingw32 - GEM PATHS: - C:/Ruby18/lib/ruby/gems/1.8 - C:/Users/FullMetal Alchemist/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => falsego - :backtrace => false - :bulk_threshold => 1000 - :sources => ["http://gems.rubyforge.org", "http://gems.github.com"] - REMOTE SOURCES: - http://gems.rubyforge.org - http://gems.github.com i''m using windows vista too, and when i''m tryingh to start mongrel I get: C:\projects\blogsys>ruby script\server => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails 2.1.0 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_ require'': no such file to load -- win32/service (MissingSourceFile) from C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in ` require'' from C:/Ruby18/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_sup port/dependencies.rb:509:in `require'' from C:/Ruby18/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_sup port/dependencies.rb:354:in `new_constants_in'' from C:/Ruby18/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_sup port/dependencies.rb:509:in `require'' from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/mongrel_se rvice/init.rb:5 from C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in ` gem_original_require'' from C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in ` require'' from C:/Ruby18/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_sup port/dependencies.rb:509:in `require'' ... 17 levels... from C:/Ruby18/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb :39 from C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in ` gem_original_require'' from C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in ` require'' from script/server:3 I''ve just installed the new version of ruby one click installer, and since that i just can''t start mongrel, which I believe could be a windows compability problem, please help me -- Posted via http://www.ruby-forum.com/.
Will Green
2008-Aug-10 02:54 UTC
[Mongrel] custom_require.rb:27:in `gem_original_require'': no such file
The answer is in the dump from Mongrel startup: `gem_original_require'': no such file to load -- win32/service (MissingSourceFile) Try installing the win32-service gem.
Luiz Biagi
2008-Aug-10 15:11 UTC
[Mongrel] custom_require.rb:27:in `gem_original_require'': no such
Will Green wrote:> The answer is in the dump from Mongrel startup: > > `gem_original_require'': no such file to load -- win32/service > (MissingSourceFile) > > Try installing the win32-service gem.thanks man, I somehow was with the service version 0.0.1, now I installed the mswin32 up to date version and I''m receiving a new error: => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails 2.1.0 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... ** Rails loaded. ** Loading any Rails specific GemPlugins Exiting C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/config urator.rb:372:in `trap'': unsupported signal SIGUSR1 (ArgumentError) from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/m ongrel/configurator.rb:372:in `setup_signals'' from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/. ./lib/mongrel/rails.rb:174:in `setup_rails_signals'' from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/m ongrel_rails:124:in `cloaker_'' from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/m ongrel/configurator.rb:149:in `call'' from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/m ongrel/configurator.rb:149:in `listener'' from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/m ongrel_rails:99:in `cloaker_'' from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/m ongrel/configurator.rb:50:in `call'' from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/m ongrel/configurator.rb:50:in `initialize'' ... 14 levels... from C:/Ruby18/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb :39 from C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in ` gem_original_require'' from C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in ` require'' from script/server:3 maybe I should use other version of mongrel? thanks for the help -- Posted via http://www.ruby-forum.com/.
Luis Lavena
2008-Aug-10 20:23 UTC
[Mongrel] custom_require.rb:27:in `gem_original_require'': no such
On Sun, Aug 10, 2008 at 5:11 PM, Luiz Biagi <lists at ruby-forum.com> wrote:> Will Green wrote: >> The answer is in the dump from Mongrel startup: >> >> `gem_original_require'': no such file to load -- win32/service >> (MissingSourceFile) >> >> Try installing the win32-service gem. > > thanks man, I somehow was with the service version 0.0.1, now I > installed the mswin32 up to date version and I''m receiving a new error: > > => Booting Mongrel (use ''script/server webrick'' to force WEBrick) > => Rails 2.1.0 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... > ** Rails loaded. > ** Loading any Rails specific GemPlugins > Exiting > C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/config > urator.rb:372:in `trap'': unsupported signal SIGUSR1 (ArgumentError) > fromCan you tell us which version of Ruby and RubyGems you have installed? Looks like is trying to setup signals not support on Windows (SIGUSR1). Is just me or you''ve installed mongrel with --platform=mswin32 during the gem installation? That is plain wrong. You should install the gem available for your platform, which I think is mingw32. -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. Douglas Adams
Luiz Biagi
2008-Aug-10 21:45 UTC
[Mongrel] custom_require.rb:27:in `gem_original_require'': no such
Luis Lavena wrote:> On Sun, Aug 10, 2008 at 5:11 PM, Luiz Biagi <lists at ruby-forum.com> > wrote:> You should install the gem available for your platform, which I think > is mingw32.I followed Akita''s explanation, and that was wrong now I could do it, following your blog recomendations thank you! -- Posted via http://www.ruby-forum.com/.