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

Version Path
utopia-0.10.0 bin/utopia
utopia-0.9.61 bin/utopia
utopia-0.9.60 bin/utopia
utopia-0.9.59 bin/utopia
utopia-0.9.58 bin/utopia
utopia-0.9.57 bin/utopia
utopia-0.9.56 bin/utopia
utopia-0.9.55 bin/utopia
utopia-0.9.54 bin/utopia
utopia-0.9.53 bin/utopia
utopia-0.9.52 bin/utopia
utopia-0.9.51 bin/utopia
utopia-0.9.50 bin/utopia
utopia-0.9.49 bin/utopia
utopia-0.9.48 bin/utopia
utopia-0.9.47 bin/utopia
utopia-0.9.46 bin/utopia
utopia-0.9.45 bin/utopia
utopia-0.9.43 bin/utopia
utopia-0.9.42 bin/utopia