Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RubyInstaller2 based Ruby 2.3.5 available #378

Open
MSP-Greg opened this issue Sep 16, 2017 · 4 comments
Open

RubyInstaller2 based Ruby 2.3.5 available #378

MSP-Greg opened this issue Sep 16, 2017 · 4 comments

Comments

@MSP-Greg
Copy link

At present, RubyInstaller (RI) versions have stopped at 2.3.3. They also have various issues, from ssl certs to package availability and maintenance.

Lars Kanis has put a lot of time into the RubyInstaller2 (RI2) system (thanks again), and is building 2.4 versions.

I've been using my own MSYS2/MinGW build system for a while, and I include the RI2 runtime. Although I've mostly concentrated on testing trunk, I added building of 2.3 and 2.4. I recently uploaded a 2.3.5 build to BinTray.

I believe it would help the adoption of RI2 if a 2.3 build was available. I would like to propose adding it to the OneClick web site.

BUILD INFO

Since there were a few issues posted in RI2 that involved gem update / install problems, it's obvious that many users are updating gems, and also default gems. Hence, the build has the following:

  1. RubyGems updated to 2.6.13.
  2. Bundled gems (all?) updated.
  3. Default gems - BigDecimal, JSON, OpenSSL, Pysch, and RDoc are updated, *.so files stripped, and all pushed back into the build.
  4. Bundler added.
  5. Full build & test logs here. Includes prepare, build, package, and several tests. The file ruby23_64_2.3.5_info.log shows test results on the upgraded default gems.
  6. Build 7z here and sig file.
  7. Built with readline 7.0, but also has rb-readline installed. Default is rb-readline. All standard tests done with the extension/so version.

BUILD SUMMARY

-------------------------------------------  2017-09-16 18:36:09 UTC  Appveyor Ruby 2.3.5
ruby 2.3.5p376 (2017-09-14 revision 59905) [x64-mingw32]

Build Type/Info: RubyInstaller2 vers ruby-loco RI2 2.4.2-2  commit a1b07ad
       gcc info: x86_64-w64-mingw32-gcc.exe (Rev1, Built by MSYS2 project) 7.2.0

Gem::VERSION     2.6.13

BigDecimal.ver   1.1.0
GDBM::VERSION    GDBM version 1.10. 13/11/2011 (built Jul 28 2017 22:23:16)
JSON::VERSION    2.1.0

OpenSSL::VERSION                  2.0.5
    OPENSSL_VERSION               OpenSSL 1.0.2l  25 May 2017
    OPENSSL_LIBRARY_VERSION       OpenSSL 1.0.2l  25 May 2017
    SSLContext::METHODS           SSLv23 SSLv3 TLSv1 TLSv1_1 TLSv1_2
    X509::DEFAULT_CERT_FILE       File Dated 2017-09-16  C:/ruby23-ri2/ssl/cert.pem
    X509::DEFAULT_CERT_DIR        Dir  Exists            C:/ruby23-ri2/ssl/certs
    Config::DEFAULT_CONFIG_FILE   File Dated 2017-05-25  C:\OpenSSL-Win32\bin\openssl.cfg
    ENV['SSL_CERT_FILE']          No ENV key  
    ENV['SSL_CERT_DIR']           No ENV key  
    ENV['OPENSSL_CONF']           File Dated 2017-05-25  C:\OpenSSL-Win32\bin\openssl.cfg

Psych::VERSION            2.2.4         LIBYAML_VERSION  0.1.7
Readline::VERSION (rb)    5.2
Zlib::VERSION             0.6.0         ZLIB_VERSION     1.2.11

-------------------------------------------------------- Load Test
DBM         Ok                    Win32::Registry   Ok
Digest      Ok                    WIN32OLE          Ok
Fiddle      Ok                    Zlib              Ok
Socket      Ok

------------ Default Gems ----              ------------ Bundled Gems ----
       1.3.2 bigdecimal                           1.15.4 bundler
       0.4.5 io-console                            1.0.3 did_you_mean
       2.1.0 json                                 5.10.3 minitest
       2.0.5 openssl                               0.1.1 net-telnet
       2.2.4 psych                                 1.1.0 power_assert
       5.1.0 rdoc                                 12.1.0 rake
                                                   3.2.5 test-unit

Misc

I've been logging my trunk test results here. First results shown are from Apri-2017, I was building before that, but not logging.

My trunk build is used a few places for testing, RubyGems just found a bug with it.

I have been using MSYS2/MinGW for a while, so, when working with it, I work in its shell. Hence, I haven't used ridk much.

@larskanis
Copy link
Member

Thank you @MSP-Greg for your ongoing work for ruby on Windows!

I believe it would help the adoption of RI2 if a 2.3 build was available. I would like to propose adding it to the OneClick web site.

In the past months, I migrated a whole bunch of very different systems to RubyInstaller-2.4. It turned out, that the majority of issues aroused, were due to the new DevKit/MSYS2 and the changed DLL lookup mechanism. On the other hand most gems are ruby-2.4 compatible now, so that incompatibilities with ruby-2.4 can usually be fixed by simply updating the relevant gem.

While I would wish updated RubyInstaller1 based versions, I don't think publishing older ruby versions based on the RI2 stack makes sense. It was also the conclusion in the past, to make this switch for ruby-2.4+ only.

If you @MSP-Greg or @Azolo can build RI1 based installers, I can help publishing them.

@MSP-Greg
Copy link
Author

I'm not sure if anyone tried the 2.3.5 build mentioned at the top of the thread.

I've got a build based on

ruby 2.3.7p407 (2018-02-01 revision 62148) [x64-mingw32]

I was looking at 2.3.6, but there were quite a few backports done after it was released, so I used 2.3.7.

Anyway, it's got everything new that I could shove back into it, in particular, OpenSSL 1.1.0g. Hence, if you have any gems built with OpenSSL (Puma, EM, etc), they will need to be recompiled with the OpenSSL 1.1.0g package.

Anyone interested, reply and I can post on BinTray...

@kapoorlakshya
Copy link

@MSP-Greg I am interested in trying the 2.3.7 installed. Please share the download link and I can try it out.

@luislavena
Copy link
Member

Hello @MSP-Greg, thank you for the contribution.

Have you thought sending these changes to RubyInstaller2 repository instead? Maybe these can be integrated and alternatively others use the newer official version instead of the old-devkit based one.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants