1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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') bundled = "#{File.dirname(__FILE__)}/../vendor/gems/environment"
$:.unshift(File.dirname(__FILE__) + '/../../../activesupport/lib') if File.exist?("#{bundled}.rb")
require bundled
else
$:.unshift(File.dirname(__FILE__) + '/../../lib')
$:.unshift(File.dirname(__FILE__) + '/../../../activesupport/lib')
end
require 'config' require 'config'