Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Monday, July 6, 2009

installing rails on ubuntu

After installing rubygems I ran
sudo gem install rails
- as per the instructions on the rails site.

However 'rails my_project' did not run, computer said 'no', well more specifically that rails was not installed and helpfully suggested 'sudo apt-get install rails'. I told it that I did not want to do that and edited etc/profile, adding the following line after the first set of comments:
PATH=$PATH:/var/lib/gems/1.8/bin
'rails my_project' now works.

rake still fails and in order to fix that the gem 'sqlite3-ruby' must be installed
sudo gem install sqlite3-ruby
That may grumble at first => 'checking for sqlite3.h... no'
In which case it needs a lib to be installed:
sudo apt-get install libsqlite3-dev

Monday, April 13, 2009

.lang files in Ubuntu 8.10

Where oh where do the language spec files go in ubuntu 8.10 (intrepid ibex). According to this blog they are in ~/.gnome2/gtksourceview-1.0/language-specs/.
This was not the case on this install i've eventually located them in /usr/share/gtksourceview-2.0/language-specs