Categories


Using Twitter Bootstrap and Symfony2 with MopaBootstrapBundle

I found this setup article on how to use Twitter Bootstrap with Symfony2, and wanted to post it here for safe-keeping.

Using Twitter Bootstrap and Symfony2 with MopaBootstrapBundle.

During the setup, I also ran into a strange MAMP problem, where for some reason the MAMP developers chose to override an environment variable, causing LESS to not be able to compile the css files. ┬áSo, if you’re unable to load your CSS files, and at the top you get something like the following:

[exception] 500 | Internal Server Error | RuntimeException [message] The process stopped because of a "0" signal. [1] RuntimeException: The process stopped because of a "0" signal.

Simply edit /Applications/MAMP/Library/bin/envvars and comment out the following two lines:

DYLD_LIBRARY_PATH="/Applications/MAMP/Library/lib:$DYLD_LIBRARY_PATH"
export DYLD_LIBRARY_PATH

Once commented out, restart your servers through MAMP and all should be well again.


Your Comment