ruby.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
If you are interested in the Ruby programming language, come join us! Tell us about yourself when signing up. If you just want to join Mastodon, another server will be a better place for you.

Administered by:

Server stats:

1.1K
active users

I've just pushed the first beta release of re2 2.0 which now comes bundled with the underlying Google re2 library (and its dependency, abseil): github.com/mudge/re2/releases/

As compilation can take a while, there are precompiled native gems for Linux, Windows, and macOS. Please help me test it by installing 2.0.0.beta1 (or using `gem install re2 --pre`): once installed, try a simple match like `RE2('fo+') =~ 'fooo'` and let me know on GitHub if you run into any issues: github.com/mudge/re2/issues

GitHubRelease 2.0.0.beta1: vendor re2, native gems · mudge/re2Thanks to @stanhu: this is the first beta release of a major new version of re2 which no longer requires the re2 library to be installed as it is now vendored with the gem (ala Nokogiri and libxml2...

And now a second beta release is available from RubyGems: re2 2.0.0.beta2 github.com/mudge/re2/releases/

Featuring the latest version of RE2 (2023-09-01), a fix for anyone opting out of the native gems and compiling against a system RE2 in Ruby's `exec_prefix` directory and the restoration of Ruby 2.6 support (for any fellow Intel macOS Monterey users).

Again, please install with `gem install re2 --pre` and let me know if you have any issues at all: github.com/mudge/re2/issues

GitHubRelease 2.0.0.beta2: RE2 2023-09-01, fix for compiling against system RE2 & Ruby 2.6 support · mudge/re2Fixes since beta1 Upgraded the vendored RE2 to the latest version: 2023-09-01. @stanhu fixed a problem when opting out of the precompiled, native gems and compiling the gem against a system RE2 th...
mudge

And finally, re2 2.0.0 is now available: github.com/mudge/re2/releases/

(Recap: Ruby bindings to Google's RE2 "fast, safe, thread-friendly” regular expression library now bundled with the latest version of RE2 so you no longer need to install it separately. Native gems have been precompiled for Linux, Windows and macOS so installation should be much faster for most people. Thanks to @stanhu for being the driving force behind this.)

GitHubRelease 2.0.0: vendored RE2 2023-09-01 & native gems · mudge/re2This is a major new version of re2 which no longer requires the RE2 library to be installed as the latest version (2023-09-01) is now vendored with the gem. Vendored RE2 Installing the gem will als...