After an update... do you have a idea? /home/dhe/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/psych.rb:148:in `parse'' /home/dhe/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/psych.rb:148:in `parse_stream'' /home/dhe/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/psych.rb:119:in `parse'' /home/dhe/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/psych.rb:106:in `load'' /home/dhe/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/psych.rb:205:in `load_file'' i18n (0.5.0) lib/i18n/backend/base.rb:170:in `load_yml'' i18n (0.5.0) lib/i18n/backend/base.rb:156:in `load_file'' i18n (0.5.0) lib/i18n/backend/base.rb:15:in `block in load_translations'' i18n (0.5.0) lib/i18n/backend/base.rb:15:in `each'' i18n (0.5.0) lib/i18n/backend/base.rb:15:in `load_translations'' i18n (0.5.0) lib/i18n/backend/simple.rb:55:in `init_translations'' i18n (0.5.0) lib/i18n/backend/simple.rb:69:in `lookup'' i18n (0.5.0) lib/i18n/backend/base.rb:26:in `translate'' i18n (0.5.0) lib/i18n.rb:155:in `translate'' devise (1.1.5) lib/devise/controllers/internal_helpers.rb:89:in `set_flash_message'' devise (1.1.5) app/controllers/devise/sessions_controller.rb:14:in `create'' actionpack (3.0.3) lib/action_controller/metal/implicit_render.rb:4:in `send_action'' actionpack (3.0.3) lib/abstract_controller/base.rb:151:in `process_action'' actionpack (3.0.3) lib/action_controller/metal/rendering.rb:11:in `process_action'' actionpack (3.0.3) lib/abstract_controller/callbacks.rb:18:in `block in process_action'' activesupport (3.0.3) lib/active_support/callbacks.rb:445:in `_run__1729441892109748571__process_action__94192459520562294__callbacks'' activesupport (3.0.3) lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'' activesupport (3.0.3) lib/active_support/callbacks.rb:93:in `run_callbacks'' actionpack (3.0.3) lib/abstract_controller/callbacks.rb:17:in `process_action'' actionpack (3.0.3) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'' activesupport (3.0.3) lib/active_support/notifications.rb:52:in `block in instrument'' activesupport (3.0.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'' activesupport (3.0.3) lib/active_support/notifications.rb:52:in `instrument'' actionpack (3.0.3) lib/action_controller/metal/instrumentation.rb:29:in `process_action'' actionpack (3.0.3) lib/action_controller/metal/rescue.rb:17:in `process_action'' actionpack (3.0.3) lib/abstract_controller/base.rb:120:in `process'' actionpack (3.0.3) lib/abstract_controller/rendering.rb:40:in `process'' actionpack (3.0.3) lib/action_controller/metal.rb:138:in `dispatch'' actionpack (3.0.3) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'' actionpack (3.0.3) lib/action_controller/metal.rb:178:in `block in action'' actionpack (3.0.3) lib/action_dispatch/routing/route_set.rb:62:in `call'' actionpack (3.0.3) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'' actionpack (3.0.3) lib/action_dispatch/routing/route_set.rb:27:in `call'' actionpack (3.0.3) lib/action_dispatch/routing/mapper.rb:35:in `call'' rack-mount (0.6.13) lib/rack/mount/route_set.rb:148:in `block in call'' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:in `block in recognize'' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:68:in `optimized_each'' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:in `recognize'' rack-mount (0.6.13) lib/rack/mount/route_set.rb:139:in `call'' actionpack (3.0.3) lib/action_dispatch/routing/route_set.rb:492:in `call'' warden (1.0.3) lib/warden/manager.rb:35:in `block in call'' warden (1.0.3) lib/warden/manager.rb:34:in `catch'' warden (1.0.3) lib/warden/manager.rb:34:in `call'' actionpack (3.0.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'' actionpack (3.0.3) lib/action_dispatch/middleware/head.rb:14:in `call'' rack (1.2.1) lib/rack/methodoverride.rb:24:in `call'' actionpack (3.0.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call'' actionpack (3.0.3) lib/action_dispatch/middleware/flash.rb:182:in `call'' actionpack (3.0.3) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'' actionpack (3.0.3) lib/action_dispatch/middleware/cookies.rb:295:in `call'' activerecord (3.0.3) lib/active_record/query_cache.rb:32:in `block in call'' activerecord (3.0.3) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'' activerecord (3.0.3) lib/active_record/query_cache.rb:12:in `cache'' activerecord (3.0.3) lib/active_record/query_cache.rb:31:in `call'' activerecord (3.0.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:353:in `call'' actionpack (3.0.3) lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'' activesupport (3.0.3) lib/active_support/callbacks.rb:415:in `_run_call_callbacks'' actionpack (3.0.3) lib/action_dispatch/middleware/callbacks.rb:44:in `call'' rack (1.2.1) lib/rack/sendfile.rb:107:in `call'' actionpack (3.0.3) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'' actionpack (3.0.3) lib/action_dispatch/middleware/show_exceptions.rb:46:in `call'' railties (3.0.3) lib/rails/rack/logger.rb:13:in `call'' rack (1.2.1) lib/rack/runtime.rb:17:in `call'' activesupport (3.0.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'' rack (1.2.1) lib/rack/lock.rb:11:in `block in call'' <internal:prelude>:10:in `synchronize'' rack (1.2.1) lib/rack/lock.rb:11:in `call'' actionpack (3.0.3) lib/action_dispatch/middleware/static.rb:30:in `call'' railties (3.0.3) lib/rails/application.rb:168:in `call'' railties (3.0.3) lib/rails/application.rb:77:in `method_missing'' passenger (3.0.2) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'' passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'' passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `block in handle_spawn_application'' passenger (3.0.2) lib/phusion_passenger/utils.rb:479:in `safe_fork'' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:180:in `start'' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:219:in `block (2 levels) in spawn_rails_application'' passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:214:in `block in spawn_rails_application'' passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'' <internal:prelude>:10:in `synchronize'' passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'' passenger (3.0.2) helper-scripts/passenger-spawn-server:99:in `<main>'' -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Feb 2, 10:55 am, Solrac Caritas <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> After an update... > do you have a idea?I''d check your yaml translaction files. Fred -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
there is a post there about my problem:
http://blog.segment7.net/2011/01/31/rubygems-1-5
-----------------------
RubyGems 1.5.0 seems to force use of the psych yaml parser if you
have it in your system. If you are having trouble parsing some yaml
files, or if you have yaml files which use merge keys (
http://redmine.ruby-lang.org/issues/show/4300 ), then you might need to
revert to using syck instead of psych.
I have libyaml installed, rvm builds 1.9.2 with libyaml, so its part
of my system. But ruby 1.9.2 doesn’t make it the default yet. All worked
fine till 1.5.0, which by directly requiring ‘psych’ cause it to get
loaded first and set as system yaml parser.
My workaround was to do the following early in the rails boot
sequence:
require ‘yaml’
YAML::ENGINE.yamler= ‘syck’
------------------------
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.