Я получаю следующую ошибку при попытке загрузить файл (простой pdf-файл размером 200 КБ) в rails-проект, который я сейчас настраиваю:
Как я могу узнать, что идет не так? Я использую Windows 7.
У меня такая же конфигурация работает без проблем в другой системе (в том числе и в Windows 7).
C: /Ruby/lib/ruby/gems/1.8/gems/scribed_fu-2.0.9/lib/scribed_fu.rb: 72: в `upload '
C: /Ruby/lib/ruby/gems/1.8/gems/scribed_fu-2.0.9/lib/scribed_fu.rb: 189: в файле upload_to_scribed
C: /Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb: 178: в `send '
C: /Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb: 178: в `я_методе '
C: /Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb: 166: в `call '
C: /Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb: 93: в `run '
C: /Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb: 92: в "каждом"
C: /Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb: 92: в `send '
C: /Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb: 92: в `run '
C: /Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb: 276: в `run_callbacks '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb: 344: в
`Обратного вызова '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb: 251: в
`Create_or_update '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb: 2538: в `save_without_validation '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/validations.rb: 1078: в `save_without_dirty '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/dirty.rb: 79: в `save_without_transactions '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb: 229: в `send '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb: 229: в `with_transaction_returning_status '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb: 136: в "транзакции"
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb: 182: в «транзакции»
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb: 228: в `with_transaction_returning_status '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb: 196: в `save '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb: 208: в `rollback_active_record_state! '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb: 196: в `save '
C: /Ruby/lib/ruby/gems/1.8/gems/rubyist-aasm-2.1.1/lib/aasm/persistence/active_record_persistence.rb: 196: в `aasm_write_state '
C: /Ruby/lib/ruby/gems/1.8/gems/rubyist-aasm-2.1.1/lib/aasm/aasm.rb: 107: в `set_aasm_current_state_with_persistence '
C: /Ruby/lib/ruby/gems/1.8/gems/rubyist-aasm-2.1.1/lib/aasm/aasm.rb: 160: в `aasm_fire_event '
C: /Ruby/lib/ruby/gems/1.8/gems/rubyist-aasm-2.1.1/lib/aasm/aasm.rb: 61: в convert!'
c:/xampp/htdocs/lightbulb/app/models/scribd_file.rb:30:in
after_initialize '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb: 347: в `send '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb: 347: в `callback '
C: / Ruby / lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2441:in `initialize '
c: / xampp / htdocs / lightbulb / app / controllers / attachments_controller.rb: 51: в `new '
c: /xampp/htdocs/lightbulb/app/controllers/attachments_controller.rb: 51: в` create_attachment'
c: / xampp / htdocs /lightbulb / app / controllers / attachments_controller.rb: 49: в "каждом"
c: /xampp/htdocs/lightbulb/app/controllers/attachments_controller.rb: 49: в `create_attachment '
c: /xampp/htdocs/lightbulb/app/controllers/attachments_controller.rb: 12: в `create '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `send '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331: в "execute_action_without_filters"
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5 / lib / action_controller / filters.rb: 617: в `call_filters '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb: 610: в `execute_action_without_benchmark '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb: 68: в` execute_action_without_rescue'
C: /Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb: 17: в `ms '
C: /Ruby / lib / ruby / 1.8 / benchmark.rb: 308: в режиме реального времени
C: /Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb: 68: в`execute_action_without_rescue '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb: 160: в `execute_action_without_flash'
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb: 146: в `execute_action '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb: 532: в `send'
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb: 532: в `process_without_filters '
C: / Ruby / lib / ruby / gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process_without_compass '
C: /Ruby/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17 / lib / compass / app_integration / rails / action_controller.rb: 7: in `process '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb: 386:в `call '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb: 437: в` call'
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb: 87: в `dispatch '
C: / Ruby / lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib / action_controller / dispatcher.rb: 121: в `_call '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb: 130: в `build_middleware_stack '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb: 29: в` call'
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb: 29: в `call '
C: / Ruby / lib /ruby / gems / 1.8 / gems / activerecord-2.3.5 / lib / active_record / connection_adapters / abstract / query_cache.rb: 34: в `cache '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib / active_record / query_cache.rb: 28: в `call '
C: /Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb: 361: в `call '
C:/Ruby/lib/ruby/gems/1.8/gems/haml-3.0.24/lib/sass/plugin/rack.rb:41:in `call '
C: / Ruby / lib / ruby /gems / 1.8 / gems / actionpack-2.3.5 / lib / action_controller / string_coercion.rb: 25: в `call '
C: /Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1 / lib / rack / head.rb: 9: в `call '
C: /Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb: 24: в `call '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb: 15: в` call'
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb: 93: в `call '
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call '
C: / Ruby / lib / ruby / gems /1.8 / gems / rack-1.0.1 / lib / rack / lock.rb: 11: в `call '
C: /Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/ Библиотека / гack / lock.rb: 11: в `синхронизация '
C: /Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb: 11: в`call '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb: 106: в` call'
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/cgi_process.rb: 44: в `dispatch_cgi '
C: / Ruby / lib / ruby /gems / 1.8 / gems / actionpack-2.3.5 / lib / action_controller / dispatcher.rb: 101: в `dispatch_cgi '
C: /Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5 / lib / action_controller / dispatcher.rb: 27: в `dispatch '
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel / rails.rb: 76: в `process '
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb: 74: в `синхронизация '
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb: 74: в`process '
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb: 159: в `process_client '
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb: 158: в "каждом"
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb: 158: в `process_client '
C: / Ruby / lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `run '
C: /Ruby/lib/ruby/gems/1.8/gems / mongrel-1.1.5-x86-mingw32 / lib / mongrel.rb: 285: в `initialize '
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32 / lib / mongrel.rb: 285: в "новом"
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb: 285: в `run '
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb: 268: в`initialize '
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb: 268: в` new'
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb: 268: в `run '
C: / Ruby /Библиотека / рубин / камни / 1.8 / драгоценные камни / беспородных-1.1.5-x86-mingw32 / Библиотека / беспородных / configurator.rb: 282: в `run '
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/configurator.rb: 281: в`каждый '
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/configurator.rb: 281: в `run'
C: /Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails: 128: in `run '
C: / Ruby / lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/command.rb:212:in `run '
C: / Ruby / lib / ruby / gems /1.8 / gems / mongrel-1.1.5-x86-mingw32 / bin / mongrel_rails: 281
C: / Ruby / bin / mongrel_rails: 19: в `load '
C: / Ruby/ bin / mongrel_rails: 19