Jon For Rent // The Technology Ramblings of Jonathan Molina // I love Sugar in My Espresso
I love Sugar in My Espresso
posted over 1 year ago
(Apr 06, 2009 at 03:26 PM)
Earlier today I added a bunch of sugar packs to Espresso such as Rails and some themes. I was lucky enough to find most of them at Github. Here is how I did it.
Let's take installing the Ruby on Rails.sugar as an example and just do this in Terminal:
mkdir -p ~/Library/Application\ Support/Espresso/Sugars (One time deal after this you won't have to do it again!)
cd ~/Library/Application\ Support/Espresso/Sugars
git clone git://github.com/insane-dreamer/rails.sugar.git Rails.sugar
That's it! What you just did is create the Sugars directory where your Sugars will go, next you changed into the Sugars directory, and the last step grabs the Rails.sugar files from the clone URL and places them in to the Rails.sugar folder.
Once you reload Espresso it will have the features from that Rails.sugar. Now just a heads up the Rails.sugar is just starting to be worked on and if you know what's up you should fork it and help develop it.
About upgrading your sugars all you would have to do is this(Once again we are working with the Rails.sugar):
cd ~/Library/Application\ Support/Espresso/Sugars/Rails.sugar
git pull
Yup that easy! Just going to the the Rails.sugar directory and typing in "git pull" will update all the new files. It can not be any easier.
UPDATE (12/04/2009): Thanks to Jay for finding a more up to date Rails Sugar, I have updated the git clone line in my post. This one is much better since it has more to offer then the old one.