Skip to content

Ruby 3.0 compatility  #15

@dlupu

Description

@dlupu

Are you in the right place?

  • For issues or feature requests file a GitHub issue in this repository
  • For general questions or discussion post in Gitter

Describe the problem

I'm trying to update an app from ruby 2.6 to ruby 3.0 and I'm running into problems.

Steps to reproduce the problem

    copy_file(
        source_path
        taget_path,
        context: some_context
    )

Actual behavior

context keyword argument is simply ignored and the ERB interpolation raises errors.

Expected behavior

I expected the context to be used for the ERB interpolation to be done using its binding.

Describe your environment

  • OS version: Mac OS
  • Ruby version: 3.0.1
  • TTY::File version: 0.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions