This project is archived and is in readonly mode.

#2469 ✓stale
samuel365 (at gmail)

Latest hpricot installed always loaded on rake tasks, despite config.gem version

Reported by samuel365 (at gmail) | April 9th, 2009 @ 10:31 PM | in 3.x

Despite which hpricot version is on gem.config at environment.rb, the latest version is always loaded on rake tasks.

The problem seems to at misk.rake, as it requires 'active_support' which then loads the latest hpricot gem before the environment is loaded.

Comments and changes to this ticket

  • Matt Jones

    Matt Jones June 6th, 2009 @ 08:48 PM

    Which version of hpricot do you have installed? More recent versions include fast_xs, which most modern versions of rake will attempt to load if available. When I've seen this in the past, that's been the source of this issue.

  • samuel365 (at gmail)

    samuel365 (at gmail) June 6th, 2009 @ 09:04 PM

    I'm now using the latest version (0.8.1), so this is not a problem to me anymore.

    But as I said, the problem seemed to be on that line... as there it was loading 'active_support' and then the latest version of hpricot before the environment gem configs were loaded.

    Does that "require 'active_support'" really belong to there?

  • Mislav

    Mislav October 8th, 2009 @ 02:20 PM

    • Tag set to activesupport, bug, fast_xs, hpricot, incompatibility, load

    Rails really shouldn't try to load the "fast_xs" extension. Pitfalls are described on Pivotal labs blog (and comments)

  • Jeremy Kemper

    Jeremy Kemper May 4th, 2010 @ 06:48 PM

    • Milestone changed from 2.x to 3.x
  • rails

    rails February 26th, 2011 @ 12:00 AM

    • State changed from “new” to “open”
    • Importance changed from “” to “”

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

  • rails

    rails February 26th, 2011 @ 12:00 AM

    • State changed from “open” to “stale”

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>

People watching this ticket