From: Robert Klemme Date: 2011-06-14T22:11:51+09:00 Subject: Re: A way to find out when a constant gets defined? On Tue, Jun 14, 2011 at 2:11 PM, Josh Cheek wrote: > Okay, I think I found the ultimate source of the problem was that RVM said > it should hijack rake and run bin/rake ( > https://rvm.beginrescueend.com/integration/bundler/), but the Bundler team > didn't like that, so the RVM team took it back out (I've asked that they > update the website to reflect this). I updated my RVM at some point and > didn't realize I'd lost this functionality. > > This allowed one rake task to populate the DB with data serialized form > Syck, but when my app went to use it, it tried to deserialize with Psych, > and blew up. > > The fix I found was to use https://github.com/mpapis/rubygems-bundler to > regain the functionality that was removed from RVM where it runs `bundle > exec rake ...` when I type "rake ..." while in a dir containing a Gemfile. Thanks for the summary, Josh! Frankly, I find the Ruby ecosystem is becoming increasingly complex. I think we should carefully watch out to stop this tendency because these are the exact kind of issues which will make people turn away when they try out Ruby and run into them. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/