I have again problems with jruby + rails3 + datamapper
After doing the last gem updates with
jruby -S bundle install I have this error:
jmcerv...@jmcervera-laptop:~/code/aaaGTF$ jruby script/rails server
/home/jmcervera/.bundle/jruby/1.8/bundler/gems/dm-
core-37b4bd22b9e3842977cf83d32baba459607e900a-master/lib/dm-core/
associations/one_to_one.rb:11: wrong # of arguments(0 for 1)
(ArgumentError)
from /home/jmcervera/.bundle/jruby/1.8/bundler/gems/dm-
core-37b4bd22b9e3842977cf83d32baba459607e900a-master/lib/dm-core/
associations/one_to_one.rb:5:in `each'
from /home/jmcervera/.bundle/jruby/1.8/bundler/gems/dm-
core-37b4bd22b9e3842977cf83d32baba459607e900a-master/lib/dm-core/
associations/one_to_one.rb:5:in `map'
from /home/jmcervera/.bundle/jruby/1.8/bundler/gems/dm-
core-37b4bd22b9e3842977cf83d32baba459607e900a-master/lib/dm-core/
associations/one_to_one.rb:5
from /home/jmcervera/.bundle/jruby/1.8/bundler/gems/dm-
core-37b4bd22b9e3842977cf83d32baba459607e900a-master/lib/dm-core/
associations/one_to_one.rb:95:in `require'
from /home/jmcervera/.bundle/jruby/1.8/bundler/gems/dm-
core-37b4bd22b9e3842977cf83d32baba459607e900a-master/lib/dm-core.rb:95
from /home/jmcervera/.bundle/jruby/1.8/bundler/gems/dm-
core-37b4bd22b9e3842977cf83d32baba459607e900a-master/lib/dm-core.rb:
1:in `require'
from /home/jmcervera/.bundle/jruby/1.8/bundler/gems/dm-
rails-6d789ab541218bf52f1038ecd3856026704f4c3b-master/lib/dm-rails/
railtie.rb:1
from /home/jmcervera/.bundle/jruby/1.8/bundler/gems/dm-
rails-6d789ab541218bf52f1038ecd3856026704f4c3b-master/lib/dm-rails/
railtie.rb:5:in `require'
from /home/jmcervera/code/aaaGTF/config/application.rb:5
from /home/jmcervera/code/aaaGTF/config/application.rb:39:in
`require'
from /home/jmcervera/.bundle/jruby/1.8/bundler/gems/
rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/
rails/commands.rb:39
from /home/jmcervera/.bundle/jruby/1.8/bundler/gems/
rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/
rails/commands.rb:10:in `require'
from script/rails:10
jmcerv...@jmcervera-laptop:~/code/aaaGTF$
The problem is the same when I generate a new app from scratch whit
the template for dm_rails
rails dm_rails3_app -m
http://github.com/snusnu/rails-templates/raw/master/dm_rails_master.rb
--
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en.