Permalink
Browse files

heeyyy list CAN do exit status

  • Loading branch information...
1 parent 1e785b2 commit 7411b808b91c2c8b2aca90ac8fc72203d4f3f0a9 @indirect indirect committed Apr 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -30,7 +30,7 @@ namespace :spec do
desc "Ensure spec dependencies are installed"
task :deps do
{"rdiscount" => "~> 1.6", "ronn" => "~> 0.7.3", "rspec" => "~> 2.13"}.each do |name, version|
- sh "#{Gem.ruby} -S gem list #{name} -v '#{version}' | grep '#{name}' -q || " \
+ sh "#{Gem.ruby} -S gem list #{name} -i -v '#{version}' || " \
"#{Gem.ruby} -S gem install #{name} -v '#{version}' --no-ri --no-rdoc"
end
end

0 comments on commit 7411b80

Please sign in to comment.