![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Jun 2007
Location: Rijeka, Croatia
Beans: 30
Ubuntu 7.04 Feisty Fawn
|
After you installed Ruby on Rails its time to add support for it's extensions.
1. First we need to add new extensions to file mime.types located in /etc folder. 1.1 Lets do that. We have to add new extensions at the end of mime.types file. We'll do that with the following command: Code:
echo -e "text/x-ruby-source rhtml html.erb \ntext/x-eruby rjs \napplication/xml rxml builder" | sudo tee -a /etc/mime.types Code:
sudo update-mime-database /usr/share/mime 2.1 Unpack it with command: Code:
tar -xzvf files.tar.gz Code:
sudo cp x-rhtml.xml /usr/share/mime/packages Code:
sudo cp *.lang /usr/share/gtksourceview-1.0/language-specs Enjoy !
__________________
Constructive lurker
Last edited by Eric_Jardas; June 10th, 2007 at 04:26 AM.. Reason: typo |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|