DEV Community

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

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.