For your Ruby, you'll must install this gems:
sudo gem install passenger
sudo passenger-install-apache2-module
At this moment, you'll asked to install some Apache2's deps (three deps):
sudo apt-get install apache2-prefork-dev
function custom_mtypes( $m ){ | |
$m['svg'] = 'image/svg+xml'; | |
$m['svgz'] = 'image/svg+xml'; | |
return $m; | |
} | |
add_filter( 'upload_mimes', 'custom_mtypes' ); |
For your Ruby, you'll must install this gems:
sudo gem install passenger
sudo passenger-install-apache2-module
At this moment, you'll asked to install some Apache2's deps (three deps):
sudo apt-get install apache2-prefork-dev