Monday, June 29th, 2009
Mandriva – Eclipse – Aptana RadRails
Problem
You want to do a new installation of Aptana RadRails IDE in Mandriva as an eclipse plugin.
Solution
Install eclipse first (selecting openjdk when prompted):
sudo urpmi eclipse
According to the instructions here take the following steps:
From the Help menu in Eclipse, select Software Updates
Select the Available Sotware tab
Click the “Add Site..” button.
Specify the Location Url update site: http://update.aptana.com/update/studio/3.4/ [...]
2 Comments » - Posted in Mandriva, ruby on rails by kosmas
Friday, May 1st, 2009
Spree installation error in Mandriva.
Problem
You are trying to install spree from the git source, following the instructions from here, but there are errors like:
gem install activemerchant –version “= 1.4.1″
ERROR: While generating documentation for builder-2.1.2
… MESSAGE: Unhandled special: Special: type=17, text=”"
… RDOC args: –ri –op /usr/lib/ruby/gems/1.8/doc/builder-2.1.2/ri –title Builder
— Easy XML Building –main README [...]
No Comments » - Posted in Mandriva, linux, ruby on rails by kosmas
Wednesday, April 29th, 2009
Mandriva – Rails 2.3.2 – mysql gem – ‘ERROR: Error installing mysql’
Problem
You are trying to install the mysql gem in Mandriva, but it fails with error messages:
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension…
checking for mysql_query() in -lmysclient… no ….
Solution
After searching in google, with solutions about providing different options (– –with-mysql-config, ..etc), even trying different combinations for providing the client library path, the [...]
No Comments » - Posted in Mandriva, MySQL, linux, 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 [...]
1 Comment » - Posted in Mandriva, ruby on rails by kosmas
Thursday, October 2nd, 2008
git and Mandriva
Problem
You want to install the git (Fast version control system) in Mandriva, but using:
urpmi git
installs the GNU Interactive Tools.
Solution
Use the following to install the version control system
urpmi git-core
No Comments » - Posted in Mandriva, linux, ruby on rails by kosmas
Thursday, April 24th, 2008
git: fatal error: `chdir’ failed: permission denied.
Problem
Trying to use the heroku gem to clone a project and do local modifications I got the following error:
git: fatal error: `chdir’ failed: permission denied.
Solution
It turns out that in Mandriva, when using:
sudo urpmi git
what gets installed is the ‘GNU Interactive Tools’ that has nothing to do with the git version control system.
So make sure you [...]
1 Comment » - Posted in linux, ruby on rails by kosmas
Friday, April 11th, 2008
Installing sqlite3-ruby in Mandriva and Rails 2.0.2
Problem
After upgrading to Rails 2.0.2 when trying to install the sqlite3-ruby gem got the following error:
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb install sqlite3-ruby
checking for sqlite3.h… no
make
make: *** No rule to make target `ruby.h’, needed by `sqlite3_api_wrap.o’. Stop.
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/ext/sqlite3_api/gem_make.out
Solution
In [...]