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

lib:use fails with undefined method copy' for File:Class` #30

Open
thomthom opened this issue Jun 26, 2018 · 1 comment
Open

lib:use fails with undefined method copy' for File:Class` #30

thomthom opened this issue Jun 26, 2018 · 1 comment
Labels

Comments

@thomthom
Copy link
Owner

PS C:\Users\Thomas\SourceTree\TrueBend> skippy lib:use heimdallr/error-reporter
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/skippy-0.4.1.a/lib/skippy/module_manager.rb:153:in `copy_file': undefined method `copy' for File:Class (NoMethodError)
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/skippy-0.4.1.a/lib/skippy/module_manager.rb:138:in `block in copy_directory'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/skippy-0.4.1.a/lib/skippy/module_manager.rb:133:in `glob'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/skippy-0.4.1.a/lib/skippy/module_manager.rb:133:in `copy_directory'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/skippy-0.4.1.a/lib/skippy/module_manager.rb:126:in `copy_module'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/skippy-0.4.1.a/lib/skippy/module_manager.rb:56:in `use'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/skippy-0.4.1.a/app/commands/lib.rb:62:in `use'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/skippy-0.4.1.a/lib/skippy/cli.rb:70:in `method_missing'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.20.0/lib/thor/command.rb:29:in `run'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.20.0/lib/thor/command.rb:128:in `run'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/skippy-0.4.1.a/app/boot.rb:40:in `<top (required)>'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/skippy-0.4.1.a/exe/skippy:2:in `require_relative'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/skippy-0.4.1.a/exe/skippy:2:in `<top (required)>'
        from C:/Ruby22-x64/bin/skippy:23:in `load'
        from C:/Ruby22-x64/bin/skippy:23:in `<main>'
@thomthom thomthom added the bug label Jun 26, 2018
@thomthom
Copy link
Owner Author

Missing tests for this scenario. (module include non-ruby files).

thomthom added a commit that referenced this issue Jun 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant