Issue #2383 has been updated by Christian Hofstaedtler.

John Barbuto wrote:
> @Puppet::Network::HTTP::Rack@ uses the @start_with@ string method introduced 
> in Ruby 1.9, which results in the following error when using Passenger in 1.8:

I'm a bit puzzled, I've never tested on 1.9, only on 1.8, so this code actually 
works for me. Maybe you're still on 1.8.5?

But yeah, if this improves compatibility across different 1.8.x versions, I'm 
all for it.
----------------------------------------
Bug #2383: rack support incompatibility with ruby 1.8
http://projects.reductivelabs.com/issues/2383

Author: John Barbuto
Status: Accepted
Priority: Normal
Assigned to: Christian Hofstaedtler
Category: plumbing
Target version: 0.25.0
Complexity: Trivial
Affected version: 0.25.0beta2
Keywords: 


@Puppet::Network::HTTP::Rack@ uses the @start_with@ string method introduced in 
Ruby 1.9, which results in the following error when using Passenger in 1.8:

<pre>
*** Exception NoMethodError in PhusionPassenger::Rack::ApplicationSpawner 
(undefined method `start_with?' for "/production/file_metadata/plugins":String) 
</pre>

I've attached a patch that replaces the @start_with@ method with Ruby 
1.8-compatible code.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to