Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
CentOS 8 での Ruby 環境
Search
Koichi Shimozono
October 30, 2019
Programming
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CentOS 8 での Ruby 環境
Koichi Shimozono
October 30, 2019
More Decks by Koichi Shimozono
See All by Koichi Shimozono
Serverspecを使用したサーバ設定テストの実例 / かごもく No8
simozono
0
300
Jupyter Notebook (jupyterhub)で ruby とグラフ / k-ruby 20th
simozono
0
160
Other Decks in Programming
See All in Programming
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
Simple Storage Service(S3) is not simple
iwatsukayura
0
290
golang-bob.pdf
iwatsukayura
0
130
Workers Cache を知る
syumai
0
370
ActionController meets Protocol Buffers
sorah
0
530
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
Next.js: The final boss of Web Performance
guaca
0
260
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
500
すこし踏み込む CancellationToken
htkym
2
1.7k
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
Featured
See All Featured
The SEO identity crisis: Don't let AI make you average
varn
0
590
Building AI with AI
inesmontani
PRO
1
1.3k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
710
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
Prompt Engineering for Job Search
mfonobong
0
520
From π to Pie charts
rasagy
1
400
GraphQLとの向き合い方2022年版
quramy
50
15k
Design in an AI World
tapps
1
350
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Exploring anti-patterns in Rails
aemeredith
4
540
Raft: Consensus for Rubyists
vanstee
142
7.8k
Transcript
CentOS 8 での Ruby 環境 鹿児島大学 学術情報基盤センター 下園幸一
[email protected]
1
2019/10/30 K-Ruby 24 Lightning Talk
結論 CentOS 8 標準では、現在のところ Ruby 2.5.3p105 です。 ◦ CentOS
8.x では 2.6 とかが提供される(だろ う) rbenv 等自分でインストールする場合は CentOS 7 とほぼ同じ ◦ PowerTools リポジトリを有効にすること 2019/10/30 K-Ruby 24 Lightning Talk 2
CentOS 8 言わずと知れた RHEL 8 クローン ◦ RHEL 8
リリース 2019/05/07 ◦ CentOS 8 リリース 2019/09/24 今回は時間がかかった ◦ kernel version 4.18 サポート期間 ◦ 2029年9月 2019/10/30 K-Ruby 24 Lightning Talk 3
CentOS 8 と CentOS Stream 2019/09 に CentOS Stream
もリリース 私の解釈(誤解があるかもしれません) 2019/10/30 K-Ruby 24 Lightning Talk 4 CentOS Stream RHEL x.x と同じものを Fork ?
CentOS 8 の AppStream Fedora 28で導入されたModularity OSからアプリケーションのライフサイクルを独立させる仕組み
それぞれのアプリケーションはOSと独立し 2~5年のサポート 2019/10/30 K-Ruby 24 Lightning Talk 5
AppStream 対応パッケージ コマンドで確認 2019/10/30 K-Ruby 24 Lightning Talk 6
# dnf module list CentOS-8 – AppStream Name Stream Profiles httpd 2.4 [d] common [d], devel, minimal perl 5.24 common [d], minimal perl 5.26 [d] common [d], minimal postgresql 10 [d] client, server [d] postgresql 9.6 client, server [d] ruby 2.5 [d] common [d] Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled # 参考: https://www.server-world.info/query?os=CentOS_8&p=initial_conf&f=6
CentOS での Ruby(標準パッケージ) CentOS 8 で配布される Ruby は AppStream
対応パッケージ ◦ ruby 2.5.3p105 (2018-10-18 revision 65156) RHEL 8 での Ruby 2.5 のサポートは 2021/02 まで ◦ https://access.redhat.com/node/4079021 ◦ CentOS 8 でも同じと思われる。 ◦ つまり RHEL 8.1 (CentOS 8.1)とかで Ruby 2.6 の AppStream 対応パッケージが配布されると思う。 2019/10/30 K-Ruby 24 Lightning Talk 7
CentOS での Ruby (rbenv 自力コンパイル) 私の環境では基本的に system wide に
rbenv を利用できるようにしている。 https://qiita.com/chezou/items/86ee6ded253c0 94a23b6 Ruby コンパイルに必要なパッケージ ◦ CentOS 8 が minimal install の場合 ◦ Ruby 2.6.x autoconf, automake, bison, bzip2, curl, gcc gcc-c++, gdbm-devel, libffi-devel libtool, libyaml-devel, make, ncurses-devel openssl-devel, patch, readline-devel, sqlite-devel zlib-devel 2019/10/30 K-Ruby 24 Lightning Talk 8
libyaml-devel への対応 PowerTools リポジトリに移動したようだ ◦ https://bugs.centos.org/view.php?id=16450 対処法 dnf
config-manager --enable PowerTools または /etc/yum.repos.d/CentOS-PowerTools.repo の中 で enabled=1 とする 2019/10/30 K-Ruby 24 Lightning Talk 9
結論 CentOS 8 標準では、現在のところ Ruby 2.5.3p105 です。 ◦ CentOS
8.x では 2.6 とかが提供される(だろ う) rbenv 等自分でインストールする場合は CentOS 7 とほぼ同じ ◦ PowerTools リポジトリを有効にすること 2019/10/30 K-Ruby 24 Lightning Talk 10