##// END OF EJS Templates
PDF: update rfpdf (#61)....
PDF: update rfpdf (#61). https://github.com/edwinmoss/rfpdf revision a04724b4af95c15a99675b34e353c15534d20411 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5247 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2790:bcbf08017a5f
r5127:22e8d9b94962
Show More
boot.rb
16 lines | 732 B | text/x-ruby | RubyLexer
begin
require 'rails/version'
unless Rails::VERSION::MAJOR >= 2 && Rails::VERSION::MINOR >= 3 && Rails::VERSION::TINY >= 2
raise "This version of the engines plugin requires Rails 2.3.2 or later!"
end
end
require File.join(File.dirname(__FILE__), 'lib/engines')
# initialize Rails::Configuration with our own default values to spare users
# some hassle with the installation and keep the environment cleaner
{ :default_plugin_locators => (defined?(Gem) ? [Rails::Plugin::GemLocator] : []).push(Engines::Plugin::FileSystemLocator),
:default_plugin_loader => Engines::Plugin::Loader,
:default_plugins => [:engines, :all] }.each do |name, default|
Rails::Configuration.send(:define_method, name) { default }
end