Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install picoruby globally? #130

Closed
postmodern opened this issue Jan 24, 2023 · 4 comments
Closed

How to install picoruby globally? #130

postmodern opened this issue Jan 24, 2023 · 4 comments

Comments

@postmodern
Copy link

I would like to add support for installing picoruby to ruby-install. In order to do this, I need to be able to install picoruby into either /usr/local/ (and comply with the Filesystem Hierarchy Standard), or /opt/rubies/picoruby-3.0.2/, or ~/.rubies/picoruby-3.0.2/. There doesn't seem to be any documentation on how to install picoruby outside of the repo, but it seems like it could be possible to copy the bin/pico* binaries into a bin/ directory, or copy the lib/ directory into a $(PREFIX)/share/picoruby/ directory.

@hasumikin
Copy link
Member

@postmodern
You can install picoruby through rbenv:

image

Does this help you?

@postmodern
Copy link
Author

postmodern commented Feb 9, 2023

@hasumikin not exactly. Instead of just wanting to install picoruby, I am one of the maintainer of ruby-install and am interested in adding support for installing picoruby to ruby-install.

@hasumikin
Copy link
Member

@postmodern
Ah, I see.

but it seems like it could be possible to copy the bin/pico* binaries into a bin/ directory

I think this works

@hasumikin
Copy link
Member

Will close this issue unless any comment post in a week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants