align-toparrow-leftarrow-rightbackbellblockcalendarcamerachatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditemptyheartfacebookfullheartglobegoogleimagesinstagramlocation-pinmagnifying-glassmailmoremuplabelShape 3 + Rectangle 1outlookpersonplusImported LayersImported LayersImported Layersshieldstartwitteryahoo

RE: [ruby-81] Rails 1.2.6 and 2.x co-existing on a Windows box?

From: Jon S.
Sent on: Monday, April 21, 2008 8:22 PM
VERY Weird... the old (1.2.6) apps issued the following messages before
crashing:

=====
** Loading any Rails specific GemPlugins 
Exiting
C:/Dev/InstantRails/­ruby/lib/ruby/site_r­uby/1.8/rubygems/cus­tom_require.rb:2
7:in `gem_original_requir­e': no such file to load --
C:/Dev/InstantRails/­ruby/lib/ruby/gems/1­.8/gems/mongrel-1.0.­1-x86-mswin32/li
b/mongrel/init.rb (MissingSourceFile) 
=====

* Notice the platform for the Mongrel file is "x86-mswin32"
* Notice also that it was in Mongrel itself that it failed: The message
"Loading any Rails specific GemPlugins" is issued directly from Mongrel, so
Rails had certainly been able to find Mongrel and start it running.
* So I looked into the gem directory and found that the Mongrel gem
directory was called "mswin32" - the 'x86-' was missing.
* To fix this problem, all I did was rename the Mongrel gem directory to
include the 'x86-' and now it runs perfectly.

The RubyGems update put me at version 1.1.1, so I'm guessing that this later
version is much more strict as to the gem platform names; the old version
somehow took either one, but the newer version won't. Or maybe Mongrel
itself got too specific?

Any other thoughts as to what was going on here? Everything was running fine
this morning before install the new gem software...

Cheers...jon



Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy