Browse files

easier to switch between activerecord version

  • Loading branch information...
1 parent f435ee5 commit da1850782f036b975dc5f94180619cec384b8fdc @godfat godfat committed Jul 8, 2011
Showing with 4 additions and 2 deletions.
  1. +1 −1 Gemfile
  2. +1 −1 Rakefile
  3. +2 −0 test/common.rb
View
2 Gemfile
@@ -1,7 +1,7 @@
source 'http://rubygems.org'
-gem 'activerecord'
+gem 'activerecord'#, '<3'
gem 'sqlite3' , :platforms => [ :ruby]
gem 'activerecord-jdbcsqlite3-adapter', :platforms => [:jruby]
View
2 Rakefile
@@ -3,7 +3,7 @@
require "#{dir = File.dirname(__FILE__)}/task/gemgem"
Gemgem.dir = dir
-($LOAD_PATH << File.expand_path("#{Gemgem.dir}/lib" )).uniq!
+($LOAD_PATH << File.expand_path("#{Gemgem.dir}/lib")).uniq!
desc 'Generate gemspec'
task 'gem:spec' do
View
2 test/common.rb
@@ -1,5 +1,7 @@
# encoding: utf-8
+require 'bundler/setup'
+
require 'cerealize'
require 'bacon'

0 comments on commit da18507

Please sign in to comment.