From ae3b9480cfdfa8fc040d73c4da1e7a5523704296 Mon Sep 17 00:00:00 2001 From: Ben Schwarz Date: Tue, 10 Mar 2009 13:37:54 +1100 Subject: [PATCH] Added gem dependency on sprinkle 0.2.1 due to usage of new text installer --- config/deploy.rb.example | 4 +++- config/install.rb | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/config/deploy.rb.example b/config/deploy.rb.example index 6b1f1e8..2d123f1 100644 --- a/config/deploy.rb.example +++ b/config/deploy.rb.example @@ -2,4 +2,6 @@ role :app, "your-app-server.com" # Fill user in - if remote user is different to your local user -# set :user, "username" \ No newline at end of file +# set :user, "username" + + diff --git a/config/install.rb b/config/install.rb index 7c63ad5..4ca54e8 100644 --- a/config/install.rb +++ b/config/install.rb @@ -38,4 +38,12 @@ archives '/usr/local/sources' builds '/usr/local/build' end +end + +# Depend on a specific version of sprinkle +begin + gem 'sprinkle', ">= 0.2.1" +rescue Gem::LoadError + puts "sprinkle 0.2.1 required.\n Run: `sudo gem install sprinkle`" + exit end \ No newline at end of file