lib/exlibris-aleph.rb in exlibris-aleph-0.0.2 vs lib/exlibris-aleph.rb in exlibris-aleph-0.1.0
- old
+ new
@@ -12,9 +12,10 @@
'config/tab_www_item_desc',
'tab_helper',
'rest',
'record',
'patron',
- 'bor_auth'
+ 'bor_auth',
+ 'railtie'
].each do |library|
- require PATH + library
+ require PATH + library if defined?(Rails)
end
\ No newline at end of file