Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

using bundler to handle dependencies

  • Loading branch information...
commit 7fa50859df301487ee8b878d0709cb1f6e0727d7 1 parent a9e3887
@isc isc authored
Showing with 14 additions and 3 deletions.
  1. +10 −0 Gemfile
  2. +4 −3 Rakefile
View
10 Gemfile
@@ -0,0 +1,10 @@
+source :rubygems
+
+gem 'jeweler'
+
+gem 'activerecord', '>= 2.0.0'
+
+group :test do
+ gem 'rspec', '1.3.1'
+ gem 'sqlite3-ruby'
+end
View
7 Rakefile
@@ -1,5 +1,8 @@
require 'rubygems'
require 'rake'
+require 'bundler'
+
+Bundler.setup
begin
require 'jeweler'
@@ -11,7 +14,7 @@ begin
gem.homepage = "http://github.com/binarylogic/searchlogic"
gem.authors = ["Ben Johnson of Binary Logic"]
gem.rubyforge_project = "searchlogic"
- gem.add_dependency "activerecord", ">= 2.0.0"
+ gem.add_bundler_dependencies
end
Jeweler::GemcutterTasks.new
rescue LoadError
@@ -30,6 +33,4 @@ Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.rcov = true
end
-task :spec => :check_dependencies
-
task :default => :spec
Please sign in to comment.
Something went wrong with that request. Please try again.