C:\ruby18>gem install mongrel -include-dependencies
Building native extensions. This could take a while…
ERROR: Error installing mongrel:
ERROR: Failed to build gem native extension.
make
‘make’ is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in
C:/ruby18/nclude-dependencies/gems/fastthread
-1.0.1 for inspection.
Results logged to
C:/ruby18/nclude-dependencies/gems/fastthread-1.0.1/ext/fastth
read/gem_make.out
Even dowloading an older version, i get the same error:
C:\ruby18>gem install mongrel -v’=1.1.4’
Hey Mersus, thanks for trying the MinGW build of Ruby!
Right now 1.1.x releases of Mongrel are not compatible with MinGW
build, mostly becasue I forgot to backport the updated RUBY_PLATFORM
regexp from 1.2 branch
Also, you need the MinGW compiler around to be able to build the
native extension of both mongrel and fastthread (being the last one a
dependency of mongrel gem).
I’ll fix the RUBY_PLATFORM issues in 1.1 sourcecode.
Thanks for reporting this back.
Luis L.
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
Also, you need the MinGW compiler around to be able to build the
native extension of both mongrel and fastthread (being the last one a
dependency of mongrel gem).
I’ll fix the RUBY_PLATFORM issues in 1.1 sourcecode.
Thanks for reporting this back.
Ok guys, I just fixed this issue and uploaded a signed gem for 1.1.5
x86-mingw32 platform.
Will take a while until it spread to rubyforge mirrors.
After that you will be able to do gem install mongrel and run your
rails application with mongrel_rails.
Regards,
Luis L.
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
C:\ruby18>gem install mongrel -include-dependencies
Building native extensions. This could take a while…
ERROR: Error installing mongrel:
ERROR: Failed to build gem native extension.
Yeah you’d need to install the devkit to be able to compile it [to force
compilation install it as gem install mongrel --platform ruby].
As a note when I do install the latest mongrel precompiled for mingw, I
get:
c:\roger\dev\test_rails_app>irb
irb(main):001:0> require ‘mongrel’
Gem::LoadError: Could not find RubyGem echoe (>= 0)
from
c:/roger/dev/rubyinstaller_lavena/sandbox/ruby_mingw/lib/ruby/site_ruby/1.8/rubygems.rb:578:in report_activate_error' from c:/roger/dev/rubyinstaller_lavena/sandbox/ruby_mingw/lib/ruby/site_ruby/1.8/rubygems.rb:134:inactivate’
from
c:/roger/dev/rubyinstaller_lavena/sandbox/ruby_mingw/lib/ruby/site_ruby/1.8/rubygems.rb:158:in activate' from c:/roger/dev/rubyinstaller_lavena/sandbox/ruby_mingw/lib/ruby/site_ruby/1.8/rubygems.rb:157:ineach’
from
c:/roger/dev/rubyinstaller_lavena/sandbox/ruby_mingw/lib/ruby/site_ruby/1.8/rubygems.rb:157:in activate' from c:/roger/dev/rubyinstaller_lavena/sandbox/ruby_mingw/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire’
from (irb):1
c:\roger\dev\test_rails_app>irb
irb(main):001:0> require ‘mongrel’
Gem::LoadError: Could not find RubyGem echoe (>= 0)
That’s new, I’m taking a look right now.
Thanks Roger to reporting it.
Luis L.
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.