# Mongrel on Ruby 1.8.6 w/ patchlevel 279 (Win)

**URL:** <https://www.ruby-forum.com/t/mongrel-on-ruby-1-8-6-w-patchlevel-279-win/144185>\
**Category:** Mongrel\
**Created:** [July 26, 2008, 9:19am UTC](https://www.ruby-forum.com/t/mongrel-on-ruby-1-8-6-w-patchlevel-279-win/144185 "2008-07-26T09:19:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mersus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@mersus](https://www.ruby-forum.com/u/mersus)\
**Post date:** [July 26, 2008, 9:19am UTC](https://www.ruby-forum.com/t/mongrel-on-ruby-1-8-6-w-patchlevel-279-win/144185/1 "2008-07-26T09:19:58Z")

</div>

Hi,  
I can’t install Mongrel on Ruby 1.8.6 (patchlevel 279), using Windows  
XP.  
My environment:

C:\ruby18\>gem environment  
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

- GEM CONFIGURATION:
  - :update\_sources =\> true
  - :verbose =\> true
  - :benchmark =\> false
  - :backtrace =\> false
  - :bulk\_threshold =\> 1000

- REMOTE SOURCES:
  - [http://gems.rubyforge.org/](http://gems.rubyforge.org/)

When I get Mongrel:

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.

c:/ruby18/bin/ruby.exe extconf.rb install mongrel -include-dependencies  
creating Makefile

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’

I made a ‘manual’ instalation  
([Testing the new One-Click Ruby Installer for Windows | AkitaOnRails.com](http://feeds.feedburner.com/~r/AkitaOnRails/~3/341683066/testing-the-new-one-click-ruby-installer-for-windows)).  
Any help is welcome.

---

<div class="post-metadata">

**Author:** ![mersus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@mersus](https://www.ruby-forum.com/u/mersus)\
**Post date:** [July 26, 2008, 11:36am UTC](https://www.ruby-forum.com/t/mongrel-on-ruby-1-8-6-w-patchlevel-279-win/144185/2 "2008-07-26T11:36:43Z")

</div>

On Sat, Jul 26, 2008 at 9:19 AM, Mersus M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> - RUBY EXECUTABLE: c:/ruby18/bin/ruby.exe
> - :backtrace =\> false
> 
> 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’
> 
> I made a ‘manual’ instalation  
> ([Testing the new One-Click Ruby Installer for Windows | AkitaOnRails.com](http://feeds.feedburner.com/~r/AkitaOnRails/~3/341683066/testing-the-new-one-click-ruby-installer-for-windows)).  
> Any help is welcome.

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

---

<div class="post-metadata">

**Author:** ![mersus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@mersus](https://www.ruby-forum.com/u/mersus)\
**Post date:** [July 27, 2008, 3:32pm UTC](https://www.ruby-forum.com/t/mongrel-on-ruby-1-8-6-w-patchlevel-279-win/144185/3 "2008-07-27T15:32:08Z")

</div>

On Sat, Jul 26, 2008 at 11:17 AM, Luis L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> 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

---

<div class="post-metadata">

**Author:** ![mersus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@mersus](https://www.ruby-forum.com/u/mersus)\
**Post date:** [August 16, 2008, 7:35am UTC](https://www.ruby-forum.com/t/mongrel-on-ruby-1-8-6-w-patchlevel-279-win/144185/4 "2008-08-16T07:35:21Z")

</div>

> 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:in`activate’  
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:in`each’  
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:in`require’  
from (irb):1

Thanks!  
-=R

---

<div class="post-metadata">

**Author:** ![mersus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@mersus](https://www.ruby-forum.com/u/mersus)\
**Post date:** [August 16, 2008, 3:44pm UTC](https://www.ruby-forum.com/t/mongrel-on-ruby-1-8-6-w-patchlevel-279-win/144185/5 "2008-08-16T15:44:34Z")

</div>

On Sat, Aug 16, 2008 at 7:35 AM, Roger P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> get:
> 
> 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
