Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

using bundler

  • Loading branch information...
commit 217581709a4a4a18b9eab3b18d1fc52cfe904086 1 parent afa4532
@drnic drnic authored committed
Showing with 17 additions and 10 deletions.
  1. +1 −0  .gitignore
  2. +10 −0 Gemfile
  3. +6 −10 Rakefile
View
1  .gitignore
@@ -1,2 +1,3 @@
*.sqlite3
tmp/*
+*.rbc
View
10 Gemfile
@@ -0,0 +1,10 @@
+source :rubygems
+
+gem "activerecord", "~> 2.3"
+
+group :development do
+ gem "rake", "0.8.7"
+ gem "rspec", "1.3.0"
+ gem "sqlite3-ruby", "1.3.1"
+ gem "factory_girl", "1.3.2"
+end
View
16 Rakefile
@@ -1,13 +1,9 @@
-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
+require "rubygems"
+require "bundler"
+Bundler.setup :development
+
+require 'spec/rake/spectask'
+require 'rake/rdoctask'
desc 'Default: run unit tests.'
task :default => :spec
Please sign in to comment.
Something went wrong with that request. Please try again.