Skip to content

Instantly share code, notes, and snippets.

@wayneeseguin
Created December 8, 2010 21:23
Show Gist options
  • Save wayneeseguin/733937 to your computer and use it in GitHub Desktop.
Save wayneeseguin/733937 to your computer and use it in GitHub Desktop.
Selecting based on Ruby Version
group :development do
if RUBY_VERSION =~ /1.9/
gem "ruby-debug19"
else
gem "ruby-debug"
fi
end
@hamin
Copy link

hamin commented Dec 8, 2010

your bash is polluting your ruby :) , its supposed to be an end not an fi :)

@hamin
Copy link

hamin commented Dec 8, 2010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment