Open saurabh-deep opened 5 years ago
Do you mean building a single nodec executable file like the downloads from: http://enclose.io/nodec
Do you mean building a single nodec executable file like the downloads from: http://enclose.io/nodec
Yeah. That was the goal. I even managed to build the nodec for Mac using ruby-packer (rubyc), but failed to do so for Windows.
Do you mean building a single nodec executable file like the downloads from: http://enclose.io/nodec
Yeah. That was the goal. I even managed to build the nodec for Mac using ruby-packer (rubyc), but failed to do so for Windows.
I tried using ruby-packer but I got this:
=> Building ruby phase 1
Traceback (most recent call last):
9: from C:/ruby-packer/bin/rubyc:143:in <main>' 8: from C:/ruby-packer/lib/compiler.rb:661:in
run!'
7: from C:/ruby-packer/lib/compiler.rb:183:in build_ruby_pass_1_windows' 6: from C:/ruby-packer/lib/compiler.rb:183:in
chdir'
5: from C:/ruby-packer/lib/compiler.rb:184:in block in build_ruby_pass_1_windows' 4: from C:/ruby-packer/lib/compiler/utils.rb:52:in
run'
3: from C:/ruby-packer/lib/compiler/utils.rb:52:in map' 2: from C:/ruby-packer/lib/compiler/utils.rb:52:in
each'
1: from C:/ruby-packer/lib/compiler/utils.rb:53:in block in run' C:/ruby-packer/lib/compiler/utils.rb:38:in
escape': undefined method `include?' for nil:NilClass (NoMethodError)
So how did you use ruby-packer to pack this in macOS?
Do you mean building a single nodec executable file like the downloads from: http://enclose.io/nodec
Yeah. That was the goal. I even managed to build the nodec for Mac using ruby-packer (rubyc), but failed to do so for Windows.
I tried using ruby-packer but I got this:
=> Building ruby phase 1 Traceback (most recent call last): 9: from C:/ruby-packer/bin/rubyc:143:in
<main>' 8: from C:/ruby-packer/lib/compiler.rb:661:in
run!' 7: from C:/ruby-packer/lib/compiler.rb:183:inbuild_ruby_pass_1_windows' 6: from C:/ruby-packer/lib/compiler.rb:183:in
chdir' 5: from C:/ruby-packer/lib/compiler.rb:184:inblock in build_ruby_pass_1_windows' 4: from C:/ruby-packer/lib/compiler/utils.rb:52:in
run' 3: from C:/ruby-packer/lib/compiler/utils.rb:52:inmap' 2: from C:/ruby-packer/lib/compiler/utils.rb:52:in
each' 1: from C:/ruby-packer/lib/compiler/utils.rb:53:inblock in run' C:/ruby-packer/lib/compiler/utils.rb:38:in
escape': undefined method `include?' for nil:NilClass (NoMethodError)So how did you use ruby-packer to pack this in macOS?
Exact steps mentioned here worked for me on macOS but on Windows it fails with compile-time errors - https://github.com/adobe/node-packer/blob/master/BUILD_INSTRUCTIONS.md
Hi, Can someone please guide me on how to create a new nodec executable for Windows? I have been able to build for MacOS using ruby-packer, but am unable to proceed with Windows. In need of urgent help please.