mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Bundle AMo
This commit is contained in:
11
activemodel/Gemfile
Normal file
11
activemodel/Gemfile
Normal 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
|
||||
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user