This is an ultra quick announce for a bug fix release to Mongrel. It
corrects a small change in the HTTP parser that causes an error when
people
use multi-part forms in a certain way. The fix is literally 4
characters
changed in the parser specification.
Everyone should update to this release and let me know if their forms
act
really weird. I’ve tested various upload types but some folks seem to
be
doing original upload encodings. This parser should catch them
consistently.
You can upgrade using:
gem upgrade
Or using:
gem install mongrel
I just posted the gems so it might take a bit to get the fix.
I just posted the gems so it might take a bit to get the fix.
I do not know, if this is related to the deployment of the gems.
gem install mongrel
Attempting local installation of ‘mongrel’
Local gem file not found: mongrel*.gem
Attempting remote installation of ‘mongrel’
Updating Gem source index for: http://gems.rubyforge.org
Select which gem to install for your platform (powerpc-darwin8.0)
mongrel 0.3.12.2 (ruby)
mongrel 0.3.12.2 (mswin32)
mongrel 0.3.12.1 (mswin32)
mongrel 0.3.12.1 (ruby)
mongrel 0.3.12 (ruby)
mongrel 0.3.12 (mswin32)
mongrel 0.3.11 (ruby)
mongrel 0.3.11 (mswin32)
mongrel 0.3.10.1 (ruby)
mongrel 0.3.10 (ruby)
mongrel 0.3.9 (ruby)
mongrel 0.3.8 (mswin32)
mongrel 0.3.8 (ruby)
mongrel 0.3.7.1 (mswin32)
mongrel 0.3.7.1 (ruby)
mongrel 0.3.7 (ruby)
mongrel 0.3.6 (mswin32)
mongrel 0.3.6 (ruby)
mongrel 0.3.5 (ruby)
mongrel 0.3.5 (mswin32)
mongrel 0.3.4 (ruby)
mongrel 0.3.4 (mswin32)
mongrel 0.3.3 (ruby)
mongrel 0.3.2 (ruby)
mongrel 0.3.1 (ruby)
mongrel 0.3 (ruby)
mongrel 0.2.2 (ruby)
mongrel 0.2.1 (ruby)
mongrel 0.2.0 (ruby)
Cancel installation
1
Install required dependency daemons? [Yn]
ERROR: While executing gem … (ArgumentError)
parse error on line 0, col 31: `!ruby/object:Gem::Specification ’
I just posted the gems so it might take a bit to get the fix.
I do not know, if this is related to the deployment of the gems.
gem install mongrel
Attempting local installation of ‘mongrel’
[…]
Install required dependency daemons? [Yn]
ERROR: While executing gem … (ArgumentError)
parse error on line 0, col 31: `!ruby/object:Gem::Specification ’
Hmmm … my guess is that you are running Ruby 1.8.2 and the daemons gem
was generated on a Ruby 1.8.3 system. 1.8.3 omitted the “—” prefix on
yaml output which makes it incompatible with 1.8.2 systems. The Yaml in
Ruby 1.8.4 generates the ‘—’ (to be compatible with 1.8.2) and will
accept yaml without the ‘—’ (to be compatible with 1.8.3).
Confused yet?
Your course of action is to
(1) upgrade to Ruby 1.8.4
(2) talk the daemons author (or some other kind soul) to provide an
update
There is also a (3) option, which is try out the beta version of the
gems command (which patches 1.8.3 gems on the fly), but we just started
testing that and I’m not recommending it for general consumption yet.