Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.521 kb
require "fileutils"
include FileUtils::Verbose
RAILS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "..")) unless defined?(RAILS_ROOT)
mkdir_p File.join(RAILS_ROOT, "vendor", "sprockets")
mkdir_p File.join(RAILS_ROOT, "app", "javascripts")
touch File.join(RAILS_ROOT, "app", "javascripts", "application.js")
unless File.exists?(File.join(RAILS_ROOT, "config", "sprockets.yml"))
cp File.join(File.dirname(__FILE__), "config", "sprockets.yml"),
File.join(RAILS_ROOT, "config")
end
Jump to Line
Something went wrong with that request. Please try again.