#RubyOnWindows

Mohit Sindhwanionghu@ruby.social
2025-12-30

Damn! `bundle install` with `duckdb` in the Gemfile failed! Fortunately, I have my own blog to refer to about this (yay!) - notepad.onghu.com/2025/duck-db

#DuckDB #Programming #Ruby #RubyOnWindows

DuckDB gem installation failed with numerous errors about not being able to build the native gem
Mohit Sindhwanionghu@ruby.social
2025-12-27

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: notepad.onghu.com/2025/ruby4.0

#Programming

Installation page for RubyInstaller2 for Windows
Mohit Sindhwanionghu@ruby.social
2025-07-28

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.
rubyinstaller.org/downloads/

#Programming #Ruby #RubyOnWindows

Mohit Sindhwanionghu@ruby.social
2025-04-28

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:
notepad.onghu.com/2025/jruby-1

#Ruby #Programming #RubyOnWindows

Windows dialog showing JRuby installation is complete.
Mohit Sindhwanionghu@ruby.social
2025-04-27

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.

#Ruby #RubyOnWindows #Programming

Distracted boyfriend meme with "All my Other Stuff" looking at "Me" while I seem keen to check out "JRuby 10"
Mohit Sindhwanionghu@ruby.social
2025-03-08

@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.

Mohit Sindhwanionghu@ruby.social
2025-02-02

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: notepad.onghu.com/2025/duck-db

#RubyOnWindows

Mohit Sindhwanionghu@ruby.social
2024-12-31

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: notepad.onghu.com/2024/ruby3.4

Happy New Year!

#RubyOnWindows #programming

Mohit Sindhwanionghu@ruby.social
2024-11-16

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: notepad.onghu.com/2024/rails80

#ruby #programming

Mohit Sindhwanionghu@ruby.social
2024-11-16

uh-oh...! #rails 8 failed to install on #windows for me - time to get deeper into it and figure out what went wrong!

#programming #ruby #RubyOnWindows

Mohit Sindhwanionghu@ruby.social
2024-04-09

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)

Mohit Sindhwanionghu@ruby.social
2024-01-04

From #Ruby on #Windows, how are you starting and detaching from a process that runs a Windows CMD file and getting back its PID?

Using start, cmd, etc. with spawn always gives me a different pid.

Thanks.

#programming #RubyOnWindows

Mohit Sindhwanionghu@ruby.social
2023-12-27

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: notepad.onghu.com/2023/ruby3.3

#programming

Mohit Sindhwanionghu@ruby.social
2023-10-08

#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.
notepad.onghu.com/2023/rails71

#RubyOnWindows

Rails welcome screen on Ruby 3.2 on Windows.
Mohit Sindhwanionghu@ruby.social
2023-02-24

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

Mohit Sindhwanionghu@ruby.social
2023-02-19

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: notepad.onghu.com/2023/learnin

#programming #rubyOnWindows
twitter.com/onghu/status/16271

Mohit Sindhwanionghu@ruby.social
2023-02-19

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: notepad.onghu.com/2023/learnin

#programming #rubyOnWindows

title Requiring the Native Gem

participant Script
participant Ruby
participant RubyGems
participant Gem_Code
participant Gem_Extension

note over Ruby, RubyGems: At the start,\nrubygems is required
Ruby->>RubyGems: Load rubygems
RubyGems-->>Ruby: Patch/ Change `require`

note over Script, Ruby, RubyGems, Gem_Code, Gem_Extension: The script requires the gem
Script->>RubyGems: require 'fast_polylines'
RubyGems->>Ruby: Check if file can be loaded\nusingKernel#require 
Ruby-->>RubyGems: Not found
RubyGems-->>RubyGems: Scan gems\nfor the file

RubyGems->>Ruby: Add gem to $LOAD_PATH
RubyGems->>Ruby: Load gem code
Ruby->>Gem_Code: Load file

note over Ruby, RubyGems, Gem_Code: Gem code requires\nthe native extension

Gem_Code->>Ruby: require 'fast_polylines/fast_polylines'
Ruby->>Ruby: search $LOAD_PATH
Ruby->>Gem_Extension: Load as Extension (fast_polyline.so)
Ruby->>Gem_Extension: Execute Init_fast_polylines
Gem_Extension->>Ruby: Add module and methods
Ruby-->>RubyGems: Loaded.
RubyGems-->>Script: Gem loaded.
Mohit Sindhwanionghu@ruby.social
2023-01-28

@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.

Andi :miyazaki:andi@famichiki.jp
2023-01-28

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! 😉

rubyprize.jp

#ruby #rubyonwindows #rubyprize

Mohit Sindhwanionghu@ruby.social
2023-01-18

@andi

スゴイ!

I think Lars is also looking at ways that some things become faster... let's hope for a better, faster #RubyOnWindows

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst