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.

Error installing rails: actionpack requires rack-mount (~> 0.4.0, runtime)

#3918

I install all the gems for rails 3.0 pre release and I get this error when I try to run gem install rails --pre Error installing rails:

actionpack requires rack-mount (~> 0.4.0, runtime)

I have rack-mount 0.5.0 so I'm not sure what's going on here.

Reported by the_programmer · February 10th, 2010 @ 04:51 AM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Bachir El Khoury
    Bachir El Khoury

    it requires that exact version of rack-mount for some reason.

    install version 0.4.0 and it should all be fine

    gem install rack-mount --version=0.4.0
    

    February 10th, 2010 @ 05:25 AM

  2. José Valim
    José Valim
    • State changed from new to invalid

    The dependency is "~> 0.4.0", this means it accepts any "0.4.x" version. "0.5.0" is not accepted.

    February 10th, 2010 @ 06:40 AM

  3. chenillen
    chenillen

    That's the problem, i have 0.5.0 installed but it still need -> 0.4.0

    But install 0.4.0 works for me, that's weird

    February 10th, 2010 @ 06:01 PM

  4. Deleted User
    Deleted User
    • Tag set to documentation

    OK, installation notes on http://guides.rails.info/3_0_release_notes.html don't tell you to install rack-mount 0.4.0, that can be confusing if you just copy-paste the instructions

    February 14th, 2010 @ 10:51 AM