Mongrel 1.1.1 Win32 (latest) + Rubygems

Hello all. Hope this doesn’t appear as spam…

I am trying to run Mongrel on Win XP (SP2) for a web site (just one at
the
moment). For some reason it is giving me this error:

E:\web\app2>mongrel_rails start -p 4001 -d
** WARNING: Win32 does not support daemon mode.
** Daemonized, any open files are closed. Look at log/mongrel.pid and
log/mongr
el.log for info.
** Starting Mongrel listening at 0.0.0.0:4001
** Starting Rails with development environment…
** Rails loaded.
** Loading any Rails specific GemPlugins
e:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_re quire': no such file to load -- e:/ruby/lib/ruby/gems/1.8/gems/mongrel- 1.1.1-x86 -mswin32-60/lib/mongrel/init.rb (MissingSourceFile) from e:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inre
quire’
|||||||
V
from e:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.1-mswin32
/bin/mongrel_ra
ils:281
from e:/ruby/bin/mongrel_rails:19:in `load’
from e:/ruby/bin/mongrel_rails:19

When I look for
“e:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.1-x86-mswin32-60/lib/mongrel/init.rb”
I notice that the directory is called …/gems/mongrel-1.1.1-mswin32/…

I don’t really know anything about how the internals of rubygems works
and I
assume that simply renaming the directory is a bad idea? When I rename
the
directory it loads fine, although I don’t know what the implications
are!

Thanks if you have any answers!

On Dec 4, 2007 5:05 PM, A R [email protected] wrote:

Hello all. Hope this doesn’t appear as spam…

I am trying to run Mongrel on Win XP (SP2) for a web site (just one at the
moment). For some reason it is giving me this error:

[snip]

This is a known problem with RubyGems 0.9.5

You should downgrade back to 0.9.4 until 0.9.5.1 or greater get
released (since I think is fixed on trunk).

Oh, also remove the -d (daemonize) option from the command line,
daemonize requires fork() which don’t work under Windows.

For running mongrel_rails in a deattached (background) fashion, please
take a look at mongrel_service gem.

HTH,


Luis L.
Multimedia systems

Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi

http://rubyforge.org/tracker/index.php?func=detail&aid=15817&group_id=1306&atid=5145

Evan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs