Rhosync problem "`update_associations': undefined method `has_many=' for nil:NilClass (NoMethodError)"
I am getting following problem while starting or restarting my rhosync server.
Rhosync Server v2.1.10 started...
/Library/Ruby/Gems/1.8/gems/rhosync-2.1.10/lib/rhosync/../rhosync/source.rb:140:in
update_associations': undefined methodhas_many=' for
nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/1.8/gems/rhosync-2.1.10/lib/rhosync/../rhosync/source.rb:140:in `each'
from /Library/Ruby/Gems/1.8/gems/rhosync-2.1.10/lib/rhosync/../rhosync/source.rb:140:in `update_associations'
from /Library/Ruby/Gems/1.8/gems/rhosync-2.1.10/lib/rhosync/../rhosync.rb:106:in `start_app'
from /Library/Ruby/Gems/1.8/gems/rhosync-2.1.10/lib/rhosync/../rhosync.rb:79:in `bootstrap'
from /Library/Ruby/Gems/1.8/gems/rhosync-2.1.10/lib/rhosync/../rhosync.rb:267:in `initializer'
from ./application.rb:10:in `initializer'
from ./application.rb:27
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require'
from /users/ashish/Documents/rhoWorkspace/employee-server/config.ru:27
from /Library/Ruby/Gems/1.8/gems/rack-1.3.2/lib/rack/builder.rb:51:in `instance_eval'
from /Library/Ruby/Gems/1.8/gems/rack-1.3.2/lib/rack/builder.rb:51:in `initialize'
from /users/ashish/Documents/rhoWorkspace/employee-server/config.ru:1:in `new'
from /users/ashish/Documents/rhoWorkspace/employee-server/config.ru:1
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Luis Lavena on 14 Sep, 2011 11:30 AM
Hello,
help.rubygems.org is a support forum oriented to resolve problems associated with RubyGems and rubygems.org website, and not particular gem problems.
Please direct all your issues with this help to the gem authors and their support sites/mechanisms. These could be found in the gem page:
http://rubygems.org/gems/rhosync
Luis Lavena closed this discussion on 14 Sep, 2011 11:30 AM.