RailsCasts Pro episodes are now free!

Learn more or hide this

Gerry's Profile

GitHub User: gerrywastaken

Site: http://gerard.caulfield.me

Comments by Gerry

Avatar

You may need to set the following in your environments/tests.rb file to avoid problems down the track:

test.rb
config.cache_classes = !(ENV['DRB'] == 'true')

For some reason caching seemed to randomly kick in for one of my models while I was testing it and after that none of my changes to the model had any affect. I'm not the only one to have experienced this:
http://www.avenue80.com/tiny-tip-spork-not-reloading-classes/#comment-133

Perhaps I did something wrong, but I don't think so and changing that line fixed the problem.

Avatar

I'm confused. Virtualbox already allows you to package up servers:
http://grok.lsu.edu/article.aspx?articleid=13838

And do port forwarding or even give the server it's own IP address:
http://www.virtualbox.org/manual/ch06.html

So the only thing I see Vagrant as providing is some very basic premade packages and a prettier command line interface to Virtualbox. Am I correct or is there something big I'm missing here??? Seriously want to know as I don't wish to miss something significantly better.

Side note: I wish it used Xen PV instead as that is actually difficult to configure, unlike VB.