MissingSourceFile (no such file to load -- aasm)

Added by m p over 11 years ago

Hi guys i get the error below everytime i try to update an issue.

i am using redmine-0.8.7 on sunOS 5.10

MissingSourceFile (no such file to load -- aasm):

/opt/webstack/ruby/1.8/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/opt/webstack/ruby/1.8/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
/vendor/plugins/redmine_kanban/app/models/kanban_issue.rb:1
/opt/webstack/ruby/1.8/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/opt/webstack/ruby/1.8/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:102:in `require_or_load_without_engine_additions'
/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:139:in `require_or_load'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:261:in `load_missing_constant'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in `const_missing'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:480:in `const_missing'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:273:in `load_missing_constant'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in `const_missing'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:273:in `load_missing_constant'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in `const_missing'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:273:in `load_missing_constant'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in `const_missing'
/vendor/plugins/redmine_kanban/lib/redmine_kanban/issue_patch.rb:32:in `update_kanban_from_issue'
/vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in `send'
/vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in `evaluate_method'
/vendor/rails/activesupport/lib/active_support/callbacks.rb:161:in `call'
/vendor/rails/activesupport/lib/active_support/callbacks.rb:93:in `run'
/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `each'
/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `send'
/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `run'
/vendor/rails/activesupport/lib/active_support/callbacks.rb:272:in `run_callbacks'
/vendor/rails/activerecord/lib/active_record/callbacks.rb:298:in `callback'
/vendor/rails/activerecord/lib/active_record/callbacks.rb:208:in `create_or_update'
/vendor/rails/activerecord/lib/active_record/base.rb:2211:in `save_without_validation'
/vendor/rails/activerecord/lib/active_record/validations.rb:911:in `save_without_dirty'
/vendor/rails/activerecord/lib/active_record/dirty.rb:75:in `save_without_transactions'
/vendor/rails/activerecord/lib/active_record/transactions.rb:106:in `save'
/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction'
/vendor/rails/activerecord/lib/active_record/transactions.rb:79:in `transaction'
/vendor/rails/activerecord/lib/active_record/transactions.rb:98:in `transaction'
/vendor/rails/activerecord/lib/active_record/transactions.rb:106:in `save'
/vendor/rails/activerecord/lib/active_record/transactions.rb:118:in `rollback_active_record_state!'
/vendor/rails/activerecord/lib/active_record/transactions.rb:106:in `save'
/app/controllers/issues_controller.rb:192:in `edit'
/vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `send'
/vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `perform_action_without_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/opt/webstack/ruby/1.8/lib/ruby/1.8/benchmark.rb:293:in `measure'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `passenger_orig_perform_action'
/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
/vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `passenger_orig_perform_action'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/railz/request_handler.rb:65:in `perform_action'
/vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
/vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
/vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
/vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/railz/request_handler.rb:50:in `process_request'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/railz/application_spawner.rb:400:in `start_request_handler'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/railz/application_spawner.rb:351:in `handle_spawn_application'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/utils.rb:184:in `safe_fork'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/railz/application_spawner.rb:349:in `handle_spawn_application'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/abstract_server.rb:352:in `__send__'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/abstract_server.rb:163:in `start'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/railz/application_spawner.rb:209:in `start'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/abstract_server.rb:352:in `__send__'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/var/opt/webstack/ruby/1.8/gem_home/gems/passenger-2.2.9/bin/passenger-spawn-server:61

Rendering /opt/redmine-0.8.7/public/500.html (500 Internal Server Error)

Replies (1)

RE: MissingSourceFile (no such file to load -- aasm) -------fixed - Added by m p over 11 years ago

was missing a gem:

sudo gem sources -a http://gems.github.com
sudo gem install rubyist-aasm

(1-1/1)