Sha256: 5f2bf0675c9a746544771ef225c77d47ac9316646e2e9b44a97eccb3ad874981
Contents?: true
Size: 755 Bytes
Versions: 30
Compression:
Stored size: 755 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'utopia/setup' require 'rake' $app = Rake.application = Rake::Application.new $app.init('Utopia') task :setup do Utopia::Setup.copy(Dir.getwd) if `which thin`.strip == "" $stderr.puts "Next, please install thin: `sudo gem install thin'." $stderr.puts "Once you've done that, type `thin start' to start the web server." else $stderr.puts "Type `thin start' to start the web server." end if `which git`.strip == "" $stderr.puts "Now is a good time to learn about git : http://git-scm.com/" end unless File.exist? '.git' $stderr.puts "I recommend using git for version control." end $stderr.puts "*** Thanks for trying out Utopia! ***" end task :default => :setup $app.top_level
Version data entries
30 entries across 30 versions & 1 rubygems