How to package and release a Ruby application?
In Ruby
any lib/application called gem
and should be installed via rubygems
. Read how make your own gem
. This all what you need.
It is contain section about adding executable
Deploying Ruby-Tk app on OS X
This is a bit late after the fact, but in classic fashion, since I could not find a desktop app deployment tool for Ruby-Tk on the Mac, I wrote my own:
ruby2app
ruby2app is a simple command-line tool, inspired by similar Mac tools like py2app for Python, that bundles a Ruby script with the Ruby runtime into a standalone Mac application. It reads a basic configuration file to find the appropriate Ruby installation, compiles a small C program that embeds the Ruby interpreter, copies the entire Ruby installation into the application bundle, and re-links the relevant libraries with the main executable.
It attempts to provide for the Mac what ocra and exerb provide for Windows. Hopefully this will be of use to others.
Install Ruby 2.0.0 on an old Mac OS 10.7.5 Lion
Homebrew doesn’t support macOS 10.7. You can use Tigerbrew, a fork of Homebrew "that adds support for PowerPC Macs, and Macs running Tiger or Leopard" (quoting its homepage).
Use non-system ruby to execute ruby scripts within macOS App
Due to Martin R's help I was able to solve the issue.
For now I deactivated macOS sandboxing in the projects capabilities.
Now I can use any ruby I want.
Thank you
Related Topics
In Ruby How to Generate a Long String of Repeated Text
How to Split a String in Ruby and Get All Items Except the First One
How to Group This Array of Hashes
Using Question Mark Character in Rails/Activerecord Column Name
Getting Attribute's Value in Nokogiri to Extract Link Urls
Rails: How to Determine Controller/Action in View
All Possible Permutations of a Given String
How to Specify Post Params in a Rails Test
How to Use an Overridden Constant in an Inheritanced Class
Build Hash from Collection of Activerecord Models
Ruby Unable to Parse a CSV File: CSV::Malformedcsverror (Illegal Quoting in Line 1.)
Running Ruby Unit Tests with Rake
How to Get Files Count in a Directory Using Ruby
Ruby Singleton Methods with (Class_Eval, Define_Method) VS (Instance_Eval, Define_Method)