Я пытаюсь установить ruby 1.9.3, но я получаю эту ошибку.Ошибка при установке другой версии ruby с использованием rvm
✘ [email protected] rvm install ruby-1.9.3-p125
Warning! PATH is not properly set up, '/home/sushant/.rvm/gems/ruby-2.3.0/bin' is not at first place,
usually this is caused by shell initialization files - check them for 'PATH=...' entries,
it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
to fix temporarily in this shell session run: 'rvm use ruby-2.3.0'.
Searching for binary rubies, this might take some time.
No binary rubies available for: mint/17/i386/ruby-1.9.3-p125.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for mint.
Requirements installation successful.
Installing Ruby from source to: /home/sushant/.rvm/rubies/ruby-1.9.3-p125, this may take a while depending on your cpu(s)...
ruby-1.9.3-p125 - #downloading ruby-1.9.3-p125, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9505k 100 9505k 0 0 103k 0 0:01:31 0:01:31 --:--:-- 164k
ruby-1.9.3-p125 - #extracting ruby-1.9.3-p125 to /home/sushant/.rvm/src/ruby-1.9.3-p125 - please wait
ruby-1.9.3-p125 - #applying patch /home/sushant/.rvm/patches/ruby/GH-488.patch - please wait
ruby-1.9.3-p125 - #configuring - please wait
ruby-1.9.3-p125 - #post-configuration - please wait
ruby-1.9.3-p125 - #compiling - please wait
Error running '__rvm_make -j4',
showing last 15 lines of /home/sushant/.rvm/log/1456220961_ruby-1.9.3-p125/make.log
OSSL_SSL_METHOD_ENTRY(SSLv3_client),
^
ossl_ssl.c:106:69: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, (SSL_METHOD *(*)(void))name##_method }
^
make[2]: *** [ossl_ssl.o] Error 1
make[2]: Leaving directory `/home/sushant/.rvm/src/ruby-1.9.3-p125/ext/openssl'
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
compiling callback-8.c
linking shared-object dl/callback.so
make[2]: Leaving directory `/home/sushant/.rvm/src/ruby-1.9.3-p125/ext/dl/callback'
make[1]: Leaving directory `/home/sushant/.rvm/src/ruby-1.9.3-p125'
make: *** [build-ext] Error 2
+__rvm_make:0> return 2
There has been an error while running make. Halting the installation.
У меня есть много для этого, и ни одно из решений, похоже, не работает для меня. Это моя текущая установка
Я бегу linux mint 17 32 бит. Моя версия ruby и rvm - ruby 2.3.0p0 (2015-12-25 revision 53290) [i686-linux]
, rvm 1.26.11 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
Вы porbably отсутствует один или другая общая библиотека - в этом случае это может быть openssl. – froderik
Дополнительная информация может быть в '/ home/sushant/.rvm/log/1456220961_ruby-1.9.3-p125/make.log'. – froderik
@froderik, openssl - это уже последняя версия. и я взглянул на файл make.log, и я не нашел там ничего полезного. –