inxi -S

System: Host: test-VirtualBox Kernel: 4.10.0-38-generic x86_64 (64 bit)
Desktop: MATE 1.18.0 Distro: Linux Mint 18.3 Sylvia

rvm install 2.3.0

ruby-2.3.0 - #removing src/ruby-2.3.0..
Checking requirements for mint.
Requirements installation successful.
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.3.0, this may take a while depending on your cpu(s)...
ruby-2.3.0 - #downloading ruby-2.3.0, this may take a while depending on your connection...
ruby-2.3.0 - #extracting ruby-2.3.0 to /usr/local/rvm/src/ruby-2.3.0....
ruby-2.3.0 - #applying patch /usr/local/rvm/patches/ruby/ruby_2_3_gcc7.patch.
ruby-2.3.0 - #applying patch /usr/local/rvm/patches/ruby/changeset_r53419.diff.
ruby-2.3.0 - #applying patch /usr/local/rvm/patches/ruby/2.3.0/random_c_using_NR_prefix.patch.
ruby-2.3.0 - #configuring......................................................-
ruby-2.3.0 - #post-configuration..
ruby-2.3.0 - #compiling........................................................-
Error running '__rvm_make -j1',
please read /usr/local/rvm/log/1518888339_ruby-2.3.0/make.log
There has been an error while running make. Halting the installation.

make.log

ossl.c: At top level:
ossl.c:483:1: warning: ‘ossl_lock_callback’ defined but not used [-Wunused-function]
ossl_lock_callback(int mode, int type, const char *file, int line)
^
ossl.c:493:1: warning: ‘ossl_dyn_create_callback’ defined but not used [-Wunused-function]
ossl_dyn_create_callback(const char *file, int line)
^
ossl.c:501:1: warning: ‘ossl_dyn_lock_callback’ defined but not used [-Wunused-function]
ossl_dyn_lock_callback(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)
^
ossl.c:507:1: warning: ‘ossl_dyn_destroy_callback’ defined but not used [-Wunused-function]
ossl_dyn_destroy_callback(struct CRYPTO_dynlock_value *l, const char *file, int line)
^
ossl.c:520:22: warning: ‘ossl_thread_id’ defined but not used [-Wunused-function]
static unsigned long ossl_thread_id(void)
^
Makefile:301: recipe for target 'ossl.o' failed
make[2]: *** [ossl.o] Error 1
make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.0/ext/openssl'
exts.mk:207: recipe for target 'ext/openssl/all' failed
make[1]: *** [ext/openssl/all] Error 2
make[1]: Leaving directory '/usr/local/rvm/src/ruby-2.3.0'
uncommon.mk:203: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2
++ return 2

2 (17.02.2018 22:57:35 отредактировано Marley)

Может поможет:

# apt-get install -y  openssl-devel

No Woman No Cry...