Created
May 17, 2012 07:08
-
-
Save jeroenr/2717128 to your computer and use it in GitHub Desktop.
Elmar on rails
This file contains hidden or 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
if defined?(Bundler) | |
# If you precompile assets before deploying to production, use this line | |
Bundler.require *Rails.groups(:assets => %w(development test)) | |
# If you want your assets lazily compiled in production, use this line | |
# Bundler.require(:default, :assets, Rails.env) | |
end |
This file contains hidden or 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
load 'deploy/assets' |
This file contains hidden or 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
location ~ ^/(assets)/ { | |
root /path/to/public; | |
gzip_static on; # to serve pre-gzipped version | |
expires max; | |
add_header Cache-Control public; | |
} |
This file contains hidden or 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
source 'https://rubygems.org' | |
gem 'rails', '3.2.3' | |
gem 'knockout-rails', '~> 1.0.1' | |
# Gems used only for assets and not required | |
# in production environments by default. | |
group :assets do | |
gem 'sass-rails', '~> 3.2.3' | |
gem 'coffee-rails', '~> 3.2.1' | |
gem 'uglifier', '>= 1.0.3' | |
end | |
gem 'jquery-rails' | |
group :development, :test do | |
gem "rspec-rails", ">= 2.8.1" | |
end | |
group :test do | |
gem "factory_girl_rails", ">= 1.6.0" | |
gem "cucumber-rails", ">= 1.2.1" | |
gem "capybara", ">= 1.1.2" | |
gem "database_cleaner" | |
gem "launchy" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment