Created
January 16, 2012 21:50
-
-
Save soupmatt/1623214 to your computer and use it in GitHub Desktop.
BUNDLE_WITHOUT Heroku Cedar fix
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
gem 'rails' | |
# hack to make heroku cedar not install special groups | |
def hg(g) | |
(ENV['HOME'].gsub('/','') == 'app' ? 'test' : g) | |
end | |
group hg(:cucumber) do | |
gem 'cucumber-rails' | |
gem 'capybara' | |
gem 'database_cleaner' | |
end | |
# command line tools | |
group hg(:tools) do | |
gem 'heroku' | |
gem 'taps' | |
gem 'ZenTest' | |
end | |
# mac os x specific | |
group hg(:darwin) do | |
gem 'autotest-growl' | |
gem 'autotest-fsevent' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
unfortunately it doesn't help with the situation where you want to have a :path source for a development group gem :(