Replies: 1 comment 6 replies
-
Ruby 32-bit@Rich15, I'm a bit confused by the fact that Ruby 3 installer for Windows is indeed available in 32-bit version, although MSYS2 is not. The Chocolatey package for Ruby doesn't require MSYS2 either. My best guess is that Ruby 3 will work even on Win 7 32-bit, but possibly with some limitations due to the inability of compiling packages locally (which requires MSYS2). My advice is to just try and install it, as described above. Although you don't have to install Chocolatey, I strongly recommend you to install both Chocolatey and Chocolatey GUI, because they will make updating apps much easier (I use for all applications that don' come with an auto-updating feature). Also, Chocolatey will ensure you don't update dependencies in way which might break some applications. |
Beta Was this translation helpful? Give feedback.
-
@Rich15, I'm replying here to your request from #33 (later on we can recycle these instructions and move them to the Wiki):
I also work on Window, but Win 10 Home, so I'll provide some setup instructions below, hoping that they also work with Win 7.
32-bit Limitation
The main obstacle seems MSYS2, which is 64-bit only, and it's required to install Ruby.
You've already installed Git, so the main obstacle now is Ruby. I'm not sure you'll be able to install it under a 32-bit OS, in that case all I can think of is to provide you with some scripts to build and run the various tests and examples (scripts which we have just deleted to replace them with Ruby Rake instead).
So, let's start and see if there's a workaround to installing Ruby and, if not, we'll come up with a script based solution.
Core Setup Overview
Here's the basic setup that you'll need to use the repository under Windows:
>=3.x.x
On top of these, you'll need the ALAN SDK binaries on your SYS PATH (no installation) and some Ruby gems... But first you need to have the above up and running.
I strongly advise to install the above apps using Chocolatey (i.e. if there's a Chocolatey package mentioned in the "Chocolatey" column).
Chocolatey
Chocolatey is a package manager for Windows, which allows you to quickly install and update applications under Windows. To install Chocolatey follow the instructions here:
Installing Chocolatey takes some patience and fiddling with PowerShell, but once you've done it it's worth the effort since it makes installing any other tools much easier, and will also check dependencies requirements and versions for you, which will avoid breaking applications with premature updates of dependencies (e.g. two apps have a common dependency, but different versions, Chocolatey will only update the latter for a version compatible with both apps).
Win 7 x32 might require you manually install some required dependencies too (see instructions).
Chocolatey GUI
Once Chocolatey is setup an running, you can also Install Chocolatey GUI, which provides a graphic interface for installing and updating applications, instead of using the command line:
MSYS2
MSYS2 is now required by Ruby for Windows.
The best way is to install the MSYS2 Chocolatey package via Chocolatey GUI.
Ruby 3
The best way to install Ruby is via the Chocolatey package:
The problem is that IRC you can no longer install Ruby without MSYS2, because the latter is used to update/compile Ruby gems and dependencies.
Beta Was this translation helpful? Give feedback.
All reactions