Using Sake to keep Merb and Datamapper on edge
Friday, July 25th, 2008Here 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

