Damn! `bundle install` with `duckdb` in the Gemfile failed! Fortunately, I have my own blog to refer to about this (yay!) - https://notepad.onghu.com/2025/duck-db-windows-ruby/
Damn! `bundle install` with `duckdb` in the Gemfile failed! Fortunately, I have my own blog to refer to about this (yay!) - https://notepad.onghu.com/2025/duck-db-windows-ruby/
Every x'mas day, the #Ruby core team releases Ruby - and soon after, we get the RubyInstaller for #Windows and I try to update my post for installing #RubyOnWindows.
It's ready - full instructions for Ruby 4.0 on Windows: https://notepad.onghu.com/2025/ruby4.0-windows-day0-install-hello_world/
Even though it's not listed on the home page yet, RubyInstallers for versions 3.4.5-1, 3.3.9-1, 3.2.9-1 are not available for #Windows.
https://rubyinstaller.org/downloads/
Finally, started with installing #JRuby 10 & running Hello World before trying other things in the next few weeks. If you've wanted to experiment, here's a simple illustrated guide to get it running and the first steps:
https://notepad.onghu.com/2025/jruby-10-win-day0-install-hello_world/
Somehow, I need to find time to get into at least a little bit of #Jruby 10 later today. Good thing that I already have Java 21 on my computer.
@collin
Thanks for the reminder - it's been too long since I decided to use it but haven't done anything useful.
Time to restart esp cos it works great with #RubyOnWindows also.
It's easy to get started with #DuckDB (@duckdb) on #Windows. It also works fine from #Ruby though Ruby is not yet officially listed on their website.
I'm just getting started with it but I wrote up my installation experience: https://notepad.onghu.com/2025/duck-db-windows-ruby/
DuckDB is a fast, open-source database for Online Analytics Processing (OLAP) workloads. It is similar to SQLite3 in the sense that it’s intended to be built directly into a host process and runs within it rather than a separate stand-alone server. Let’s look at setting this up and using it in Windows and also from Ruby.
If you're waiting to try #Ruby 3.4 on #Windows, the RubyInstaller is now available.
I also created my illustrated guide to installing it: https://notepad.onghu.com/2024/ruby3.4-windows-day0-install-hello_world/
Happy New Year!
Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write (from the Ruby web site). On Christmas Day 2024, the core team released version 3.4 with major improvements and new features including a new parser that has been in development for some time. This was followed by a rapid release of 3.4.1 due to a minor oversight. The Windows RubyInstaller site has just added Ruby 3.4 to its downloads, so let’s get it up and running.
OK, crisis averted. It was an error installing psych & it gets sorted if you do a gem update.
Thanks to the stellar work of the @rails
and @rubylangorg teams, #Rails8 "just works" when running with #RubyOnWindows.
Link: https://notepad.onghu.com/2024/rails80-ruby-33-on-windows-it-just-works/
Rails 8.0 was released just a few days back and as a user primarily on Windows, I was keen to see it all works and runs on Windows. I had done this check previously with Rails 7.1 on Ruby 3.2 on Windows and it had worked fine. Thanks to the stellar work of everyone involved, it just works. Let’s see a few more details below.