lib/copy/generators/site/config.ru in copy-0.0.2 vs lib/copy/generators/site/config.ru in copy-0.0.3
- old
+ new
@@ -1,5 +1,10 @@
-require 'copy'
+begin
+ require 'copy'
+rescue LoadError
+ require 'rubygems'
+ require 'copy'
+end
Copy::Server.config do
# Sets a Cache-Control header for the duration specified.
# Heroku friendly: http://devcenter.heroku.com/articles/http-caching
#
\ No newline at end of file