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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.3k
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
2
650
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
120
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
Next.js: The final boss of Web Performance
guaca
0
270
Jetpack Compose Mechanisms
skydoves
3
820
R8 の設定見直しでアプリサイズ削減
andpad
0
220
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.2k
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
610
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
300
カツオ、ご期待ください
suneo3476
0
190
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
780
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
540
Side Projects
sachag
456
43k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
KATA
mclloyd
PRO
35
16k
Deep Space Network (abreviated)
tonyrice
0
370
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
Build your cross-platform service in a week with App Engine
jlugia
234
19k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
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