2008-04-14から1日間の記事一覧

Java vs Rubyの言語比較記事へのつっこみ - ’(rubikitch wanna be (a . lisper))

Japan.internet.com コラム/developer.com RubyはJavaより単純でJavaより高速です。 噴飯もの。 class Hello @defaultMsg # *1 def initialize(msg) @defaultMsg=msg # *2 end end と module Catalog PI=3.1419 @journal # *1 def setJournal(journal) @jour…

Passenger (mod_rails for Apache) を使ってRedmineを動かしてみたよ! - RX-7乗りの適当な日々

d:id:rx7:20080327:p1 で紹介されていたRails用のApacheモジュール「Passenger (mod_rails for Apache)」が、とうとうベールを脱いだ模様。 先日、mod_railsを使うと何が嬉しいのよ、って聞かれたんですが、やはりApacheを通してRailsアプリケーションが動く…

Capistrano に関する個人的まとめ - Rails で行こう! - Ruby on Rails を学ぶ

Capistrano とは、要するに他の複数のサーバのシェルをローカルから一斉に操作できるツール。デプロイに使うのが代表的な用途。 初心者向けの分かりやすい解説サイトは、FFTTというところの Capistranoというエントリ。 % capify (パス名) で(パス名)にあ…

masuidrive on rails - mod_rails(passenger)はmogrelの3倍メモリを食う?

Rails運用時で気になるのは、安定性とパフォーマンス。安定性はいろいろ負荷テストをして時間が経たないと分からないので、まずはメモリのパフォーマンスから調べてみます。 とりあえず、ちょっとしたサンプルをmongrelで動かしてみると、44Mほどメモリを確…

西暦から和暦を変換してくれるRailsプラグイン: JaDates : HotWeb Magazine

最近とあるRailsプロジェクトで4月5日2008年ではなく、平成20年4月5日として表示したかったがそれを簡単に変換するヘルパーがなかったので、ヘルパーを開発しました。最近、それを友達がほしいといったのでついでにプラグイン化して皆さんのプロジェクトにも…

Git and Ruby: Git tutorials, articles and links for Rubyists

Following on from this weeks’ launch of Github, it’s worth rounding up some of the best Ruby-related Git content out there. For those who still aren’t familiar with what it is, Git is a distributed source code management / revision control…

masuidrive on rails - [mod_rails]gemsでアプリをインストールしたらApacheの再起動が必要

mod_railsでは、Gemsで新しいパッケージを導入した場合、Apache自体を再起動しないと、アプリからそのパッケージを読み込めない模様。 p.s Passenger architectural overviewを見ると大体の構造が分かるみたい。ちゃんと読んでみよう。 Ruby Enterprise Edit…

Passenger architectural overview

This document describes Passenger's architure in a global way. The purpose of this document is to lower the barrier to entry for new contributors, as well as to explain (some of the) design choices that we have made. Or it can be a fun rea…