diff --git a/Gemfile b/Gemfile index cc6585d144..bd814396c2 100644 --- a/Gemfile +++ b/Gemfile @@ -14,6 +14,7 @@ gem "syntax" gem "rspec-core", :path => "." gem "rspec-expectations", :path => "../rspec-expectations" gem "rspec-mocks", :path => "../rspec-mocks" +gem "relish" unless RUBY_PLATFORM == "java" gem "ruby-prof" case RUBY_VERSION diff --git a/Rakefile b/Rakefile index 0b42e5e604..c00b0af65a 100644 --- a/Rakefile +++ b/Rakefile @@ -60,9 +60,9 @@ else end desc "Push cukes to relishapp using the relish-client-gem" -task :relish, :path_to_relish, :version do |t, args| - raise "rake relish[PATH_TO_RELISH, VERSION]" unless args[:version] && args[:path_to_relish] - sh "ruby -rrubygems -S #{args[:path_to_relish]} --organization rspec --project rspec-core -v #{args[:version]} push" +task :relish, :version do |t, args| + raise "rake relish[VERSION]" unless args[:version] + sh "bundle exec relish --organization rspec --project rspec-core -v #{args[:version]} push" end Rake::RDocTask.new do |rdoc|