Comments (8)
These have the advantages that autoconf, bison, etc have already run.
So they don't need extra packages and they can use the same logic as building releases.
I'm up for this if @hsbt agrees!
Would builds on top of these snapshots still require make update-gems
, make extract-gems
?
Lines 708 to 713 in 270ecd0
from ruby-build.
Would builds on top of these snapshots still require
make update-gems
,make extract-gems
?
No it would not :)
from ruby-build.
stable(3.2) and old stable(3.1) are okay to replace snapshot packages. But master(3.3.0-dev) is sometimes old with daily package. Because I used it at many times while daytime.
from ruby-build.
I see, that's unfortunate. Maybe the master snapshot could be automatically updated after every commit and then it would be reasonably up-to-date?
master is kind of special, in fact I think we should add a ruby-dev
definition for that instead/in addition to 3.3.0-dev.
from ruby-build.
But master(3.3.0-dev) is sometimes old with daily package.
If the snapshots are behind the actual git commits to any of the development branches, then switching ruby-build definitions to snapshots would be a downgrade, in my opinion.
So it would also simplify that page if we don't have to include dependencies only relevant for building from git.
@eregon The aim for the wiki page was to provide a suggested build environment for stable releases of Ruby only. As for development releases, we assume that a person willing to build a *-dev
version would also put in the research necessary to gather the necessary prerequisites, such as autoconf.
from ruby-build.
If I am reading this correctly, then the master snapshot is several days behind the master branch in git:
$ tar xzf snapshot-master.tar.gz -O -- \*/revision.h | grep REVISION
#define RUBY_REVISION "bbfd735b88"
#define RUBY_FULL_REVISION "bbfd735b887de71de48c7f862e6e3842bcc03241"
$ git -C ~/.rbenv/cache/https_github.com_ruby_ruby.git describe --all bbfd735b887de71de48c7f862e6e3842bcc03241 --match master
heads/master-876-gbbfd735b88
Also ref. https://github.com/ruby/ruby/blob/HEAD/tool/make-snapshot
from ruby-build.
Right, unless snapshots are pretty close to latest commit I agree it's not a viable option, so let's close this at least until that's the case.
@eregon The aim for the wiki page was to provide a suggested build environment for stable releases of Ruby only. As for development releases, we assume that a person willing to build a
*-dev
version would also put in the research necessary to gather the necessary prerequisites, such as autoconf.
The nice thing about jruby-dev
and truffleruby-dev
is they have the exact same deps as release builds.
So the different dependencies for -dev
seems to only affect CRuby.
Also since some of https://github.com/rbenv/ruby-build/wiki#suggested-build-environment contain autoconf I think originally they contained deps for CRuby dev too.
@mislav How about adding autoconf for Fedora and RHEL in the wiki? I'll do that.
Plus that would remove the need for the dnf install perl-FindBin perl-File-Compare
section as that's dependencies of autoconf.
from ruby-build.
How about adding autoconf for Fedora and RHEL in the wiki? I'll do that.
I'm not opposed; thanks for doing that!
from ruby-build.
Related Issues (20)
- OpenSSL version check fails HOT 1
- `print_command()` prints odd output v20231107 HOT 4
- Old Ruby, mismatched OpenSSL HOT 4
- Build fails on Alpine as BusyBox wget does not support --show-progress HOT 3
- Ruby compilation broken for Ruby < 2.5
- Add option to not link against Homebrew openssl HOT 5
- ruby-build -l yields different output from rbenv install --list HOT 5
- Can we skip installing readline when Ruby version is greater than 3.3.0? HOT 3
- Giving multiple optflags raises unrecognized option error. HOT 3
- Cannot install Ruby versions 2.6 using asdf
- can't install 3.2.3 ruby version from rbenv
- ruby-build: definition not found: 3.3.0.rc1 HOT 3
- Wiki open to edits HOT 2
- Ruby 2.2.10 install fails due to OpenSSL issue HOT 3
- RUBY_BUILD_MIRROR_URL ignored HOT 7
- Can't upgrade above 20211019 via brew on macos HOT 3
- 3.3.1 fails to build YJIT with Homebrew LLVM 18 HOT 7
- install command prompts in non-interactive shell HOT 1
- Failure to detect bz2 HOT 6
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-build.