以前紹介した
BenchmarkForRails
は、Railsアプリケーションの詳細なベンチマークを
行うことが出来る便利なプラグインですが、
rake test:unitsの実行でエラーが発生する問題が
起こっていました。

調べてみたところ、init.rbファイルにrequire文が
足りていないのが原因のようだったので、対処法を紹介します。

vendor/plugins/benchmarkforrails/init.rb

rails>>
require 'dispatcher'
require 'benchmark_for_rails'

The special :request benchmark. This tries to encompass everything that runs

to handle a request.

BenchmarkForRails.watch(:request, ::Dispatcher, :dispatch)
<<--

上記の2行目を加えることで、エラーが出なくなります。

posted by genki genki on Sat 22 Dec 2007 at 22:21 with 0 comments

Twitterの障害情報などを教えてくれる
Twitterアカウント
があるようです。

tw01

弊社
でも真似して作ってみました。

今のところ、特に障害が発生する予定は無しです :-)

何か新しい事を始めるときに使ってみよう。

posted by genki genki on Sat 22 Dec 2007 at 20:48 with 0 comments
Contents rssrss
Leading Smart TV App Development Companies | USA | 4 Way Technologies
Apple TV Developer | TVOS Development | USA | 4 Way Technologies
光ファイバーを二次元振動させて走査するAR用ディスプレイ
因果の取り違え
Value Transformer
Swift2's defer for CoffeeScript
mongodb-3.0からcreateIndexのdropDupsが無くなったらしい
mongodb-3.0以降のWiredTigerの設定を動的に変更する方法
一般楕円の高速生成アルゴリズムへの道標
farro mantecatoのレシピ
Tags
pluginrailstipswebエラーお知らせ対処法
Comments rssrss
瀧内元気 瀧内元気: MacOS版は以下にあります genki/ViMouse 01/16 05:40
KingofSmack KingofSmack: Here also good reads for this mobile application d... 05/10 18:02
Spencer Spencer: You don't have to re-compile it, this version work... 04/08 07:15
staiano staiano: Any chance we can get a recompile for 10.9? 01/10 01:47
dsjf dsjf: https://gist.github.com/6bf1bf2c3cbb5eb6e7a7 これでも出... 01/08 23:23
yoku0825 yoku0825: nkfの方が使いやすいですが、glibcに含まれているiconvの方が 確実にどの環境にも入っている... 06/11 07:03
falsefalse falsefalse: @tiancongxin try using this one https://github.com... 02/14 08:04
瀧内元気 瀧内元気: おお、チェックしてみます。thx! 12/24 05:23
Services from s21g
YOMU Web小説リーダー
Web小説を音声で楽しむ読み上げリーダー
補助探
公開されている補助金・助成金情報を集約し、条件に合う制度を探しやすくするサービスです。
jotter.me
個人開発者のためのホスティング一体型ノートサービス
ハンドミラー
iPhone向けの手鏡アプリ
ツイプロ(twpro)
Twitterプロフィールの高速検索エンジン