Skip to content

Instantly share code, notes, and snippets.

@soupmatt
Created January 16, 2012 21:50
Show Gist options
  • Save soupmatt/1623214 to your computer and use it in GitHub Desktop.
Save soupmatt/1623214 to your computer and use it in GitHub Desktop.
BUNDLE_WITHOUT Heroku Cedar fix
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
@lastobelus
Copy link

unfortunately it doesn't help with the situation where you want to have a :path source for a development group gem :(

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