aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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