ruby-packer | Packing your Ruby application into a single executable
kandi X-RAY | ruby-packer Summary
kandi X-RAY | ruby-packer Summary
Packing your Ruby application into a single executable.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ruby-packer
ruby-packer Key Features
ruby-packer Examples and Code Snippets
Community Discussions
Trending Discussions on ruby-packer
QUESTION
I have a ruby script that I run from the terminal, however I want to be able to double-click an icon like I would an application and run the script. I've looked at ruby-packer, but it isn't working for me.
What is the best option to accomplish this?
Im on a mac.
In terminal, I'm not at the directory of the .rb file because when I try to run ./rubyc
from the directory containing the .rb file, I get the error command not recognized
When I run ./rubyc /RubyProjects/signOff.rb /signOff.out
I'm able to get it to run, but the outfile file is called rubyc
that just re-runs the same code when I double-click it. I'm at a loss for how to get it to work properly.
`
ANSWER
Answered 2019-Apr-05 at 07:28The -o
parameter defines the output filename:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ruby-packer
Visual Studio, all editions including the Community edition (remember to select "Common Tools for Visual C++" feature during installation).
SquashFS Tools: you might want to first install choco and then execute choco install squashfs.
Ruby: you might want to install it using RubyInstaller.
Perl: you might want to install it using Strawberry Perl for Windows.
Netwide Assembler: please make sure nasm works from your command line.
SquashFS Tools: brew install squashfs
Xcode You also need to install the Command Line Tools via Xcode. You can find this under the menu Xcode -> Preferences -> Downloads This step will install gcc and the related toolchain containing make
Ruby
SquashFS Tools sudo yum install squashfs-tools sudo apt install squashfs-tools
gcc or clang
GNU Make
Ruby
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page