public
Description: Merb More: The Full Stack. Take what you need; leave what you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-more.git
mattetti (author)
Tue Apr 08 23:50:24 -0700 2008
commit  f08c2d324af9c7bd875636b596343c0a4ab5f782
tree    1f0199d26bd5fe2965c3b54da595a91b7f9c91d5
parent  98bb0d5a33537f61adbba39d8467e0ff599f65b6
merb-more / merb-freezer / README
100644 41 lines (22 sloc) 1.347 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
merb-freezer
============
 
This plugin lets you freeze Merb and run it using the frozen gems.
 
==Why would you want to freeze Merb?
 
* You might have multiple applications on the same server/slice/cluster. Different applications might require different versions of Merb.
 
* You might work with a team of developers and want everyone to be using the same Merb version.
 
* You are using Merb Edge, you want to make sure the production server and your co workers are developing/testing against the same revision.
 
 
==What are your options?
 
* You just want to lock your app to a specific version. For instance version merb-core 0.9.2
 
* You only want to use frozen gems located in /framework or /gems
 
 
== How to lock your app?
 
TODO
 
== How to use frozen gems
 
Instead of starting merb by typing "merb" in your console, type "frozen-merb" and that's it :)
If frozen-merb can't find frozen gems in /framework or /gems then Merb will start normally using the system's gems.
 
== How to freeze your gems?
 
In your init.rb file, require this plugin.
 
   require 'merb-freezer'
 
You now get a new set of rake tasks:
 
rake freeze:core # Freeze core from git://github.com/wycats/merb...
rake freeze:more # Freeze more from git://github.com/wycats/merb...
rake freeze:plugins # Freeze plugins from git://github.com/wycats/m...