Running Edge Merb and Datamapper
Merb and Datamapper are the new hotness. We all know it. To be able to currently use them to their fullest potential, you may want to run both on edge to make sure you're running with the latest fixes and features. The problem with that is that merb and datamapper are splintered into quite a few gems. Enough to make installing each one by hand kind of a pain. To alleviate this page, there are a few sake tasks you can grab for both Merb and Datmapper to make the process of running on edge a little easier. These are the steps that worked for me:
Install Sake
sudo gem install sake
First, you'll need to actually install the Sake gem. If you don't know what sake is, check out this post on err.the_blog. Sake tasks are basically system-available rake tasks.
Install the Merb sake tasks
sudo sake -i http://merbivore.com/merb-dev.sake
Now you can install the merb sake tasks. We'll use these tasks later to actually install Merb and it's minions.
install the Datamapper sake tasks
sudo sake -i http://datamapper.org/dm-dev.sake
And we can't forget about the Datamapper sake tasks.
make a place to download these gems
sudo mkdir /opt/merb_edge
sudo cd /opt/merb_edge && sake merb:clone
sudo cd /opt/dm && sake dm:clone
I opted to store them in my /opt folder but feel free to store them wherever you'd like. This will download the various edge gems for each project to your machine.
now install them both!
sudo sake merb:install:all
cd dm
sake dm:install
These tasks will actually run through and install the various gems we just downloaded. Watch the commands fly by and take comfort in the fact that you didn't have to do this manually.- and that's it! You're now running edge Merb and Datamapper
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home