Posts Tagged ‘edge’

Using Sake to keep Merb and Datamapper on edge

Friday, July 25th, 2008
No Gravatar

a barrel used for holding sake

Here at dynamic50 we use the sake gem and associated tasks to keep merb and datamapper up to date locally.

Why would you want to do this?

  • It automates the compilation and installation of each individual gem
  • It does automatic updates on your local gems from source
  • You want to stay up to date as things are changing on a daily basis

To use sake, you need to install the gem first:
sudo gem install sake

If it bums out, you are probably either missing some dependencies, or don’t have the right versions of the dependencies.

Once installed get the sake recipes here:
sudo sake -i http://merbivore.com/merb-dev.sake
sudo sake -i http://datamapper.org/dm-dev.sake

You can then install merb and datamapper as follows:

Decide on where you want to put them:
mkdir merb_resources

Clone the repositories
sudo sake merb:clone
sudo sake dm:clone

Now install them!
cd merb
sake merb:install
cd ..
cd dm
sake dm:install

You can get a list of all available commands by typing
sake -T

Getting Edge To Work Again on Iphone O2 after Jailbreak

Friday, November 30th, 2007
No Gravatar

After performing a Jailbreak (as outlined in my previous post Jailbreak the Iphone, you may find that you have issues connecting to edge.

Here is the solution:
I have only tested this on the O2 UK network.

First make sure the IPhone and your computer are connected to the same wireless network. Now find the ip of your iphone by looking in setting, and then clicking the little arrow beside the wireless network you are connected to.

You need to ssh in to your IPhone, so open up the terminal in mac, or download Putty (a free windows ssh client), and connect to your iphone like this: ssh root@ip_address_of_my_iphone
The password is either alpine or dottie, or whatever you may have set it to if you set it yourself.

now issue the following 3 commands:
rm /var/root/Library/Preferences/com.apple.carrier.plist

ln -s /System/Library/Frameworks/CoreTelephony.framework/Support/O2_UK.plist /var/root/Library/Preferences/com.apple.carrier.plist

rm -f /var/root/Library/Preferences/SystemConfiguration/preferences.plist

Reboot your phone by holding down the turn off button and the home button together and then sliding to power off.

And you should now be back on edge!


nogeek.org is Digg proof thanks to caching by WP Super Cache!