You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/03/26 19:03:12 UTC

git commit: Removed 'pry' from client Rakefile

Updated Branches:
  refs/heads/master e107d206e -> ac319b341


Removed 'pry' from client Rakefile


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/ac319b34
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/ac319b34
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/ac319b34

Branch: refs/heads/master
Commit: ac319b34135f7db0ffd5411cc4e7941a4bb62aa3
Parents: e107d20
Author: Michal Fojtik <mf...@redhat.com>
Authored: Tue Mar 26 19:02:52 2013 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Tue Mar 26 19:02:52 2013 +0100

----------------------------------------------------------------------
 client/Rakefile |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ac319b34/client/Rakefile
----------------------------------------------------------------------
diff --git a/client/Rakefile b/client/Rakefile
index 17d0cdd..8ff33d0 100644
--- a/client/Rakefile
+++ b/client/Rakefile
@@ -18,8 +18,6 @@ require 'rubygems/package_task'
 require 'rake'
 require 'rake/testtask'
 
-require 'pry' rescue LoadError
-
 spec = Gem::Specification.load('deltacloud-client.gemspec')
 
 Gem::PackageTask.new(spec) do |pkg|
@@ -91,6 +89,7 @@ end
 
 desc "Open console with client connected to #{ENV['API_URL'] || 'localhost:3002/api'}"
 task :console do
+  require 'pry'
   unless binding.respond_to? :pry
     puts 'To open a console, you need to have "pry" installed (gem install pry)'
     exit(1)