Permalink
Browse files

add thor task to install rspec gems without dev dependencies

  • Loading branch information...
1 parent 2d0425f commit 71235621ea4781ada22a3eafaaff34ed6dabc474 @dchelimsky dchelimsky committed May 6, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 Thorfile
View
@@ -0,0 +1,8 @@
+class Gem < Thor
+ desc "install VERSION", "install the gems"
+ def install(version)
+ %w[rspec-expectations rspec-mocks rspec-core rspec rspec-rails].each do |lib|
+ system "gem install repos/#{lib}/pkg/#{lib}-#{version}.gem"
+ end
+ end
+end

0 comments on commit 7123562

Please sign in to comment.