This domain may be for sale!
Rackとは RackはRubyによるWebアプリケーション開発のHTTP送受信処理を担当するモジュール(gem)で、Ruby on Railsを始めとする多くのWebフレームワークの一番下のレベルで利用されています。 https://github.com/rack/rack http://rack.github.io/ 本稿ではRackの基本的な部分を中心に説明します。 簡単なRackアプリケーション まず基本を理解するため説明用の簡単なアプリケーションを作成します。 最初にrack gemのインストールが必要ですが、Ruby on Railsをインストールしている場合はすでに必須モジュールとして入っています。単独でインストールする場合は次を参考にして下さい。 http://qiita.com/higuma/items/b23ca9d96dac49999ab9#2-3 次にconfig.
はじめに Rails3がでたから3にしたいけど、諸事情でまだ上げられないので、2.3.10にあげた。 ちょっと厄介だったのでメモ。 環境 windows XP Ruby 1.8.7 まとめ rm -rf vendor/rails rake rails:freeze:edge RELEASE=2.3.10 つまづきポイント edgeが動かない 以下を施したら動いた(気がする) rakeを更新 空のvendor/railsディレクトリを削除した $ gem install rake Temporarily enhancing PATH to include DevKit... Successfully installed rake-0.8.7 1 gem installed Installing ri documentation for rake-0.8.7... Installing RDo
This specification aims to formalize the Rack protocol. You can (and should) use Rack::Lint to enforce it. When you develop middleware, be sure to add a Lint before and after to catch all mistakes. Rack applications A Rack application is an Ruby object (not a class) that responds to call. It takes exactly one argument, the environment and returns an Array of exactly three values: The status, the h
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く