Created
December 8, 2010 21:23
-
-
Save wayneeseguin/733937 to your computer and use it in GitHub Desktop.
Selecting based on Ruby Version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group :development do | |
if RUBY_VERSION =~ /1.9/ | |
gem "ruby-debug19" | |
else | |
gem "ruby-debug" | |
fi | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
your bash is polluting your ruby :) , its supposed to be an end not an fi :)