Bundle AMo

This commit is contained in:
Yehuda Katz
2009-10-15 14:04:18 -07:00
parent cb8b0f4a5a
commit 02b76862e1
2 changed files with 18 additions and 2 deletions

11
activemodel/Gemfile Normal file
View File

@@ -0,0 +1,11 @@
rails_root = Pathname.new(File.dirname(__FILE__)).join("..")
Gem.sources.each { |uri| source uri }
gem "activesupport", "3.0.pre", :vendored_at => rails_root.join("activesupport")
only :test do
gem "sqlite3-ruby"
end
disable_system_gems

View File

@@ -1,5 +1,10 @@
$:.unshift(File.dirname(__FILE__) + '/../../lib')
$:.unshift(File.dirname(__FILE__) + '/../../../activesupport/lib')
bundled = "#{File.dirname(__FILE__)}/../vendor/gems/environment"
if File.exist?("#{bundled}.rb")
require bundled
else
$:.unshift(File.dirname(__FILE__) + '/../../lib')
$:.unshift(File.dirname(__FILE__) + '/../../../activesupport/lib')
end
require 'config'