no such file to load — mkmf
I got the following error when i wanted to install passenger via
gem install passenger
on my ubuntu machine:
no such file to load — mkmf
To fix this i had to install the ruby modules via
sudo apt-get install ruby1.8-dev
I got the following error when i wanted to install passenger via
gem install passenger
on my ubuntu machine:
no such file to load — mkmf
To fix this i had to install the ruby modules via
sudo apt-get install ruby1.8-dev
I got the following error when trying to create a ssl-certificate on Ubuntu 8.04:
apache2-ssl-certificate: command not found
The problem was that there is a new command to create such a certificate:
sudo apt-get install ssl-cert sudo mkdir /etc/apache2/ssl sudo /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem
I got the following error:
error: Unexpected HTML page found at http://trac-hacks.org/svn/accountmanagerplugin/0.10
To fix it, you need to update setuptools via
sudo easy_install -U setuptools
I’ve gotten this error after i’ve installed ImageMagick (from source) and RMagick (using gem) on my Debian system
libMagickCore.so.2: cannot open shared object file: No such file or directory – /usr/lib/ruby/gems/1.8/gems/rmagick-2.8.0/lib/RMagick2.so
To get rid of this error i executed
ldconfig /usr/local/lib
After i made a new Apache installation on Ubuntu in whose httpd.conf file i use the
RewriteEngine on
command, i got the following error, when starting Apache:
Invalid command ‘RewriteEngine’
To fix this problem, i executed
sudo a2enmod rewrite
to enable the Rewrite module.
I needed to install phpize on my Ubuntu system
The phpize command is used to prepare the build environment for a PHP extension. [...]
and got the following error:
phpize not found
To solve this problem i needed to install the php5-dev package
sudo apt-get install php5-dev
I got the error
no such file to load — mysql
when running my Rails application. After that i tried to install the mysql gem module using
sudo gem install mysql
but it gave me an error saying:
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
I then included a parameter to the install command which showed the path to the mysql_config file
sudo gem install mysql --with-mysql-config=/usr/local/mysql/bin/mysql_config
That did the trick.
I got the following error message when trying to run a Rails application with passenger after updating Rails:
undefined method `cache_template_loading=’ for ActionView::Base:Class
I had to comment or remove the line
config.action_view.cache_template_loading = true
in the production.rb file to fix the problem.
I executed
gem install rmagick
and got the following error:
checking for Magick-config... no Can't install RMagick 2.3.0. Can't find Magick-config in [...]
I had to install the libmagick9-dev package with
apt-get install libmagick9-dev
to solve this problem.