-
-
Save bmizerany/132396 to your computer and use it in GitHub Desktop.
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
Rails::Initializer.run do |config| | |
# Require the latest version of haml | |
config.gem "haml" | |
# Require a specific version of chronic | |
config.gem "chronic", :version => '0.2.3' | |
# Require a gem from a non-standard repo | |
config.gem "hpricot", :source => "http://code.whytheluckystiff.net" | |
# Require a gem that needs to require a file different than the gem's name | |
# I.e. if you normally load the gem with require 'aws/s3' instead of | |
# require 'aws-s3' then you would need to specify the :lib option | |
config.gem "aws-s3", :lib => "aws/s3" | |
end |
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
Rails::Initializer.run do |config| | |
%w|haml chronic hpricot aws-s3|.each do |gem| | |
config.gem gem | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment