- TODO
| ガイド | 場所 | RailsGirl向けIssue | 解決策 |
|---|
| --- ruby-1.8.5-p231/math.c 2007-02-13 08:01:19.000000000 +0900 | |
| +++ ruby-1.8.5-p231-fixed/math.c 2008-07-02 18:25:48.000000000 +0900 | |
| @@ -34,7 +34,7 @@ | |
| if (isnan(x)) { | |
| #if defined(EDOM) | |
| errno = EDOM; | |
| -#elif define(ERANGE) | |
| +#elif defined(ERANGE) | |
| errno = ERANGE; | |
| #endif |
| --- ruby-1.9.1-p431/gem_prelude.rb (revision 25931) | |
| +++ ruby-1.9.1-p431-fixed/gem_prelude.rb (revision 25932) | |
| @@ -66,8 +66,9 @@ | |
| end | |
| def self.set_home(home) | |
| - @gem_home = home.force_encoding(Encoding.find('filesystem')) | |
| - ensure_gem_subdirectories(@gem_home) | |
| + home = home.dup.force_encoding(Encoding.find('filesystem')) | |
| + home.gsub!(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR |
| --- update.sh.orig 2012-08-25 01:55:19.936317162 +0900 | |
| +++ update.sh 2012-08-25 01:55:56.512216058 +0900 | |
| @@ -66,7 +66,8 @@ | |
| --quiet \ | |
| --fs-casesensitive \ | |
| --database ${base_dir}/db-${version} \ | |
| - --outputdir ${base_dir}/public/${version}.new | |
| + --outputdir ${base_dir}/public/${version}.new \ | |
| + --catalog ${bitclust_dir}/data/bitclust/catalog | |
| mv ${base_dir}/public/${version}{,.old} |
| 引数 klass で指定したクラスだけに対して、ブロックで指定した機能を提供で | |
| きるモジュールを定義します。定義した機能は Module#refine を使用せずに直 | |
| 接 klass に対して変更を行う場合と異なり、限られた範囲のみ有効にできます。 | |
| そのため、既存の機能を局所的に修正したい場合などに用いる事ができます。 | |
| refinements 機能の詳細については以下を参照してください。 | |
| #@# TODO: るびまへのリンク(記事があれば)も併せて追記 | |
| * [[url:http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/doc/syntax/refinements.rdoc?view=markup]] | |
| * [[url:http://bugs.ruby-lang.org/projects/ruby-trunk/wiki/RefinementsSpec]] |
| --- a/resources/members.yml | |
| +++ b/resources/members.yml | |
| @@ -60,6 +60,13 @@ | |
| :profile: Matsue.rb に参加している松江市在住のITエンジニア。主に使用している | |
| のはRubyとJavaScript。 | |
| :gravatar_hash: ed009bd803ad84352205f2eb4a978cb5 | |
| :public: true | |
| +- :name: Toru Kurahashi | |
| + :github: ToruKurahashi | |
| + :twitter: torukurahashi |
| --- a/_posts/2013-01-29-mogok.markdown | |
| +++ b/_posts/2013-01-29-mogok.markdown | |
| @@ -49,10 +49,18 @@ Gemfileに以下のGemが記述されていない場合には追記します。( | |
| `config.serve_static_assets = false` | |
| + `...` | |
| + | |
| + `config.assets.compile = false` | |
| + |
| Index: file.c | |
| =================================================================== | |
| --- file.c (revision 49353) | |
| +++ file.c (working copy) | |
| @@ -2193,10 +2193,10 @@ | |
| * | |
| * _file_name_ can be an IO object. | |
| * | |
| - * Note that on Windows (NTFS), returns creation time (birth time). | |
| - * |
| #!/bin/sh | |
| export PATH="/usr/local/bin/:$PATH" | |
| eval "$(rbenv init - zsh)" | |
| # Syntax check | |
| ruby -w -c $1 | |
| rc_exitcode=$? | |
| # Brakeman vulnerability check |
| plugins = [ | |
| ['redmine_audit'], | |
| # ['foo', '>= 1.0.0'], | |
| # ... | |
| ] | |
| Gem.post_install do |installer| | |
| require 'rubygems/user_interaction' | |
| suffix = '.from_gemfile' | |
| gem_name = installer.spec.name |