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

Rubyのバージョンを3.0にあげる #676

Merged
merged 1 commit into from
Jan 20, 2022
Merged

Conversation

takurinton
Copy link
Contributor

リリースの CI が落ちてるので Ruby のバージョンを上げる。

ref https://github.com/voyagegroup/ingred-ui/runs/4877991528?check_suite_focus=true

Run gem install -N github_changelog_generator
  gem install -N github_changelog_generator
  shell: /usr/bin/bash -e {0}
ERROR:  Error installing github_changelog_generator:
	There are no versions of io-event (~> 1.0.0) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you're looking for?
	io-event requires Ruby version >= 3.0. The current ruby version is 2.7.5.203.
Successfully installed concurrent-ruby-1.1.9
Successfully installed tzinfo-2.0.4
Successfully installed i18n-1.8.11
Successfully installed activesupport-7.0.1
Successfully installed fiber-local-1.0.0
Successfully installed console-1.14.0
Error: Process completed with exit code 1.

@takurinton
Copy link
Contributor Author

安定バージョンだと3.1.0なのか
https://www.ruby-lang.org/ja/downloads/

@netlify
Copy link

netlify bot commented Jan 20, 2022

✔️ Deploy Preview for ingred-ui ready!

🔨 Explore the source changes: 44492d4

🔍 Inspect the deploy log: https://app.netlify.com/sites/ingred-ui/deploys/61e8fcaf58cd4d0008a17973

😎 Browse the preview: https://deploy-preview-676--ingred-ui.netlify.app

@takurinton
Copy link
Contributor Author

再現完了、Ruby3.0.x だとエラーは出ない。

Ruby2.7 の場合

$ ruby -v
ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-darwin20]
$ gem install -N github_changelog_generator
Fetching activesupport-7.0.1.gem
Fetching fiber-local-1.0.0.gem
Fetching i18n-1.8.11.gem
Fetching console-1.14.0.gem
Fetching io-event-1.0.2.gem
Fetching concurrent-ruby-1.1.9.gem
Fetching tzinfo-2.0.4.gem
Fetching timers-4.3.3.gem
Fetching async-2.0.0.gem
Fetching async-io-1.32.2.gem
Fetching async-pool-0.3.9.gem
Fetching protocol-http-0.22.5.gem
Fetching protocol-http1-0.14.2.gem
Fetching protocol-hpack-1.4.2.gem
Fetching protocol-http2-0.14.2.gem
Fetching async-http-0.56.5.gem
Fetching ruby2_keywords-0.0.5.gem
Fetching faraday-retry-1.0.3.gem
Fetching faraday-rack-1.0.0.gem
Fetching faraday-patron-1.0.0.gem
Fetching faraday-net_http_persistent-1.2.0.gem
Fetching faraday-net_http-1.0.1.gem
Fetching multipart-post-2.1.1.gem
Fetching faraday-multipart-1.0.3.gem
Fetching faraday-httpclient-1.0.1.gem
Fetching faraday-excon-1.1.0.gem
Fetching faraday-em_synchrony-1.0.0.gem
Fetching faraday-em_http-1.0.0.gem
Fetching faraday-1.9.3.gem
Fetching async-http-faraday-0.11.0.gem
Fetching faraday-http-cache-2.2.0.gem
Fetching multi_json-1.15.0.gem
Fetching public_suffix-4.0.6.gem
Fetching addressable-2.8.0.gem
Fetching sawyer-0.8.2.gem
Fetching octokit-4.22.0.gem
Fetching rainbow-3.1.1.gem
Fetching github_changelog_generator-1.16.4.gem
Successfully installed concurrent-ruby-1.1.9
Successfully installed tzinfo-2.0.4
Successfully installed i18n-1.8.11
Successfully installed activesupport-7.0.1
Successfully installed fiber-local-1.0.0
Successfully installed console-1.14.0
ERROR:  Error installing github_changelog_generator:
	There are no versions of io-event (~> 1.0.0) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you're looking for?
	io-event requires Ruby version >= 3.0. The current ruby version is 2.7.5.203.

Ruby3.0 の場合

