Slide 14
Slide 14 text
booting
# environment.rb
if rails3?
require File.expand_path('../environment3', __FILE__)
else
require File.expand_path('../environment2', __FILE__)
end
# boot.rb
!
if rails3?
puts "Booting Rails 3..."
require File.expand_path('../boot3', __FILE__)
else
puts "Booting Rails 2..."
require File.expand_path('../boot2', __FILE__)
end