2009-10-01から1ヶ月間の記事一覧
nginx.confのserverディレクティブに以下を追加。 rails_env development;
結構ハマった。 修正Patch https://rails.lighthouseapp.com/projects/8994/tickets/3144/a/261015/0001-ruby-1.9-friendly-secure_compare.patch これは何 Ruby1.9ではString[n]は文字そのものを返します。この動作はRuby1.8の動作(キャラクターコードを返…
[tester@localhost]~% rails rails /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.4/lib/rails_generator/options.rb:32:in `default_options': undefined method `write_inheritable_attribute' for Rails::Generator::Base:Class (NoMethodError) from /…
僕は運用なのですが、先日またしてもコードを書くお仕事が来まして、今回は1からスクリプトを書くことになったのでRubyを使うことにしました。 初業務Rubyコーディングです。 今回はそのスクリプトを作成するにあたってはまったところをメモします。 環境はC…