BSD Ports

lang/ruby34 3.4.10nb2 NetBSD

Ruby 3.4.10 release package

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
7fdfc7c282
License
2-clause-bsd OR ruby-license
Categories
lang, ruby
Package size
17970.3 KiB, 85219.7 KiB installed

Description

Ruby is an interpreted object-oriented programming language often used for web development. It also offers many scripting features to process plain text and serialized files, or manage system tasks. It is simple, straightforward, and extensible.

Features of Ruby are shown below.

  • Simple Syntax
  • *Normal* Object-Oriented features (ex. class, method calls)
  • *Advanced* Object-Oriented features (ex. Mix-in, Singleton-method)
  • Operator Overloading
  • Exception Handling
  • Iterators and Closures
  • Garbage Collection
  • Dynamic Loading of Object files (on some architecture)
  • Highly Portable (works on many UNIX machines, and on Windows, Mac, etc.)

Ruby 3.4 introduces a number of new features and performance improvements, here are some of them: * Prsim parser (as a default gem). * Performance: YJIT: Verious improvements including performance. * Performance: RJIT: Experital pure-Ruby JIT compiler replace MJIT. * M:N thread scheduler. * Retirement of ext/readline.

In the other systems

SystemPortVersion
NetBSDlang/ruby343.4.10nb2
FreeBSDlang/ruby343.4.9_2,1
MidnightBSDlang/ruby34

Install

Binary package:

pkgin install ruby34

From pkgsrc:

cd /usr/pkgsrc/lang/ruby34 && make install clean

Dependencies

Run dependencies 2

Commit history 7

DateCommitCreditsLog message
7fdfc7c282 rin ruby*: Works around GCC 14 bug on alpha
s/-O2/-O1/ for GCC >= 14 on alpha. Otherwise, for ruby34, e.g., ``` gcc -mieee -O2 -mieee -pthread -I/usr/include -I/usr/pkg/include -fPIC -pipe -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/alpha-netbsd -I.ext/include -I./include -I. -I./prism -I./enc/unicode/15.0.0 -Dmodular_gc_dir="" -I/usr/include -I/usr/pkg/include -o ractor.o -c ractor.c during RTL pass: sched2 ractor.c: In function 'ractor_channel_func': ractor.c:4010:1: internal compiler error: in move_insn, at haifa-sched.cc:5477 4010 | } | ^ 0x1215184ff diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, __va_list_tag*, diagnostic_t) ???:0 0x121518beb internal_error(char const*, ...) ???:0 …
34e388336e taca lang/ruby34: update to 3.4.11
3.4.11 (2026-09-23) * Bug #22196: Heap-use-after-free in fiber_switch with transfer-terminated async tasks on 3.4.10 * Guard fiber target across fiber_store. by samuel-williams-shopify · Pull Request #17951 * Bug #21842: Encoding of rb_interned_str * Bug #22126: Stack underflow for partial DCE and loops * Bug #22124: void value missed in parse.y * Bug #22183: parse.y interpolation inside lambda literal * Bug #22099: Keyword-only method silently accepts a positional argument * Bug #22133: Ruby's default SIGINT handling ignores Thread.handle_interrupt masking. * Bug #22189: Enumerator::Lazy#to_enum does not accept method names as strings * Bug #22191: Signal.trap(:EXIT) exception only shown if at_exit also raises * Bug #22198: win32: heap overflow in Kernel#system …
9b0d34906a taca lang/ruby34: Fix ruby-rjit option
Fix build problem with ruby-rjit PKG_OPTIONS provided by PR pkg/60763. No PKGREVISION bump since it is simply build problem.
4d0b309514 taca lang/ruby34: update resolv gem
Update resolv gem to 0.7.2 to fix CVE-2026-80212 and CVE-2026-80213. Bump PKGREVISION.
9597d74e81 kikadf ruby34: add forgotten patch

The latest 5 of 7 in the history this site was built from.