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
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
130
Swift愛好会100回記念 第1回を振り返る
jollyjoester
0
120
{ Android | Kotlin } Gradle Plugin in 2026
ryunen344
1
300
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
1k
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
140
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
360
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
6
3.2k
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
160
業務時間外もAIに働いてもらう話
colorful12
3
10k
Deep dive into the select statement (GopherCon UK)
jespino
0
170
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
130
Press start. Python's next generation.
willingc
PRO
3
320
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
A Soul's Torment
seathinner
7
3.6k
Leo the Paperboy
mayatellez
8
2.3k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
520
New Earth Scene 8
popppiees
3
2.5k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
210
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
230
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Marketing to machines
jonoalderson
1
5.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Ruling the World: When Life Gets Gamed
codingconduct
0
330
Test your architecture with Archunit
thirion
2
2.4k
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