Skip to content

Instantly share code, notes, and snippets.

@vangberg
Created October 15, 2009 09:18
Show Gist options
  • Save vangberg/210844 to your computer and use it in GitHub Desktop.
Save vangberg/210844 to your computer and use it in GitHub Desktop.
config.gem => .gems
Rails.configuration.gems.map { |gem| "#{gem.name} #{%(--version '#{gem.requirement.to_s}') if gem.requirement} #{%(--source #{gem.source}) if gem.source}".rstrip }.join("\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment