Skip to content

Instantly share code, notes, and snippets.

@sarahmei
Created February 26, 2011 18:40
Show Gist options
  • Save sarahmei/845481 to your computer and use it in GitHub Desktop.
Save sarahmei/845481 to your computer and use it in GitHub Desktop.
if Gem::VERSION >= "1.3.6"
module Rails
class GemDependency
def requirement
r = super
(r == Gem::Requirement.default) ? nil : r
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment