classy_hash | Keep Your Hashes Classy | Hashing library
kandi X-RAY | classy_hash Summary
kandi X-RAY | classy_hash Summary
Keep Your Hashes Classy (a lightweight Hash validation gem)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of classy_hash
classy_hash Key Features
classy_hash Examples and Code Snippets
Community Discussions
Trending Discussions on classy_hash
QUESTION
I know nothing about Ruby and have been trying to install the squib gem on Windows 10 with little success.
On my first attempt, I installed Ruby 2.6.5-1 using RubyInstaller.exe. I don't remember the error code, but squib did not install. (I believe it was "make failed, exit code 1")
Then, I found out that I did not install MSYS2. So, I uninstalled Ruby and reinstalled, making sure to install MSYS2. Squib refused to install properly yet again.
Therefore, I took to the help pages and found support in a thread called "Windows install issue?". I was sure that this was my saving grace.
It wasn't.
I also tried the fixes listed in "trouble downloading" even though the OP's OS did not match mine. It didn't work.
I tried to install squib with bundler as well, but it did not work. I was not surprised.
I read some random thing somewhere saying that there may be conflicts with the newest version of Ruby. (2.6.5-1 at the time) So I used some downgrade Ruby magic to get to Ruby 2.5.7-??. Then something baffling happened. Squib failed to install. (The post was old and squib had been updated long ago)
UPDATE: I have uninstalled and reinstalled Ruby again. This time around I used the optional MSYS2 Update after installing MSYS2 in the rubyinstaller.exe. Still no luck. I believe it has to do with "glib2" whatever that is.
I am looking for advice on what to do next as I am sure I am missing something.
Thanks, Edgar
(This is the regurgitation from my most recent attempt.)
...ANSWER
Answered 2020-Apr-01 at 16:23So it seems like the version of glib2 that squib is calling for is not installing correctly on my Windows 10 system. After multiple attempts I discovered a work around that can get squib installed. It requires you to have a "subsystem for Linux" not as bad as it sounds, follow me:
1. Head to this site
2. Scroll down to the "Using the Windows Subsystem for Linux" section.
3. Follow all instructions after "Using the Windows Subsystem for Linux" and before "Bonus points!".
4. Once ruby is installed. Type the code below into your terminal:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install classy_hash
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page