-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Running Ruby Programs
Andy Piper edited this page Jan 24, 2021
·
5 revisions
Run apk add ruby ruby-dev build-base ruby-json. These packages are all necessary. If you're interested:
-
rubyis Ruby -
ruby-devis for Ruby headers that are required to build native extensions -
build-baseis also required to build native extensions -
ruby-jsonis required to enable any gems that require JSON to work
Test to make sure Ruby is installed by typing ruby -v, you should see something along the lines of
ruby 2.5.7p206 (2019-10-1 revision 67816) [i586-linux-musl]Congrats! You should now be able to install most Ruby gems. Edit below if there's errors.
Unfortunately, it doesn't look possible to install RVM at this time. I will update this if I find a way.
Solution: Make sure you installed ruby-dev from before. Remember, both ruby and ruby-dev are required.
Solution: Make sure you installed build-base from before. This is required for native extensions to be built.
Solution: Alpine packages JSON separately. Make sure you install ruby-json
- None known
- Contributing to iSH Development
- How to add a new Character Device to iSH
- How to add a new entry to /proc/ish
- Fixing hostname localhost
- Running nmap
- Running Ruby Programs
- Installing PHP with a TLS certificate and a PHP filemanager
- Installing R and any package from the CRAN
- iSH Alpine Release Issues
- Using Alpine Linux repositories
- Upgrading to a new release
- Install & Activate Alternate Filesystems