This runs provides an .optim job for dragonfly and also adds the .optim job into .thumb
This requires you have the 'image_optim' gem and it's dependencies.
unless File.exists?('Gemfile') | |
File.write('Gemfile', <<-GEMFILE) | |
source 'https://rubygems.org' | |
gem 'rails', github: 'rails/rails' | |
gem 'sqlite3' | |
GEMFILE | |
system 'bundle' | |
end |
This runs provides an .optim job for dragonfly and also adds the .optim job into .thumb
This requires you have the 'image_optim' gem and it's dependencies.
unless File.exists?('Gemfile') | |
File.write('Gemfile', <<-GEMFILE) | |
source 'https://rubygems.org' | |
gem 'rails', github: 'rails/rails' | |
gem 'sqlite3' | |
GEMFILE | |
system 'bundle' | |
end |
unless File.exists?('Gemfile') | |
File.write('Gemfile', <<-GEMFILE) | |
source 'https://rubygems.org' | |
gem 'rails', github: 'rails/rails' | |
gem 'sqlite3' | |
GEMFILE | |
system 'bundle' | |
end |
(function() { | |
window.DS = Ember.Namespace.create({ | |
// this one goes to 11 | |
CURRENT_API_REVISION: 11 | |
}); | |
})(); | |
// Version: v1.0.0-pre.2-311-g668783a | |
// Last commit: 668783a (2013-01-06 21:10:55 -0800) | |
(function() { | |
/*global __fail__*/ | |
/** | |
Ember Debug |
Gem::Specification.new do |gem| | |
gem.name = 'minimal_gem' | |
gem.version = '0.0.1' | |
gem.date = Date.today.to_s | |
gem.summary = "an awesome gem" | |
gem.description = "extended description" | |
gem.authors = ['Me'] | |
gem.email = '[email protected]' |
begin | |
require 'aws/s3' | |
rescue LoadError => e | |
e.message << " (You may need to install the aws-s3 gem)" | |
raise e | |
end | |
class SitemapS3Publisher | |
def generate | |
sitemap.create |