Changeset 5802 for branches/1-2-pre-release/railties/lib/initializer.rb
- Timestamp:
- 12/27/06 22:19:36 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1-2-pre-release/railties/lib/initializer.rb
r5739 r5802 389 389 $LOAD_PATH.insert(application_lib_index + 1, lib_path) 390 390 Dependencies.load_paths << lib_path 391 Dependencies.load_once_paths << lib_path 391 392 end 392 393 … … 612 613 end 613 614 615 # Doesn't matter since plugins aren't in load_paths yet. 614 616 def default_load_once_paths 615 plugin_root = "#{root_path}/vendor/plugins/" 616 default_load_paths.select do |path| 617 path[0, plugin_root.length] == plugin_root # No begins_with yet 618 end 617 [] 619 618 end 620 619