Skip to content

rails console on reload: undefined method `end_line=' for nil (NoMethodError)  #685

@thisIsLoading

Description

@thisIsLoading

Hi,

everytime i reload! the rails console i get this error:

irb(main):008> reload!
Reloading...
(irb):8:in `<main>': undefined method `end_line=' for nil (NoMethodError)

      node.end_line   = @end_line
          ^^^^^^^^^^^^^
irb(main):009> 

it was annoying but didnt bother me enough to dig a little deeper. but today was the day. so i searched my whole computer for that line and ended up in the psych gem folder right here:

node.end_column = @end_column

    def set_end_location(node)
      node.end_line   = @end_line
      node.end_column = @end_column
    end`

it is obviously not the actual cause of the issue but has anyone an idea how i could figure out where the issue is?

thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions