Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (27 sloc) 0.672 kb
desc "Install gems that this app depends on. May need to be run with sudo."
namespace :gems do
desc "Install necessary gems"
task :install do
dependencies = [
"haml --version '>= 2.2.9'",
"compass --version '>= 0.8.17'",
"sinatra",
"shotgun"
]
dependencies.each do |dependency|
command = "gem install #{dependency} --source http://gemcutter.org"
puts command
system command
end
end
end
namespace :compass do
desc "Start Compass watching the SASS directory"
task :watch do
system "compass -w -c config/compass.rb"
end
end
desc "Start local server"
task :server do
system "shotgun app.rb"
end
Jump to Line
Something went wrong with that request. Please try again.