Require line in Rakefile prevents Hobo gems from being upgraded
Reported by Matt Jones | October 16th, 2009 @ 08:58 PM | in Beyond Hobo 1.0
(thanks to Betelgeuse for reporting this originally!)
As described on this ticket, the require statement that pulls in the Hobo rake tasks causes Rails to load the gem early. The result is that tasks like gems:install and gems:unpack don't work at all. They don't fail, as the code specifically detects the early loading and skips them entirely. (A behavior that guards against some edge cases where the gems aren't installed at the system level - vendored gems aren't on the load path when the Rakefile gets read.)
This goes back to a lower-level issue with using rake tasks from gems; see this old ticket for details.
Not sure if there's a workaround for now; the Rails 3 bundler may bring some clarity on this issue.
Comments and changes to this ticket
-
Bryan Larsen October 22nd, 2009 @ 09:33 PM
- State changed from new to open
-
Bryan Larsen October 29th, 2009 @ 11:16 PM
- Tag changed from gems, rake to defect, gems, rake
-
Matt Jones September 21st, 2011 @ 03:31 PM
- State changed from open to resolved
- Milestone order changed from 0 to 0
Bundler solves this problem. Closing.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป