aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-09-14 03:14:53 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-09-14 03:14:53 -0700
commitbad67f8a4a480a41adb9541ddc11d1dce08990f4 (patch)
tree81c668295e496b88e2d46eeb697f554fd07d1b83
parenta727cef713c75875941f56fc1e3779216c93d539 (diff)
downloadrails-bad67f8a4a480a41adb9541ddc11d1dce08990f4.tar.gz
rails-bad67f8a4a480a41adb9541ddc11d1dce08990f4.tar.bz2
rails-bad67f8a4a480a41adb9541ddc11d1dce08990f4.zip
Submodule rails master rather than rely on gems
-rw-r--r--.gitmodules3
-rw-r--r--Rakefile1
m---------vendor/rails6
3 files changed, 10 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000000..5f43dd3ae5
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "vendor/rails"]
+ path = vendor/rails
+ url = git://github.com/rails/rails.git
diff --git a/Rakefile b/Rakefile
index 17a6f8d35d..cc5249c2c5 100644
--- a/Rakefile
+++ b/Rakefile
@@ -20,6 +20,7 @@ namespace :spec do
for adapter in %w[mysql sqlite3 postgresql]
desc "Run specs with the #{adapter} database adapter"
Spec::Rake::SpecTask.new(adapter) do |t|
+ t.libs << "#{File.dirname(__FILE__)}/vendor/rails/activerecord/lib"
t.spec_files =
["spec/connections/#{adapter}_connection.rb"] +
["spec/schemas/#{adapter}_schema.rb"] +
diff --git a/vendor/rails b/vendor/rails
new file mode 160000
+Subproject 181cd109d9812d371e2d554a4846f0b2b25b169