DEV Community

Cover image for Doing Crystal #2: Getting started with Crystal

Doing Crystal #2: Getting started with Crystal

Chris Watson on May 22, 2019

Hello and welcome to another edition of Doing Crystal. In this article I’m going do a brief overview of the installation of Crystal, Crystal Shards...
Collapse
 
megatux profile image
Cristian Molina

I use asdf version manager to install Crystal and other languages & DBs

Collapse
 
watzon profile image
Chris Watson

I actually didn't know about that before. I may have to install it.

Collapse
 
megatux profile image
Cristian Molina

Nice, thx. I think ruby "gem install" for binary libs does compile code, not install binaries.

Collapse
 
watzon profile image
Chris Watson

Well Ruby doesn't compile. If the gem has linked C++ it will compile the linked libraries, but Ruby itself doesn't compile. Typically gem install will download the gem from the repository and, if there are any files in the gems bin directory that are referenced in the gemfile it will link them to /usr/local/bin or something. Typically those files are just ruby files made to run as shell scripts.