I am starting from scratch on a series of tutorials using the latest
JRuby and Rails. I am getting the following error (or something
similar) when I invoke a rake task or run script/generate scaffold.
syntax error:ConstructorException while constructing a mapping we had
this expected a mapping or list of mappings for merging, but found
org.jvyamlb.nodes.ScalarNode
/usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:159:in
require' /usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/misc.rake:3 /usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in
call’
/usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in
execute' /usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in
each’
/usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in
execute' /usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in
invoke_with_call_chain’
/usr/local/jruby-1.1.5/lib/ruby/1.8/monitor.rb:191:in mon_synchronize' /usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in
invoke_with_call_chain’
/usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in
invoke_prerequisites' /usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in
each’
/usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in
invoke_prerequisites' /usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in
invoke_with_call_chain’
I didn’t find anything recent although I expect it has something to do
with the latest Rails release (I think it was OK in Rail 2.1.2)
Ideas?
Pete H.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email