Skip to content

Instantly share code, notes, and snippets.

@divoxx
Forked from maletor/lame_gems.rb
Last active December 15, 2015 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save divoxx/5315040 to your computer and use it in GitHub Desktop.
Save divoxx/5315040 to your computer and use it in GitHub Desktop.
Then anyone could have group "user@email.com" do end
groups = Rails.groups(assets: %w(development test))
unless Rails.env.production?
user = `cd "#{Rails.root}" && git config user.email`.chomp
groups << user unless user.blank?
end
Bundler.require(*groups)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment