770
771
772
773
774
775
776
777
778
779
|
# File 'lib/initializer.rb', line 770
def framework_paths
paths = %w(erailties erailties/lib activesupport/lib)
paths << 'eactionpack/lib' if frameworks.include? :action_controller or frameworks.include? :action_view
[:active_record, :action_mailer, :active_resource, :action_web_service].each do |framework|
paths << "#{framework.to_s.gsub('_', '')}/lib" if frameworks.include? framework
end
paths.map { |dir| "#{framework_root_path}/#{dir}" }.select { |dir| File.directory?(dir) }
end
|