Undefined method each_pair

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?

···

--
Posted via http://www.ruby-forum.com/.

Found a solution, but this really didn't satisfied me.
Just upgrated all gems to the newest version.

This signs that this must be a versioning problem.

But again ... i checked all gem versions!

How is the versioning of the gems handled?
Is it possible to change the code of a released gem?

Any Ideas how to compare this?

greetings

···

--
Posted via http://www.ruby-forum.com/.