DEV Community

Discussion on: Doing Crystal #2: Getting started with Crystal

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 Author

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.