Archive for January, 2009
Monday, January 26th, 2009
Dbconsole exit
Problem
You are using the script/dbconsole utility in Rails (with sqlite), and you want to exit the application but the usual keystrokes/commands like quit, exit, Ctrl + C don’t work.
Solution
You have to use the following keyword, paying particular notice in the leading dot (.exit):
.exit
2 Comments » - Posted in ruby on rails by kosmas
Wednesday, January 21st, 2009
Mandriva and Sqlite3
Problem
You want to work with sqlite3 in Mandriva (2009), but the standard installation doesn’t work, and you cannot use urpmi sqlite3.
Solution
You need to install the sqlite3 command line tools, like:
urpmi sqlite3-tools
No Comments » - Posted in Mandriva, linux, ruby on rails by kosmas
Thursday, January 8th, 2009
Phusion Passenger installation in Mandriva 2009
Problem
You have recently installed Mandriva 2009 and you want to install phusion passenger.
Solution
First make sure that apache is installed. If it is not installed (default), do:
urpmi apache
On the selection question about the dependencies select option 1 (apache-prefork)
Use the details from the phusion passenger website. ie:
Install passenger:
gem install passenger
Run the passenger installation:
passenger-install-apache2-module
If at the second stage [...]