This project is archived and is in readonly mode.

#4103 ✓stale
Francis Irving

Way of checking rack version doesn't work with Debian rack package

Reported by Francis Irving | March 3rd, 2010 @ 11:40 PM

In rails/actionpack/lib/action_controller.rb, Rails checks the version of rack as follows:

gem 'rack', '~> 1.0.1'

I have the Debian package librack-ruby1.8 installed, which meets that version requirement. It would seem that the "gem" command requires that I have a gem installed, which I don't have, and don't want to have (due to organisational policy as to how to manage software package).

Perhaps it could check the dependency by requiring rack, then introspecting into it to check its version?

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>