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
SONY CISC-NEWS NWS-1750 + NWB-225 フレームバッファの NetBSD/news68k ドライバ実装 / OSC2026Hiroshima
tsutsui
0
120
個人開発基盤をまるごとCloudflareに引っ越して爆速で総合的体験を向上させた話
tinykitten
0
200
すこし踏み込む CancellationToken
htkym
2
580
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
310
JRuby: Past, Present, and Future
headius
0
130
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
150
AHC070解法紹介
eijirou
0
120
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
5
3.4k
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
360
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
3k
Family mrubyの進捗
kishima
1
130
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
130
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
570
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
940
Designing for Performance
lara
611
70k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
550
HDC tutorial
michielstock
2
870
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Navigating Weather and Climate Data
rabernat
0
520
From π to Pie charts
rasagy
1
370
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
460
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