Posted by masuidrive Wed, 02 Aug 2006 17:54:00 GMT config/deploy.rbに下記の行を加える。 nobodyの所は適当なユーザにし、sudoの設定もしておくこと。 set :mongrel_user, "nobody" desc "Restart the web server" task :restart, :roles => :app do begin run "cd #{current_path} && sudo -u #{mongrel_user} /usr/local/ruby/bin/mongrel_rails restart" rescue RuntimeError => e puts e end end desc "Start the web server" task :spinner, :roles => :app
Rails勉強会@東京第23回 に行ってきた。2週間遅れだけどレポートする。 勉強会の形式は いつものごとく 。 ただ、今回は試験的に「昼食懇親会」を行なった。 そこで話しているうちにうち解けてセッションが弾むのでは? セッションの時間を潰して長い自己紹介をしなくても、自然に相手を認識できるのでは? セッション案も自然に出てくるのでは? 夜の「飲み会懇親会」よりも安く済むのでは? という趣旨だ。おおむね好評だった模様。ただ、私はどうも元気が出なくて遅れていったので懇親会は殆ど出てない。 前半 前半は3つのセッションに分かれた。 Rails 2.0を読む。 初心者セッション - Scaffoldの半歩先に ぐだぐだ喋る 初心者セッションは前回と同じ内容だそうだ。Scaffoldは試してみたけれどもその先へ進めないというRails初心者のために、Scaffoldで生成されたモデルやコントローラ
Seminar・Event Googleアナリティクス 徹底解説セミナー 有料毎月1回開催Googleアナリティクスセミナー 入門編 有料毎月1回開催Googleアナリティクスセミナー 分析手法編 有料毎月1回開催Googleアナリティクスセミナー 徹底設定編 Access Map詳細
rails + lighttpd + fastcgi の環境で、fastcgi の起動・停止・再起動を capistrano に任せる作業に、少しハマったので作業メモを残す。 deploy.rb の内容や、他の詳しい解説は他のウェブ上資料に譲る。 app_name/script/spin ./script/process/spawner fcgi -p 11000 -i 3 -r 5 実行権限を忘れずに。 app_name/config/lighttpd.conf fastcgi.server = ( ".fcgi" => ( "localhost-11000" => ( "host" => "127.0.0.1", "port" => 11000 ), "localhost-11001" => ( "host" => "127.0.0.1", "port" => 11001 ), "lo
deprec2 preview releases Preview release 2 available here -> attachment:"deprec-1.99.27.gem" What it is Deprec is a collection of automated recipes, written in Ruby, for installing, configuring and controlling services on remote servers. It's original purpose was to automate the setup of production ready Ruby on Rails servers. This included everything from creating admin accounts and setting up yo
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く