You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Installing ruby-2.1.0... BUILD FAILED Inspect or clean up the working tree at /tmp/ruby-build.20140317220101.16966 Results logged to /tmp/ruby-build.20140317220101.16966.log Last 10 log lines: checking ../.././parse.y and ../.././ext/ripper/eventids2.c installing default ripper libraries installing default openssl libraries linking shared-object openssl.so make[2]: Leaving directory '/tmp/ruby-bui
概要 Rails 3.1で新しいプロジェクトを作ったところ、本番環境でアセットがプリコンパイルされていないというエラーが発生しました。対策として、3.1から導入されたアセットパイプラインのために、プリコンパイル済みのアセットを作成しました。 ActionView::Template::Error (application.css isn't precompiled) 構成 Ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux] Rails 3.1.0 問題 Internal Server Errorが発生し、プロダクションログには次のエラーメッセージが出力されていました。 Started GET "/working_records" for 197.8.10.19 at 2011-09-20 11:35:19 +0900 Proc
アーカイブ カテゴリー いろいろ (24) インターネット (16) ソフトウェア (21) ハードウェア (6) CSS (2) iPad (1) iPhone (3) iRacing (5) LifeHack (6) MotorSports (3) post (1) Programming (33) Rails (11) Ruby (7) Technology (7) W-ZERO3 (1) WordPress (13) Twitter RT @autani: ゴゴゴゴゴゴ・・・ http://t.co/jHSZhBtpAjTuesday, 12.16.14 17:23@autani なんと、そうだったのかぁ。ゴゴゴゴゴ・・・Tuesday, 12.16.14 16:57@autani こ、これは・・・登場していたのか・・・Tuesday, 12.16.14 16:54水玉さんの描くキ
When I try to install the mysql2 gem, it fails with no apparent errors. Does anyone know what to do to work around this so mysql2 installs? $ sudo gem install mysql2 Building native extensions. This could take a while... ERROR: Error installing mysql2: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb checking for rb_thread_
I am getting the following error when I try to use gems in windows, and I also referred to this stackoverflow post and updated rubygems and rails. But nothing could solve the problem. The following is the complete error, D:\>gem env Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /tilt-1.3.3.gemspec]: invalid date format in specification: "2011-08-25 00:00:00 .0000
始めに Windows 環境で Rails 2.2 を使える環境を作ろうとしたところ、MySQL5.1 を使用するとライブラリの関係で正しく動作しないという事象が発生したので、ゼロから環境を構築する手順と合わせてハマり所を記載しておく。 ちなみに、Rails 2.2 であることが原因では無い(ハズ)なので、勘違いしないよう、ご注意ください。 Ruby 環境のインストール Ruby 本体のインストール 上記から Ruby 1.8.7 の mswin 版 zip を取得する。 適当に解凍する(必要があれば適当なディレクトリへ移動しておく) PATH を通す 今回は C:\ 直下に ruby フォルダを作成しておく事にした。追加するPATHは C:\Ruby\bin となる。 さて、PATHが通っているか確認してみよう。 C:\>ruby -v ruby 1.8.7 (2008-08-11 pa
Subject: [ruby-list:43356] TCPSocket#flushでスレッドが停止する現象について From: "KOSEKI Kengo" <kengo@ . m r p Date: Mon, 2 Apr 2007 18:20:17 +0900 はじめまして。 小関と申します。 Rails + MySQLを使っていて、長時間DBへのアクセスが無い場合に Railsアプリケーションが反応しなくなる問題を調べています。 MongrelのFAQでそれらしい現象が報告されているのですが、 http://mongrel.rubyforge.org/faq.html > Q: Mongrel stops working if it's left alone for a long time. ここに載っている対策は以下の点で正しくないのではないかと 考えています。 * ソースを読むと
(追記) この問題について、原因はRubyの側にあるのではないかと考えています。特定の条件下でTCPSocket#flushを実行すると、スレッドが停止したまま処理が戻ってこなくなります。以下の投稿で、Railsを使わず再現する方法を説明しました。 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/43356 (追記おわり) 開発サーバが翌日になるとデッドロックする、という現象が続いていて悩みました。 解決方法は、MongrelのFAQに上がっていました。 http://mongrel.rubyforge.org/faq.html Q: Mongrel stops working if it’s left alone for a long time. If you find that Mongrel stops work
カテゴリ: Ruby, トラブルシューティング Mongrel + MySQLという構成のRailsアプリを1日程度まったくアクセスせずに放置すると、Mongrelが刺さって動かなくなるという非常に困った現象が発生する。原因もその対処もさっぱり分らない謎すぎる現象だが、実はその筋では割とよく知られた話であるようだ。 Rails + MySQL (+ Mongrel?) でDB接続の通信が無い状態が続くとデッドロックする。 - こせきの技術日記 [ruby-list:43356] TCPSocket#flushでスレッドが停止する現象について 現象が発生するまでの時間がMySQLのwait_timeoutとKEEP_ALIVEなTCPソケットのTIME_WAIT期間が終わるまでの10時間もかかるため、なかなか再現しないイヤな問題である。MongrelのFAQにwait_timeoutととの関
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く