Hello,
I get a strage Error on a Project which runs without Problems on the
Server and on a other developer machine.
I traced the error to a function which checks for a .nil?
error:
undefined method `each_pair’ for #<Syck::PrivateType:0x0000012bf787e0
@type_id=“null”, @value="">
runtime:
more_link = nil
function:
def safe_more_link
logger.debug(“SAFE_MORE_LINK11111”)
if not more_link.nil?
logger.debug(“SAFE_MORE_LINK2222”)
more_link
logger.debug(“SAFE_MORE_LINK33333”)
else
logger.debug(“SAFE_MORE_LINK44444”)
nil
end
logger.debug(“SAFE_MORE_LINK555555”)
end
console output:
SAFE_MORE_LINK11111
Rendered site_sections/_ticker.html.erb (189.3ms)
Completed 500 Internal Server Error in 865ms
ActionView::Template::Error (undefined method `each_pair’ for
#<Syck::PrivateType:0x0000012b6e59e8 @type_id=“null”, @value="">):
I have no idea what is going wrong here.
I checked for each gem the version number.
Any ideas?