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
Search Repo:
quick doc for github users
mattetti (author)
Tue Apr 08 23:50:24 -0700 2008
commit  f08c2d324af9c7bd875636b596343c0a4ab5f782
tree    1f0199d26bd5fe2965c3b54da595a91b7f9c91d5
parent  98bb0d5a33537f61adbba39d8467e0ff599f65b6
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
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
0
@@ -1 +1,42 @@
0
+merb-freezer
0
+============
0
+
0
+This plugin lets you freeze Merb and run it using the frozen gems.
0
+
0
+==Why would you want to freeze Merb?
0
+
0
+* You might have multiple applications on the same server/slice/cluster. Different applications might require different versions of Merb.
0
+
0
+* You might work with a team of developers and want everyone to be using the same Merb version.
0
+
0
+* You are using Merb Edge, you want to make sure the production server and your co workers are developing/testing against the same revision.
0
+
0
+
0
+==What are your options?
0
+
0
+* You just want to lock your app to a specific version. For instance version merb-core 0.9.2
0
+
0
+* You only want to use frozen gems located in /framework or /gems
0
+
0
+
0
+== How to lock your app?
0
+
0
+TODO
0
+
0
+== How to use frozen gems
0
+
0
+Instead of starting merb by typing "merb" in your console, type "frozen-merb" and that's it :)
0
+If frozen-merb can't find frozen gems in /framework or /gems then Merb will start normally using the system's gems.
0
+
0
+== How to freeze your gems?
0
+
0
+In your init.rb file, require this plugin.
0
+
0
+ require 'merb-freezer'
0
+
0
+You now get a new set of rake tasks:
0
+
0
+rake freeze:core # Freeze core from git://github.com/wycats/merb...
0
+rake freeze:more # Freeze more from git://github.com/wycats/merb...
0
+rake freeze:plugins # Freeze plugins from git://github.com/wycats/m...
...
1
2
3
4
5
...
 
 
 
 
 
0
@@ -1,6 +1 @@
0
-TODO:
0
-Fix LICENSE with your name
0
-Fix Rakefile with your name and contact info
0
-Add your code to lib/merb-freezer.rb
0
-Add your Merb rake tasks to lib/merb-freezer/merbtasks.rb

Comments

    No one has commented yet.