Sinatra with Delayed Job on PostgreSQLがローカル(OS X Lion)で動きました。以下、備忘録です。 概要 Sinatra上のウェブアプリケーションにバックグラウンドジョブを実装しました。 バックグランドプロセスにはRailsプラグインとして有名なDelayed Job、バックエンド(ジョブキュー)にはActive Record、データベースにはPostgreSQLを採用しました。 データベースPostgreSQLの準備 PostgreSQLはオープンソースのデータベースです。herokuがウェブアプリケーションに提供するデータベースサービスにも使われています。heroku上へのディプロイが目的なので最初からPostgreSQLを使うことにしました。 1. MacPortsからインストール Lion(もしくはXcode for Lion)にはデフォル
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く