- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2018-04-14T05:05:34+00:00","default:admin","admin")
#author("2022-02-18T11:30:39+00:00","default:admin","admin")
-[[本家:http://www.ruby-lang.org/ja/]]
-[[ライブラリ:http://raa.ruby-lang.org/]]
-[[チュートリアル:http://www1.tf.chiba-u.jp/~shin/tutorial/index.rb?Chapter=Contents]]
-[[Programming Ruby:http://phrogz.net/ProgrammingRuby/]]
-[[Try Ruby!:http://tryruby.hobix.com/]] ... Ruby の文法を覚えるのには打ってつけ
*書籍 [#t344be28]
-[[プロを目指す人のためのRuby入門[改訂2版] 言語仕様からテスト駆動開発・デバッグ技法まで:https://gihyo.jp/book/2021/978-4-297-12437-3]]
* Rubyの特徴 [#k84b3ba0]
-[[手続きオブジェクト:http://www1.tf.chiba-u.jp/~shin/tutorial/index.rb?Chapter=10]]
コードのブロック を作って(doとendの 間のコードをこういいます。)、それをオブジェクトとしてくるんで (手続きオブジェクト(proc) と呼びます。)、変数に保存したり メソッドに渡したりして、それでもって、そのブロックの中のコードは好きな時に (何度でも)実行させることが出来る
* フレームワーク [#x869187f]
** Rails [#jad56074]
** Sinatra [#g63042fb]
-[[ウノウラボ Unoh Labs: Sinatra気に入った:http://labs.unoh.net/2009/05/sinatra.html]]
* mod_ruby [#o6800db8]
** インストール(Mac OS Xの場合) [#ld82738a]
-mod_rubyをインストール
-/etc/httpd/httpd.conf に下記を追記
Include /etc/httpd/mod_ruby.conf
-/etc/httpd/mod_ruby.conf を以下のように作成
LoadModule ruby_module /usr/libexec/httpd/mod_ruby.so
<IfModule mod_ruby.c>
RubyRequire apache/ruby-run
<Files *.rb>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
RubyRequire auto-reload
</IfModule>
** リンク集 [#hcf09e67]
-[[mod_ruby公式ページ:http://modruby.net/ja/]]
-[[mod_ruby入門:http://arika.org/doc/debuan.mod_ruby.html.ja]]
*日本語 [#qd59ee6f]
-[[Rubyで文字コードを変換 ‘kconv’:http://rakkyoo.net/?p=652]]
-[[標準添付ライブラリ紹介 【第 3 回】 Kconv/NKF/Iconv:http://magazine.rubyist.net/?0009-BundledLibraries]]
* RubyとDB [#m2245ac2]
-[[MySQL/Ruby:http://tmtm.org/mysql/ruby/]]
* Rubyでローカルアプリケーション [#v1ffeebe]
-[[Rubyで作るGUIアプリケーション「Shoes」:http://www.moongift.jp/2007/10/shoes/]]
-[[必見!Railsがローカルアプリケーションに「Slingshot」:http://www.moongift.jp/2007/07/slingshot/]]
* Rubyでシステム管理 [#v9b10f40]
-[[システム自動管理ツールの必要性とPuppetの概要:http://gihyo.jp/admin/serial/01/puppet?start=10]]
* チューニング [#w9ef9ba6]
-[[Ruby Garbage Collector Performance Tuning:http://www.sssg.org/blogs/naoya/archives/1340]]
* リンク集 [#n266da4c]
-[[Rubyを動かしてみる:http://www.altum.jp/math/ruby/03.html]]
-[[Building Ruby, Rails, LightTPD, and MySQL on Tiger:http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger]]
-[[RubyCoCoa:http://rubycocoa.sourceforge.net/doc/index.ja.html]]
-[[まつもと ゆきひろ氏がRuby特集を語る!:http://www.thinkit.co.jp/channel/ruby/3/]]