guard / rb-inotify

A thorough inotify wrapper for Ruby using FFI.
MIT License
312 stars 64 forks source link

Depreciation warning #19

Closed dakimaru closed 11 years ago

dakimaru commented 12 years ago

I have a depreciation warning for rb-inotify in my rails app. I was wondering if anyone else had it and how this can be resolved. It appears in almost any command, including db: commands and rails c for console. It does not affect the performance at this point, but gives me the following error message:

$ rails c
    DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins 
    will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app 
    as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: 
    http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. 
    (called from <top (required)> at /Users/jim/rails_projects/new_app/config/environment.rb:5)
    Loading development environment (Rails 3.2.3)
>>

The only item I have in vendor/plugins is rb-inotify. Please help!

2called-chaos commented 11 years ago

You might want to use it as a gem then? There is a gemspec file or just directly use the git repository if you're using bundler. Anyhow this only is a problem if you want to prepare for Rails 4 already.