Developing in Ruby on Rails is like using a Mac

I’ve heard this said many times about the OS X operating system: “Every so often you come across a simple feature that makes you appreciate the forethought of it’s creators”

Running BackgrounDRb wasn’t running because the frozen packet gem wasn’t loading. After a little Google research, I came across a nice solution.

I didn’t originally know that you could specify which Rails plugins you want to load or not load by specifying a list of plugins with config.plugins.

So, to ensure that Gems On Rails, and all of the gems froze with it always load first, I added the following to environment.rb:

config.plugins = [ :gemsonrails, :all ]

Gotta love a simple solution like that :)

3 thoughts on “Developing in Ruby on Rails is like using a Mac

  1. panzi

    This does not work for me. Any other hints?$ ./script/backgroundrb start/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’: no such file to load — packet (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’ from ./script/backgroundrb:15

Leave a Reply