root/mrblog/trunk/config/boot.rb
| Revision 1315, 344 bytes (checked in by jon.egil.stra..@gmail.com, 10 months ago) |
|---|
| Line | |
|---|---|
| 1 | frozen_framework_path = File.join(File.dirname(__FILE__), "..", "framework") |
| 2 | |
| 3 | unless defined?(Merb::framework_root) |
| 4 | if File.directory?(frozen_framework_path) |
| 5 | $:.unshift frozen_framework_path |
| 6 | require File.join(frozen_framework_path, "merb") |
| 7 | else |
| 8 | require 'rubygems' # required for test_unit loading |
| 9 | require 'merb' |
| 10 | end |
| 11 | end |
Note: See TracBrowser for help on using the browser.
