Open Lukom opened 13 years ago
It doesn't work in bundle environment, I will fix it later, maybe need several days. Before that, you can copy filemanager.yml to config/, copy related folder to app/controllers/ and public/ manually, that should be work.
I have Rails 3 app and I'm trying to setup filemanager. What I've done:
bundle install
require 'rails/all'
: $FM_OVERWRITE = true require 'filemanager' thenrails server
and got exception: DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. C:/Ruby187/lib/ruby/1.8/fileutils.rb:1236:in `mkdir' ... C:/Ruby187/lib/ruby/gems/1.8/gems/filemanager-0.3.1/lib/filemanager.rb:16 ... D:/projects/lukomorg/config/application.rb:7 ... Uncaught exception: No such file or directory - /vendor/plugins