Skip to content

Instantly share code, notes, and snippets.

@lacco
Created November 23, 2009 09:13
Show Gist options
  • Save lacco/240976 to your computer and use it in GitHub Desktop.
Save lacco/240976 to your computer and use it in GitHub Desktop.
begin
require_dependency 'application_controller'
rescue LoadError => e
puts e
puts e.backtrace.join("\n")
require_dependency 'application'
end
[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment