shouldn't mingw32 and mswin32 be the same platform?

redstun's Avatar


04 Sep, 2011 01:01 PM

when I run buildr --version, I get the following error

d:/sdks/ruby/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find buildr (>= 0) amongst [actionmailer-3.1.0, actionpack-3.1.0, activemodel-3.1.0, activerecord-3.1.0, activeresource-3.1.0, activesupport-3.1.0, arel-2.2.1, atoulme-Antwrap-0.7.2, atoulme-Antwrap-0.7.1, bcrypt-ruby-3.0.0-x86-mingw32, builder-3.0.0, builder-2.1.2, buildr-1.4.6-x86-mswin32, bundler-1.0.18, diff-lcs-1.1.3, diff-lcs-1.1.2, erubis-2.7.0, highline-1.6.2, highline-1.5.1, hike-1.2.1, hoe-2.12.2, hoe-2.3.3, i18n-0.6.0, json_pure-1.5.4, json_pure-1.4.3, mail-2.3.0, mime-types-1.16, minitar-0.5.3, minitest-2.5.1, multi_json-1.0.3, net-sftp-2.0.5, net-sftp-2.0.4, net-ssh-2.2.1, net-ssh-2.0.23, polyglot-0.3.2, rack-1.3.2, rack-cache-1.0.3, rack-mount-0.8.3, rack-ssl-1.3.2, rack-test-0.6.1, rails-3.1.0, railties-3.1.0, rake-0.9.2, rake-0.8.7, rdoc-3.9.4, rdoc-2.5.8, rjb-1.3.5-x86-mswin32-60, rjb-1.3.2-x86-mswin32-60, rspec-2.6.0, rspec-2.1.0, rspec-core-2.6.4, rspec-core-2.1.0, rspec-expectations-2.6.0, rspec-expectations-2.1.0, rspec-mocks-2.6.0, rspec-mocks-2.1.0, rubyforge-2.0.4, rubyforge-2.0.3, rubygems-update-1.8.10, rubyzip-0.9.4, sprockets-2.0.0, spruz-0.2.13, thor-0.14.6, tilt-1.3.3, treetop-1.4.10, tzinfo-0.3.29, watchr-0.7, xml-simple-1.1.0, xml-simple-1.0.12] (Gem::LoadError)

    from d:/sdks/ruby/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
    from d:/sdks/ruby/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:1210:in `gem'
    from d:/sdks/ruby/ruby-1.9.2-p290/bin/buildr:18:in `<main>'
  1. 1 Posted by Luis Lavena on 04 Sep, 2011 01:11 PM

    Luis Lavena's Avatar


    Seems you forced the installation of x86-mswin32 gem on a x86-mingw32 version of Ruby.

    In theory, both mswin32 and mingw32 share the same C runtime (MSVCRT) but both platforms are different, and the differences can be seen inside rbconfig.rb file, which contain platform and compiler specific details.

    They cannot be treated the same from that perspective.

    From what I can see on Buildr dependencies:

    The gem dependencies seems to be the same, except for win32console (coloring) which has been deprecated:

    Please contact the gem authors and inform about this and indicate that RubyInstaller (the version of Ruby you seems to be using) uses MinGW which results in x86-mingw32 as platform for it's gems and the deprecation about win32console.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac