mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Bundle AMo
This commit is contained in:
parent
cb8b0f4a5a
commit
02b76862e1
2 changed files with 18 additions and 2 deletions
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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue