UnderpantsGnome / gem_tools-gem

The gem verison of my lightweight tool to manage gems using a config file, similar to GemInstaller.

This URL has Read+Write access

gem_tools-gem / README.textile
301566aa » UnderpantsGnome 2009-05-15 update the readem 1 h1. GemTools
7f436de9 » UnderpantsGnome 2008-08-04 Initial commit 2
301566aa » UnderpantsGnome 2009-05-15 update the readem 3 h2. DESCRIPTION:
7f436de9 » UnderpantsGnome 2008-08-04 Initial commit 4
6db2d4bc » UnderpantsGnome 2008-08-04 Fix git ignore. Update the ... 5 The gem verison of my lightweight tool to manage gems using a config file,
6 similar to GemInstaller.
7f436de9 » UnderpantsGnome 2008-08-04 Initial commit 7
301566aa » UnderpantsGnome 2009-05-15 update the readem 8 My blog post on why "I prefer GemTools over config:gem":http://underpantsgnome.com/2009/4/8/i-prefer-gemtools-over-config-gem
9
10 h2. FEATURES/PROBLEMS:
7f436de9 » UnderpantsGnome 2008-08-04 Initial commit 11
6db2d4bc » UnderpantsGnome 2008-08-04 Fix git ignore. Update the ... 12 Doesn't yet work in Windows
7f436de9 » UnderpantsGnome 2008-08-04 Initial commit 13
301566aa » UnderpantsGnome 2009-05-15 update the readem 14 h2. SYNOPSIS:
7f436de9 » UnderpantsGnome 2008-08-04 Initial commit 15
81d203f7 » UnderpantsGnome 2008-09-03 add the setup command 16 I use this to manage gem versions in my apps, it has a script to install gems
6db2d4bc » UnderpantsGnome 2008-08-04 Fix git ignore. Update the ... 17 and a load utility to load them on startup.
7f436de9 » UnderpantsGnome 2008-08-04 Initial commit 18
301566aa » UnderpantsGnome 2009-05-15 update the readem 19 h3. create a gems.yml in a new project
20
21 gemtools setup path/to/app
22
23 h3. Install or update required gems
81d203f7 » UnderpantsGnome 2008-09-03 add the setup command 24
301566aa » UnderpantsGnome 2009-05-15 update the readem 25 gemtools install
26
27 h3. Check to see if any of the gems in your app have newer versions
28
87b91d90 » UnderpantsGnome 2009-05-16 fix typo in readme 29 gemtools check_updates
7f436de9 » UnderpantsGnome 2008-08-04 Initial commit 30
6db2d4bc » UnderpantsGnome 2008-08-04 Fix git ignore. Update the ... 31 Make sure they are loaded with the right versions during startup, by adding the
32 following to your script or environment.rb (Rails)
301566aa » UnderpantsGnome 2009-05-15 update the readem 33
34 require 'gem_tools'
35 GemTools.load_gems
36
37
38 See the "sample config":http://github.com/UnderpantsGnome/gem_tools/blob/master/gems.yml.sample for the format
39
40 h2. INSTALL:
41
42 sudo gem install gem_tools
43
44 h2. TODO
45
46 * Write the tests/specs
47 * Make it work in Windows
48
49 h2. LICENSE:
7f436de9 » UnderpantsGnome 2008-08-04 Initial commit 50
51 (The MIT License)
52
6db2d4bc » UnderpantsGnome 2008-08-04 Fix git ignore. Update the ... 53 Copyright (c) 2008 Michael Moen
7f436de9 » UnderpantsGnome 2008-08-04 Initial commit 54
55 Permission is hereby granted, free of charge, to any person obtaining
56 a copy of this software and associated documentation files (the
57 'Software'), to deal in the Software without restriction, including
58 without limitation the rights to use, copy, modify, merge, publish,
59 distribute, sublicense, and/or sell copies of the Software, and to
60 permit persons to whom the Software is furnished to do so, subject to
61 the following conditions:
62
63 The above copyright notice and this permission notice shall be
64 included in all copies or substantial portions of the Software.
65
66 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
67 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
68 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
69 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
70 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
71 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
72 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.