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

fix typo in compiler #44

Merged
merged 1 commit into from
Jan 6, 2019
Merged

fix typo in compiler #44

merged 1 commit into from
Jan 6, 2019

Conversation

SwagDevOps
Copy link
Contributor

Using rubyc cloned from master:

Traceback (most recent call last):
        6: from /__enclose_io_memfs__/local/bin/rubyc:143:in `<main>'
        5: from /__enclose_io_memfs__/local/lib/compiler.rb:681:in `run!'
        4: from /__enclose_io_memfs__/local/lib/compiler.rb:808:in `prepare_local'
        3: from /__enclose_io_memfs__/local/lib/compiler/utils.rb:86:in `chdir'
        2: from /__enclose_io_memfs__/local/lib/compiler/utils.rb:86:in `chdir'
        1: from /__enclose_io_memfs__/local/lib/compiler/utils.rb:86:in `block in chdir'
/__enclose_io_memfs__/local/lib/compiler.rb:824:in `block in prepare_local': undefined local variable or method `gemspec' for #<Compiler:0x000055fb177aa928> (NameError)
Did you mean?  gemspecs

install_from_gemspec gemspec.first, gemfiles

Command used (nothing insane):

CPPFLAGS=-P /usr/local/bin/rubyc bin/sample -r . -d /tmp -o sample

Directory content:

drwxrwxr-x 2 dimitri dimitri 3,5K mai   12 12:11 bin
-rw-rw-r-- 1 dimitri dimitri 3,3K mai    8 11:22 gems.locked
-rw-rw-r-- 1 dimitri dimitri 1,4K mai    8 11:22 gems.rb
drwxrwxr-x 3 dimitri dimitri 3,5K mai   12 12:11 lib
-rw-rw-r-- 1 dimitri dimitri 1,9K mai   12 11:50 sample.gemspec

See #43

@pmq20 pmq20 merged commit 4184584 into pmq20:master Jan 6, 2019
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

Successfully merging this pull request may close these issues.

2 participants