Skip to content

Instantly share code, notes, and snippets.

@zonuexe
Created June 19, 2023 12:06
Show Gist options
  • Save zonuexe/aeb64490edf1a524d1c533484500cae8 to your computer and use it in GitHub Desktop.
Save zonuexe/aeb64490edf1a524d1c533484500cae8 to your computer and use it in GitHub Desktop.
ひさびさにRubyをビルドした
docker run -it --rm -v $PWD/../ruby:/working -w /working orebuild bash -c 'mkdir -p build; ./autogen.sh && cd build && ../configure && make -j$(nproc) && ./ruby -v'
FROM debian:12
RUN apt-get update -qq
RUN apt-get install -y build-essential ruby
RUN apt-get install -y automake autoconf m4 bison libyaml-dev openssl libssl-dev
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
@zonuexe
Copy link
Author

zonuexe commented Jun 19, 2023

diff --git a/include/ruby/version.h b/include/ruby/version.h
index 08c0aadb07..93c6f8dfcd 100644
--- a/include/ruby/version.h
+++ b/include/ruby/version.h
@@ -61,13 +61,13 @@
  * doesn't mean a total rewrite.  Practically  when it comes to API versioning,
  * major and minor version changes are equally catastrophic.
  */
-#define RUBY_API_VERSION_MAJOR 3
+#define RUBY_API_VERSION_MAJOR 32

 /**
  * Minor  version.   As of  writing  this  version changes  annually.   Greater
  * version doesn't mean "better"; they just mean years passed.
  */
-#define RUBY_API_VERSION_MINOR 3
+#define RUBY_API_VERSION_MINOR 1

 /**
  * Teeny version.  This digit  is kind of reserved these days.   Kept 0 for the

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment