Joined: Aug 13, 2004 Posts: 335 Location: Maysville, KY
Posted: Tue Oct 10, 2006 2:34 pm Post subject: fix freespire 1.0.13 amarok /usr/bin/env: ruby
The above happens whenever you attempt to run script manager in amarok on freespire-1.0.13
Amarok requires ruby version 1.8 or higher, yet it is not installed when you install amarok via
sudo apt-get install amarok
The fix is 2 steps:
first, sudo apt-get install ruby1.8
This will install ruby1.8_1.8.1+1.8.2pre3-2_i386.deb and another dependancy libruby1.8_1.8.1+1.8.2pre3-2_i386.deb
Step 2:
make sure the symbolic link /usr/bin/ruby points to /usr/bin/ruby1.8, i.e.:
ls /usr/bin/ruby
if it says no such file or directory, then created the link:
sudo ln -s /usr/bin/ruby1.8 /usr/bin/ruby
The above fixes the first error, yet there are more yet.
Another error after fixing the above is:
Code:
/usr/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb:14:in `require': No such file to load -- rexml/document (LoadError) from /usr/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb:14
To fix it, you will also need to install librexml-ruby1.8:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
All content Copyright 2000 - 2008, Maysville Linux Users Group unless otherwise credited.
All Rights Reserved!
The opinions expressed by visitors to this web site are their own and not necessarily the opinions of the MLUG!