Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

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

#4103

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?

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

State: stale
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Francis Irving
    Francis Irving
    • Tag changed from rack debian version to rack, version

    March 3rd, 2010 @ 11:41 PM

  2. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to stale
    • Importance changed from to Low

    Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.

    October 9th, 2010 @ 03:21 AM

  3. bingbing