Scoop: Install/use older versions of ruby

Created on 18 Jan 2018  路  5Comments  路  Source: lukesampson/scoop

Recently a new version of ruby for Windows was released by RubyInstaller. Scoop started using it rather fast, but that caused some issues. There are some fat gems that needs to be updated for rails to work fine with new ruby.

With that in mind - I couldn't find a way to use different rubies than "the latest 2.x" and "the latest 1.9.x".
Is there a way to do that now? If not - could it be worth adding?

Examples of issues for various gems:
nokogiri#1706, ffi#598

There's an bundler#6247 trying to help with this issue.

Personally - on most of my systems I use chruby for rubies management, but didn't try it out yet with scoop - just sticked with it's last version - 2.4.2.

Most helpful comment

@Hazardius, you can try something like scoop install [email protected].

All 5 comments

@Hazardius, you can try something like scoop install [email protected].

@asmgf it works.

@asmgf , thank you very much for help.
I'm thinking that maybe this method could be mentioned on the Switching Ruby and Python Versions page. Right now I only found out that scoop "Can't install a specific version of a program." on the Chocolatey Comparison page.

Latest doc states that "Can't always install a specific version of a program" so it is technically supported

Thanks @rasa for making a change in the docs and @yeikel for letting me know so I can now close that issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

roysubs picture roysubs  路  3Comments

thorstenkampe picture thorstenkampe  路  3Comments

SinisterBlade picture SinisterBlade  路  3Comments

vpratfr picture vpratfr  路  3Comments

notlmn picture notlmn  路  3Comments