Archive

Archive for the ‘Ubuntu 8.x Server’ Category

php5-ffmpeg

November 9th, 2009 Arthur Gressick No comments

If your like me and want some really good tools for processing some videos using php take a look at this website:

http://ffmpeg-php.sourceforge.net/

If you have Linux (I use Ubuntu Server) then run this to install the software

apt-get install php5-ffmpeg

Rake problems in Ubuntu 8.10/9.04

October 20th, 2009 Arthur Gressick No comments

So I just had a problem with the RAKE command in Ruby On Rails on an Ubuntu system. It appears as though there is some kind of duplicate program execution.

Here is the error that I had been getting

undefined method `reenable' for <Rake::Task db:schema:dump => [environment]>:Rake::Task

Here is how I got it working on my system

1. Uninstall the rake using apt-get

apt-get remove rake

2. Update the rake gem

gem install rake

3. Create a sym link to usr/bin

cd /usr/bin
ln -s /var/lib/gems/1.8/gems/rake-0.8.7/bin/rake

That should do it.

Ubuntu Gems Path

October 20th, 2009 Arthur Gressick No comments

For what it is worth I needed to find the path of my gems in order to create sym links for executing them. The path of my gems were

/var/lib/gems/1.8/gems/