Buenas,
tengo una aplicación en rails 2.2.2 pero al arrancarla, me da este error:
script/server
=> Booting WEBrick...
/Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/ffi-1.0.11/lib/ffi/library.rb:249:in `attach_function': Function 'inotify_init' not found in [libc.dylib] (FFI::NotFoundError)
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/rb-inotify-0.8.8/lib/rb-inotify/native.rb:24
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require_without_desert'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require_without_desert'
from /Users/doc/foton/git/dogmatix/config/../extras/desert/lib/desert/ruby/object.rb:8:in `require'
from /Users/doc/foton/git/dogmatix/config/../extras/desert/lib/desert/ruby/object.rb:32:in `__each_matching_file'
from /Users/doc/foton/git/dogmatix/config/../extras/desert/lib/desert/ruby/object.rb:7:in `require'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/rb-inotify-0.8.8/lib/rb-inotify.rb:1
from /Users/doc/.rvm/gems/ruby-1.8.7-p334@global/gems/bundler-1.2.0/lib/bundler/runtime.rb:68:in `require'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334@global/gems/bundler-1.2.0/lib/bundler/runtime.rb:68:in `require'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334@global/gems/bundler-1.2.0/lib/bundler/runtime.rb:66:in `each'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334@global/gems/bundler-1.2.0/lib/bundler/runtime.rb:66:in `require'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334@global/gems/bundler-1.2.0/lib/bundler/runtime.rb:55:in `each'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334@global/gems/bundler-1.2.0/lib/bundler/runtime.rb:55:in `require'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334@global/gems/bundler-1.2.0/lib/bundler.rb:128:in `require'
from ./script/../config/boot.rb:41:in `load_gems'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/rails-2.2.2/lib/initializer.rb:159:in `process'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/rails-2.2.2/lib/initializer.rb:112:in `send'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/rails-2.2.2/lib/initializer.rb:112:in `run'
from /Users/doc/foton/git/dogmatix/config/environment.rb:17
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/rails-2.2.2/lib/commands/servers/webrick.rb:59
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
from /Users/doc/.rvm/gems/ruby-1.8.7-p334/gems/rails-2.2.2/lib/commands/server.rb:49
from script/server:3:in `require'
from script/server:3
Y no doy con la manera de arreglarlo... si quito la gema rb-inotify, aunque instale otra versión, bundler me obliga a reinstalar todas las gemas de nuevo.
¿Alguna sugerencia? :/
--
"El Mundo está en las manos de aquellos que tienen el coraje de soñar y correr el riesgo de vivir sus sueños."
http://www.docky.org
http://blog.dosbotones.comhttp://www.flickr.com/photos/cbolanoshttp://cristobolanos.fotoplatino.com
http://fotopunto.com/141289http://www.modelmayhem.com/cristobolanos