lib/copy/generators/site/config.ru in copy-0.0.41 vs lib/copy/generators/site/config.ru in copy-0.1.0
- old
+ new
@@ -1,11 +1,8 @@
-begin
- require 'copy'
-rescue LoadError
- require 'rubygems'
- require 'copy'
-end
+require 'rubygems'
+require 'bundler/setup'
+Bundler.require(:default)
Copy::Server.config do
# Sets a Cache-Control header for the duration specified.
# Heroku friendly: http://devcenter.heroku.com/articles/http-caching
#
@@ -18,9 +15,10 @@
#
# set :copy_username, ENV['COPY_USERNAME']
# set :copy_password, ENV['COPY_PASSWORD']
# Enter the URL to your data store.
+ # Be sure to uncomment the correlating gems in your Gemfile.
# "redis://", "mongodb://", "mysql://", "postgres://", and "sqlite://" are supported.
# Heroku friendly: http://devcenter.heroku.com/articles/mongohq
#
# set :storage, ENV['MONGOHQ_URL']
end
\ No newline at end of file