Skip to content

Instantly share code, notes, and snippets.

@int128
Last active August 7, 2021 04:24
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save int128/327b2f42569471b10a8d to your computer and use it in GitHub Desktop.
Save int128/327b2f42569471b10a8d to your computer and use it in GitHub Desktop.
How to use Ruby on Cygwin

How to use Ruby on Cygwin

It is strongly recommended to run on Linux or OS X. Maybe many problems will happen.

Prerequisite

  • Cygwin
  • apt-cyg
  • http_proxy is set if needed

Install packages

Install ruby and native build dependencies.

apt-cyg install ruby
apt-cyg install make gcc-core gcc-g++ libcrypt-devel

Update gems

Verify gem works well.

LANG=C.BINARY gem update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment