Skip to content

Instantly share code, notes, and snippets.

@maletor
Forked from divoxx/lame_gems.rb
Created April 4, 2013 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maletor/5315102 to your computer and use it in GitHub Desktop.
Save maletor/5315102 to your computer and use it in GitHub Desktop.
groups = Rails.groups(assets: %w(development test))
groups << ENV["GITHUB_USER"] unless user.blank? unless Rails.env.production?
Bundler.require(*groups)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment