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

Install/use older versions of ruby #1957

Closed
Hazardius opened this issue Jan 18, 2018 · 5 comments
Closed

Install/use older versions of ruby #1957

Hazardius opened this issue Jan 18, 2018 · 5 comments

Comments

@Hazardius
Copy link
Contributor

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.

@asmgf
Copy link
Contributor

asmgf commented Jan 22, 2018

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

@TrumanCai
Copy link

@asmgf it works.

@Hazardius
Copy link
Contributor Author

@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.

@yeikel
Copy link

yeikel commented Jan 26, 2018

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

@Hazardius
Copy link
Contributor Author

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

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