lib/papermill.rb in papermill-0.16.1 vs lib/papermill.rb in papermill-0.16.2
- old
+ new
@@ -5,10 +5,10 @@
File.send :include, PapermillFileExtensions
String.send :include, StringToUrlNotFound unless String.instance_methods.include? "to_url"
Formtastic::SemanticFormBuilder.send(:include, PapermillFormtasticExtensions) rescue NameError
begin
- require File.join(File.dirname(RAILS_ROOT), "config/initializers/papermill.rb")
+ require File.join(RAILS_ROOT, "config/initializers/papermill.rb")
rescue LoadError
require 'papermill/papermill_options.rb'
end
require 'paperclip' unless defined?(Paperclip)