$ ruby -v
ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-darwin20]
$ gem install -N github_changelog_generator
Fetching rainbow-3.1.1.gem
Fetching ruby2_keywords-0.0.5.gem
Fetching faraday-rack-1.0.0.gem
Fetching faraday-patron-1.0.0.gem
Fetching faraday-retry-1.0.3.gem
Fetching faraday-net_http_persistent-1.2.0.gem
Fetching faraday-net_http-1.0.1.gem
Fetching multipart-post-2.1.1.gem
Fetching faraday-multipart-1.0.3.gem
Fetching faraday-httpclient-1.0.1.gem
Fetching faraday-excon-1.1.0.gem
Fetching faraday-em_synchrony-1.0.0.gem
Fetching faraday-em_http-1.0.0.gem
Fetching faraday-1.9.3.gem
Fetching public_suffix-4.0.6.gem
Fetching addressable-2.8.0.gem
Fetching sawyer-0.8.2.gem
Fetching octokit-4.22.0.gem
Fetching multi_json-1.15.0.gem
Fetching faraday-http-cache-2.2.0.gem
Fetching protocol-http-0.22.5.gem
Fetching protocol-hpack-1.4.2.gem
Fetching protocol-http2-0.14.2.gem
Fetching protocol-http1-0.14.2.gem
Fetching timers-4.3.3.gem
Fetching nio4r-2.5.8.gem
Fetching fiber-local-1.0.0.gem
Fetching console-1.14.0.gem
Fetching async-1.30.1.gem
Fetching async-pool-0.3.9.gem
Fetching async-io-1.32.2.gem
Fetching async-http-0.56.5.gem
Fetching github_changelog_generator-1.16.4.gem
Fetching async-http-faraday-0.11.0.gem
Fetching concurrent-ruby-1.1.9.gem
Fetching tzinfo-2.0.4.gem
Fetching i18n-1.8.11.gem
Fetching activesupport-7.0.1.gem
Successfully installed rainbow-3.1.1
Successfully installed ruby2_keywords-0.0.5
Successfully installed faraday-retry-1.0.3
Successfully installed faraday-rack-1.0.0
Successfully installed faraday-patron-1.0.0
Successfully installed faraday-net_http_persistent-1.2.0
Successfully installed faraday-net_http-1.0.1
Successfully installed multipart-post-2.1.1
Successfully installed faraday-multipart-1.0.3
Successfully installed faraday-httpclient-1.0.1
Successfully installed faraday-excon-1.1.0
Successfully installed faraday-em_synchrony-1.0.0
Successfully installed faraday-em_http-1.0.0
Successfully installed faraday-1.9.3
Successfully installed public_suffix-4.0.6
Successfully installed addressable-2.8.0
Successfully installed sawyer-0.8.2
Successfully installed octokit-4.22.0
Successfully installed multi_json-1.15.0
Successfully installed faraday-http-cache-2.2.0
Successfully installed protocol-http-0.22.5
Successfully installed protocol-hpack-1.4.2
Successfully installed protocol-http2-0.14.2
Successfully installed protocol-http1-0.14.2
Successfully installed timers-4.3.3
Building native extensions. This could take a while...
Successfully installed nio4r-2.5.8
Successfully installed fiber-local-1.0.0
Successfully installed console-1.14.0
Successfully installed async-1.30.1
Successfully installed async-pool-0.3.9
Successfully installed async-io-1.32.2
Successfully installed async-http-0.56.5
Successfully installed async-http-faraday-0.11.0
Successfully installed concurrent-ruby-1.1.9
Successfully installed tzinfo-2.0.4
Successfully installed i18n-1.8.11
Successfully installed activesupport-7.0.1
Successfully installed github_changelog_generator-1.16.4
38 gems installed

Copy link
Contributor

@youchann youchann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMです!

@youchann
Copy link
Contributor

一応Changelogも確認しておいてもらえると!

@takurinton
Copy link
Contributor Author

@youchann

Changelogってローカルで動きますか?(トークンがなさそうだったりしてて)

@youchann
Copy link
Contributor

@takurinton
リリース後に生成されたのを確認するでよいよ

@takurinton takurinton merged commit dd3b11e into master Jan 20, 2022
@takurinton takurinton deleted the update/ruby-3 branch January 20, 2022 07:22
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

Successfully merging this pull request may close these issues.

None yet

2 participants