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/
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!
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/
I recently worked in #Rails 7.2.alpha using #Ruby 3.3 on regular #Windows, and some slowness aside, everything worked absolutely fine for my needs.
Thanks for doing such a great job, the Rails, Ruby, #RubyonWindows, RubyGems, SQLite3 and Puma teams.
(regular windows = no docker, no WSL2)
Thanks to the #RubyInstaller team, #Ruby 3.3 is already available on Windows. My illustrated guide to installing and running #RubyOnWindows is updated and available at: https://notepad.onghu.com/2023/ruby3.3-windows-day0-install-hello_world/
#Rails 7.1 is out! I always like to check if it still works on #Windows. Thanks to the stellar work by the @rails, @rubylangorg & @JRuby teams, Rails 7.1 works fine on #Ruby 3.2 on Windows.
Btw, this post also resulted in 1 issue & 1PR.
https://notepad.onghu.com/2023/rails71-on-windows-it-just-works/
On #ruby30th, I'm delighted I discovered it & grew to really like it - back in 2005.
Now, I wish it continues to grow, and stays alive in all its forms including #RubyOnWindows and #JRuby.
Also, I hope to keep creating useful content for Ruby devs.
Thank you @yukihiro_matz
Cleaned up and included in Part 2:
---
RT @onghu
Want to learn more than you expected about how #ruby loads a native gem? Part 2 of my "Learning by Reversing a Native Gem" is now available and includes this (IMO) fantastic sequence diagram!
Link: https://notepad.onghu.com/2023/learning-by-reversing-s1-e2-native-gems/
#programming #rubyOnWindows
https://twitter.com/onghu/status/1627193129098006530
Want to learn more than you expected about how #ruby loads a native gem? Part 2 of my "Learning by Reversing a Native Gem" is now available and includes this (IMO) fantastic sequence diagram!
Link: https://notepad.onghu.com/2023/learning-by-reversing-s1-e2-native-gems/
@andi I am so happy to see this post and I completely agree that #RubyOnWindows is really useful, and I hope that we don't end up just saying "use #WSL instead" because it's not the same thing!
Thanks to the full team that keeps Ruby, JRuby and Rails all working on Windows also.
Dear Matz
I was happy to see Lars Kanis nominated for the Ruby Prize. His work helps me alot. I pushed for Ruby in our small company. It now runs on dozens of windows servers shuffling orders and products around. Even Voice Actors of Switzerland use Ruby on windows. Pros use Windows too! 😉
スゴイ!
I think Lars is also looking at ways that some things become faster... let's hope for a better, faster #RubyOnWindows