Hi,
I’ve tried with both jdbc sqlite3 and mysql configurations, but at the
first ‘rake db:migrate’, I get this error message:
rake aborted!
undefined method `has_key?’ for nil:NilClass
Here’s the full trace:
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method has_key?' for nil:NilClass C:/j/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/whiny_nil.rb:52:in
method_missing’
C:/j/redmine-1.0.4/lib/redmine/menu_manager.rb:77:in add' C:/j/redmine-1.0.4/lib/redmine/menu_manager.rb:371:in
push’
C:/j/redmine-1.0.4/lib/redmine.rb:148
C:/j/redmine-1.0.4/lib/redmine/menu_manager.rb:301:in map' C:/j/redmine-1.0.4/lib/redmine.rb:147 C:/j/redmine-1.0.4/lib/redmine.rb:156:in
require’
C:/j/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in
require' C:/j/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in
new_constants_in’
C:/j/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in
require' C:/j/redmine-1.0.4/config/initializers/30-redmine.rb:3 C:/j/redmine-1.0.4/config/initializers/30-redmine.rb:145:in
load’
C:/j/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:145:in
load_with_new_constant_marking' C:/j/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in
new_constants_in’
C:/j/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:145:in
load_with_new_constant_marking' C:/j/redmine-1.0.4/vendor/rails/railties/lib/initializer.rb:622:in
load_application_initializers’
C:/j/redmine-1.0.4/vendor/rails/railties/lib/initializer.rb:621:in
each' C:/j/redmine-1.0.4/vendor/rails/railties/lib/initializer.rb:621:in
load_application_initializers’
C:/j/redmine-1.0.4/vendor/rails/railties/lib/initializer.rb:176:in
process' C:/j/redmine-1.0.4/vendor/rails/railties/lib/initializer.rb:113:in
run’
C:/j/redmine-1.0.4/config/environment.rb:20
C:/j/redmine-1.0.4/config/environment.rb:156:in require' C:/j/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in
require’
C:/j/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in
new_constants_in' C:/j/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in
require’
C:/j/redmine-1.0.4/vendor/rails/railties/lib/tasks/misc.rake:4
c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in call' c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
execute’
c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in each' c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
execute’
c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
invoke_with_call_chain' c:/jruby/lib/ruby/1.8/monitor.rb:191:in
mon_synchronize’
c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with_call_chain' c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in
invoke_prerequisites’
c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in each' c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in
invoke_prerequisites’
c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
invoke_with_call_chain' c:/jruby/lib/ruby/1.8/monitor.rb:191:in
mon_synchronize’
c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
invoke_with_call_chain' c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in
invoke’
c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
invoke_task' c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level’
c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in each' c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level’
c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling' c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
top_level’
c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in run' c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling’
c:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in run' C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 C:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:19:in
load’
c:\jruby\bin\rake:19
Has anyone else seen this and managed to make it work with jruby-1.5.6 ?
Thanks in advance
–
Christian