Comments (19)
I generally would not mind replacing rvm usage at Travis CI with something I understand.
from ruby-install.
I'm not working with Ruby in a professional setting at the moment, so I don't think I'll have time to look into this any time soon, sorry.
from ruby-install.
Rubinius is working on binary builds and JRuby/MagLev already supports them. MRI is the odd one out, unless we use RVM's builds. We should eventually add alternate functions for unpacking binary installs.
from ruby-install.
This would entail adding a --binary
option and BINARY_INSTALL
env variable which would disable downloading/compiling the source archive.
from ruby-install.
JRuby and Rubinius both have binary packages. RVM provides precompiled versions of MRI. http://rvm.io/binaries/
from ruby-install.
Pushing this back to 0.3.0, since binary support will require changing a considerable amount of code. 0.2.0 already has enough new features as well.
from ruby-install.
Will this make it into 0.4.0?
from ruby-install.
Possibly. The problem is that RVM only supports binary builds for the latest versions of OSes, which means we'll have to fall back to compiling if the binary cannot be downloaded.
from ruby-install.
I think a binary if you can approach, but fall back to compilation would be a very reasonable solution.
from ruby-install.
Or failing if no binary is available is another option, which would mean having to remove the -b flag to compile when binary installation fails.
from ruby-install.
Can I use ruby-install to replace https://github.com/tokaido/tokaido-build?
from ruby-install.
@rkh based on the build.sh and some grepping, rvm install --movable
basically adds these ./configure
options:
(( ${rvm_movable_flag:-0} > 0 )) || return 0 case "${_system_type}" in (Darwin) rvm_configure_flags+=( --enable-load-relative --with-static-linked-ext --with-out-ext=dl/win32,fiddle/win32,tk/tkutil,tk,win32ole,-test-/win32/dln,-test-/win32/fd_setsize ) rvm_patch_names+=( osx_static ) ;; (*) rvm_configure_flags+=( --enable-load-relative ) ;; esac rvm_configure_flags+=( --sysconfdir=/etc ) rvm_make_flags+=( -j3 )
You should be able to replace rvm install ruby --movable
with ruby-install -i /path/to/where_ever ruby -- --enable-static --enable-load-relative
.
from ruby-install.
Thanks, I'll give this a try after the upcoming conference action.
from ruby-install.
Opened a PR for this: #138.
from ruby-install.
rvm/rvm#4298 could be related.
from ruby-install.
Noticed that RVM's binaries haven't been updated recently. Not seeing binaries for newer versions of Ubuntu, Fedora, or OSX. https://rvm.io/binaries/ That seems like a blocker for average users not using ruby-install in an older VM or docker image.
from ruby-install.
@postmodern Yes, and rvm/rvm#4298 has been talking about it. RVM team made barely any progress about this since last year though.
from ruby-install.
Note that rvm also downloads binaries from http://rubies.travis-ci.org/.
from ruby-install.
@rkh Awesome! Iām curious whether they are path-dependent though. Will need some research.
I think it would help if one picks a binary from the page, and try it in a virtual machine. At least we can verify the Ubuntu binaries this way.
from ruby-install.
Related Issues (20)
- CFLAGS unrecognized using 0.9.0 ā working with 0.8.5 HOT 5
- `--with-opt-dir` doesn't prevent Ruby from seeing OpenSSL 3 headers/lib HOT 10
- `zcat` does not accept a file argument on macOS HOT 1
- Use OpenSSL 3 by default HOT 8
- Documentation for `--jobs` suggests you could omit a value, but it's required HOT 1
- Install FreeBSD Ruby 3.2.2 HOT 3
- doesn't make some simple yet very important checks before starting the installation process (e.g need permission when using --sytem flag) HOT 3
- Can't use installed truffleruby 23.1.0 with openssl HOT 6
- Installation of ruby 3.1.4 fails on macOS Sonoma 14.0 HOT 14
- Avoid running `brew` as root HOT 3
- Ruby install 2.6.0 confusing error for Homebrew install HOT 1
- openssl@3 support - EVP_MD_CTX_get_pkey_ctx - incomplete definition of type struct evp_md_ctx_st - use [email protected] HOT 6
- Install homebrew [email protected] for Ruby <= 3.0 and [email protected] for Ruby >= 3.1
- Add tests for the various rubies own `functions.sh` logic HOT 1
- Convert `dependencies.txt` files into `dependencies.sh` files HOT 2
- Installation failing due to sudo failure HOT 3
- Wrong file extension? HOT 2
- openssl and other isses when installing Ruby 2.7.5 HOT 2
- Can't install 3.4.0-preview1 HOT 11
- no longer install `libgdbm` as a dependency for new ruby versions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-install.