Skip to content

Instantly share code, notes, and snippets.

@shageman
Created February 18, 2010 23:05
Show Gist options
  • Save shageman/308188 to your computer and use it in GitHub Desktop.
Save shageman/308188 to your computer and use it in GitHub Desktop.
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<rails>, [">= 2.2"])
else
s.add_dependency(%q<rails>, [">= 2.2"])
end
else
s.add_dependency(%q<rails>, [">= 2.2"])
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment