<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -59,7 +59,6 @@ spec = Gem::Specification.new do |s|
 
 	s.add_dependency('rest-client', '&gt;= 0.9.0')
 	s.add_dependency('launchy', '&gt;=0.3.2')
-	s.add_dependency('taps', '&gt;= 0.2.8', '&lt; 0.3.0')
 	s.add_dependency('json', '&gt;= 1.1.0')
 end
 </diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -2,8 +2,6 @@
 
 require 'rubygems'
 
-gem 'taps', '&gt;= 0.2.8', '&lt; 0.3.0'
-
 $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')
 
 require 'heroku'</diff>
      <filename>bin/heroku</filename>
    </modified>
    <modified>
      <diff>@@ -19,6 +19,10 @@ module Heroku::Command
 			end
 		end
 
+		def error(msg)
+			Heroku::Command.error(msg)
+		end
+
 		def ask
 			gets.strip
 		end</diff>
      <filename>lib/heroku/commands/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,3 @@
-require 'taps/client_session'
-
 module Heroku::Command
 	class Db &lt; BaseWithApp
 		def pull
@@ -106,5 +104,14 @@ module Heroku::Command
 				yield client
 			end
 		end
+
+		def initialize(*args)
+			super(*args)
+
+			gem 'taps', '&gt;= 0.2.8', '&lt; 0.3.0'
+			require 'taps/client_session'
+		rescue LoadError
+			error &quot;Install the Taps gem to use db commands. On most systems this will be:\nsudo gem install taps&quot;
+		end
 	end
 end</diff>
      <filename>lib/heroku/commands/db.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b2bfbaa57843ab8457f547198ccfed0ce476d852</id>
    </parent>
  </parents>
  <author>
    <name>Pedro Belo</name>
    <email>pedro@heroku.com</email>
  </author>
  <url>http://github.com/sarahmei/heroku/commit/f8091c7d71d861dafc2c6aa13ca9f0a0495a5351</url>
  <id>f8091c7d71d861dafc2c6aa13ca9f0a0495a5351</id>
  <committed-date>2009-04-21T09:42:02-07:00</committed-date>
  <authored-date>2009-04-21T09:42:02-07:00</authored-date>
  <message>removed gem dependency with taps; lazy loading it</message>
  <tree>af28460825942f07572311a70adcc84c089522b9</tree>
  <committer>
    <name>Pedro Belo</name>
    <email>pedro@heroku.com</email>
  </committer>
</commit>
