Bundler(或Ruby)的修改需要path

当我运行bundle (或bundle exec foo )时,大约有50%的时间出现如下错误:

 > bundle /usr/local/Cellar/ruby/1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': No such file or directory - /usr/local/lib/?y (Errno::ENOENT) from /usr/local/Cellar/ruby/1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/Cellar/ruby/1.9.3-p374/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler.rb:8:in `<top (required)>' from /usr/local/Cellar/ruby/1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/Cellar/ruby/1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/Cellar/ruby/1.9.3-p374/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/bin/bundle:2:in `<top (required)>' from /usr/local/bin/bundle:23:in `load' from /usr/local/bin/bundle:23:in `<main>' 

对我来说,它在构build需求path时闻起来像是内存腐败,但是我不知道为什么只有在使用Bundler而不是使用vanilla Ruby的时候会发生这种情况。 我知道,Bundler补丁Kernel.require但错误(按照上面的轨迹)似乎发生在path交给该方法之前。

我有的版本的软件:

 > ruby --version ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.2.0] > gem list bundler *** LOCAL GEMS *** bundler (1.2.3) 

我没有安装rvm / rbenv / etc,只有两个ruby,自制软件安装了一个,系统一个。

我也有这个问题。 做gem install bundler --pre给我修好了。