Rails: acts as attachment

From A2Wiki

Jump to: navigation, search

If your rails application uses acts_as_tagggable, it may segfault without any error messages when you try to run it. If this happens, it can be fixed by performing the following from ssh shell:


1. cd into your rails directory: (example)

cd ~/railsapp

2. Freeze your rails gems:

rake rails:freeze:gems

This will freeze a copy of the rails gems inside of your directory, and prevent the application from crashing.

Personal tools