ToDo #1117

avatar

sudo rake gems:install --trace throws "application.rb not found" error

Added by Bess Sadler 44 days ago. Updated 23 days ago.

Status:Moved to Jira Start:07/27/2010
Priority:Normal Due date:07/29/2010
Assigned to:avatarBess Sadler % Done:

0%

Category:- Spent time: -
Target version:Hydrangea 0.9 (Release Candidate)

Description

If you run "rake gems:install" and are missing any of the gems required, you'll get an error saying application.rb not found"
This is because vendor/plugins/resource_controller/lib/resource_controller.rb

It can be fixed by commenting out these lines:

begin
require_dependency 'application_controller'
rescue LoadError => e
require_dependency 'application'
end

But this needs a more permanent fix. I suspect that more recent versions of resource_controller don't have this backwards-compatibility hack, and possibly the latest release of blacklight doesn't even use resource_controller.

History

Updated by Matt Zumwalt 41 days ago

avatar
  • Target version changed from Beta Iteration 1 to Beta Iteration 5 / Final Cleanup

Updated by Matt Zumwalt 38 days ago

avatar
  • Target version changed from Beta Iteration 5 / Final Cleanup to Hydrangea 0.9 (Release Candidate)

Updated by Matt Zumwalt 23 days ago

avatar
  • Status changed from New to Moved to Jira

Also available in: Atom PDF