Skip to content
Browse files

first attempt at helping other developers

  • Loading branch information...
1 parent 28abe46 commit afa453264156854eb1834a6fc50b1d4a8f88a1db @drnic drnic committed with Aug 16, 2010
Showing with 10 additions and 2 deletions.
  1. +10 −2 Rakefile
View
12 Rakefile
@@ -1,5 +1,13 @@
-require 'spec/rake/spectask'
-require 'rake/rdoctask'
+begin
+ require 'spec/rake/spectask'
+ require 'rake/rdoctask'
+rescue LoadError
+ puts <<-EOS
+ Missing development dependencies:
+ gem install rspec factory_girl sqlite3-ruby activerecord
+ EOS
+ exit 1
+end
desc 'Default: run unit tests.'
task :default => :spec

0 comments on commit afa4532

Please sign in to comment.
Something went wrong with that request. Please try again.