This project is archived and is in readonly mode.

#2784 ✓duplicate

private method `split' called for #<Mime::Type:0x226f618>

Reported by ihunter | June 9th, 2009 @ 01:54 AM | in 2.x

Following error happens with Rack gem installed and vendored 2.3.2 rails:

/!\ FAILSAFE /!\ 06/08/2009 17:48 PM Status: 500 Internal Server Error private method split' called for #<Mime::Type:0x226f618>

/Users/ian/Projects/app/vendor/rails/actionpack/lib/action_controller/mime_type.rb:206:in `method_missing'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/request.rb:51:in `media_type'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/request.rb:117:in `parseable_data?'
/Library/Ruby/Gems/1.8/gems/rack-1.0.0/lib/rack/request.rb:138:in `POST'

Removing the Rack gem works, only problem is that rspec-rails needs the gem. Not sure where rails is getting rack from if it's not installed, is it bundled?

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

Referenced by