Quantcast
Channel: debugfix » Rails
Browsing all 4 articles
Browse latest View live

Ruby on Rails unit test: cannot find table error

If your Ruby on Rails unit tests complain about not being able to find a table after you’ve added a new model, it just means you forgot to prepare the test database with the latest data.  The error...

View Article



Image may be NSFW.
Clik here to view.

ruby on rails – bundle reinstall

After an OS upgrade I needed to reinstall all the gems for my Rails project (well, I probably didn’t need to do it, but it seemed the quickest way). Since I used RVM and only had one Ruby on Rails...

View Article

Library not loade: /usr/local/lib/libfreetype.6.dylib (LoadError)

Reason: Incompatible library version: libMagickCore.5.dylib requires version 16.0.0 or later, but libfreetype.6.dylib provides version 15.0.0 Solution: $ brew uninstall freetype  $ brew install...

View Article

Ruby 2.0′s Version of Python’s PDB

So ruby-debug is still broken for 2.0, but someone came up with a package called byebug.  Check it out.

View Article
Browsing all 4 articles
Browse latest View live


Latest Images