Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby 3.0 compatility #15

Open
dlupu opened this issue Jun 18, 2021 · 0 comments
Open

Ruby 3.0 compatility #15

dlupu opened this issue Jun 18, 2021 · 0 comments

Comments

@dlupu
Copy link

dlupu commented Jun 18, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant