Skip to content

Make error in generate_test_runner.rb #670

@andrewstillie

Description

@andrewstillie

I am getting the error below when trying to make the code.

$ make rm -f test1.exe test2.exe ruby ../../auto/generate_test_runner.rb test/TestProductionCode.c test/test_runners/TestProductionCode_Runner.c /usr/share/rubygems/rubygems/util.rb:100:in glob': no implicit conversion of Hash into Integer (TypeError)
from /usr/share/rubygems/rubygems/util.rb:100:in glob_files_in_dir' from /usr/share/rubygems/rubygems/specification.rb:779:in block in each_gemspec'
from /usr/share/rubygems/rubygems/specification.rb:778:in each' from /usr/share/rubygems/rubygems/specification.rb:778:in each_gemspec'
from /usr/share/rubygems/rubygems/specification.rb:807:in each_spec' from /usr/share/rubygems/rubygems/specification.rb:878:in load_defaults'
from /usr/share/rubygems/rubygems.rb:1354:in <top (required)>' from <internal:gem_prelude>:4:in require'
from internal:gem_prelude:4:in <internal:gem_prelude>' make: *** [makefile:64: test/test_runners/TestProductionCode_Runner.c] Error 1

I am running cygwin
and have this version of ruby installed.

$ ruby -v
ruby 2.3.6p384 (2017-12-14 revision 9808) [x86_64-cygwin]
last_commit=ruby 2.3.3

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