no implicit conversion from nil to integer - when trying to add anything to array

前端 未结 4 768
天涯浪人
天涯浪人 2021-01-04 03:14

I\'m trying to build a fairly complex hash and I am strangely getting the error

no implicit conversion from nil to integer

when I use the l

4条回答
  •  借酒劲吻你
    2021-01-04 04:13

    This was a simple fix for me.

    When I was getting this error using the Scout app, one of my mapped folders was header-1, when I removed the hyphen from the folder name and made it header1, the error went away.

    It didn't like the hyphen for some reason...

提交回复
热议问题