From 98622a1c291277ff124a586929c675e9ae67692e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 18 Apr 2010 21:33:40 -0700 Subject: use the excellent `isolate' gem for dev It should make life easier when dealing with and testing complex dependencies, especially ones like Cramp which depend on prerelease versions of gems. --- Rakefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 219744a..cb4cae0 100644 --- a/Rakefile +++ b/Rakefile @@ -183,3 +183,10 @@ task :fm_update do p http.post(uri.path, req, {'Content-Type'=>'application/json'}) end end + +desc 'isolate gems for development' +task :isolate do + require 'isolate' + Isolate.gems "tmp/gems/#{RUBY_VERSION}", + :file => ENV['ISOLATE_CONFIG'] +end -- cgit v1.2.3-24-ge0c7