Skip to content

Commit

Permalink
Move from git submodule to gem bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Oct 15, 2009
1 parent 5da109d commit 4cbd3f0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

10 changes: 10 additions & 0 deletions activerecord/Gemfile
@@ -0,0 +1,10 @@
Gem.sources.each { |uri| source uri }
sibling = "#{File.dirname(__FILE__)}/.."

gem "activesupport", "3.0.pre", :vendored_at => "#{sibling}/activesupport"
gem "activemodel", "3.0.pre", :vendored_at => "#{sibling}/activemodel"
gem "arel", :git => "git://github.com/rails/arel.git", :branch => 'master'

only :test do
gem "mocha"
end
1 change: 1 addition & 0 deletions activerecord/activerecord.gemspec
Expand Up @@ -9,6 +9,7 @@ Gem::Specification.new do |s|

s.add_dependency('activesupport', '= 3.0.pre')
s.add_dependency('activemodel', '= 3.0.pre')
s.add_dependency('arel', '~> 0.1.0')

s.require_path = 'lib'
s.autorequire = 'active_record'
Expand Down
3 changes: 3 additions & 0 deletions activerecord/test/cases/helper.rb
@@ -1,6 +1,9 @@
$:.unshift(File.dirname(__FILE__) + '/../../lib')
$:.unshift(File.dirname(__FILE__) + '/../../../activesupport/lib')

bundler = "#{File.dirname(__FILE__)}/../../vendor/gems/environment"
require bundler if File.exist?("#{bundler}.rb")

require 'config'

require 'rubygems'
Expand Down
1 change: 0 additions & 1 deletion arel
Submodule arel deleted from 927d8b

0 comments on commit 4cbd3f0

Please sign in to comment.