Download - Ruby on Windows
![Page 1: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/1.jpg)
Ruby on Windows
2014/9/21
cuzic
![Page 2: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/2.jpg)
RubyHiroba 2014 Ltthon 発表資料 「Ruby on Windows」
1 自己紹介
cuzic といいます
きゅーじっく と読みます
Ruby 暦は かれこれもう10年くらい
Ruby 関西代表
関西地域の Ruby コミュニティ
2か月に一度のペースで勉強会
9月24日(水) 夜 大阪本町で次回開催予定
amagasakirb founder
2か月弱に一度のペースで読書会を開催
9月27日(土) 13時~
「Ruby によるクローラ開発技法」読書会第1回
JR尼崎駅徒歩2分の好立地です
![Page 3: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/3.jpg)
RubyHiroba 2014 Ltthon 発表資料 「Ruby on Windows」
昔、本を書きました
今日はこの本の話はしません。
Windows における
Ruby 実行環境の話。
2
![Page 4: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/4.jpg)
RubyHiroba 2014 Ltthon 発表資料 「Ruby on Windows」
Windows における Ruby実行環境
Ruby Installer
ActiveScriptRuby
Rumix
Cygwin
Chocolatey 経由のインストール
Bitnami RubyStack
3
![Page 5: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/5.jpg)
RubyHiroba 2014 Ltthon 発表資料 「Ruby on Windows」
Ruby Installer
現時点では一番オススメ
私自身は、これを使っている
Devkit により、コンパイルが必要な gem も
インストール可能。
展開するだけで、使える
最新版の Ruby を利用可能
4
![Page 6: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/6.jpg)
RubyHiroba 2014 Ltthon 発表資料 「Ruby on Windows」
ActiveScriptRuby
インストーラ形式
Internet Explorer の中で、Ruby により
動的な DOM 操作等が可能な
ActiveScriptRuby が同梱されている
arton さんの作品
Visual C++ でコンパイルされている
5
![Page 7: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/7.jpg)
RubyHiroba 2014 Ltthon 発表資料 「Ruby on Windows」
Rumix
Ruby だけでなく、便利ツール等も同梱
USB版もある
同梱便利ツールの例
Rubyリファレンスマニュアル
シェル: Nyaos、ターミナル: ckw
Devkit: コンパイルが必要な gem が利用可能に
中身は msys/mingw のサブセット
YARD、Refe、Ruby Facets など
6
![Page 8: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/8.jpg)
RubyHiroba 2014 Ltthon 発表資料 「Ruby on Windows」
Cygwin
Unix (POSIX)環境を Windows で実現
Ruby に限らず、Unix 環境が欲しい人向け
Bash、Zsh、binutils、coreutils 等
全体で GB 単位でかなり大きい
fork など Windows ではできないことも可能
7
![Page 9: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/9.jpg)
RubyHiroba 2014 Ltthon 発表資料 「Ruby on Windows」
Chocolatey NuGet
Windows 版のパッケージマネージャ
yum とか、apt-get とかみたいなもの
Chocolatey そのものは PowerShell で実装
Chocolatey 経由で Ruby もインストール可
現状 Ruby 2.0
Devkit も chocolatey でインスール可能
私自身としては将来
Chocolatey に移行しようと思案中
(現状、利用していない)
8
![Page 10: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/10.jpg)
RubyHiroba 2014 Ltthon 発表資料 「Ruby on Windows」
Bitnami RubyStack
いろんなパッケージを提供している
Bitnami社による Rubyディストリビューション
インストーラ形式(.exe)で配布
ちょっと古い
(2014.09.21 時点で Ruby 1.9.3)
Ruby on Rails 向けの環境一切合財を同梱
WEBサーバ( Apache ) データベース(MySQL) PHP、PHPMyAdmin、Sphinx、subversion、
imagemagick、sqlite
9
![Page 11: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/11.jpg)
RubyHiroba 2014 Ltthon 発表資料 「Ruby on Windows」
RailsInstaller
EngineYard の Ruby on Rails スタック
構成要素
Ruby 1.9.3
Rails 3.2
Bundler
Git
Sqlite
TinyTDS
Ruby 2.0 ベースの RailsInstaller も存在
10
![Page 12: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/12.jpg)
RubyHiroba 2014 Ltthon 発表資料 「Ruby on Windows」
まとめ
Ruby 実行環境はたくさんある
Ruby Installer がオススメ
コンパイルが必要な gem も利用可能
今後は chocolatey に期待
11
![Page 13: Ruby on Windows](https://reader036.vdocuments.site/reader036/viewer/2022082705/5592226e1a28abc5068b4608/html5/thumbnails/13.jpg)
ご清聴
ありがとうございました