public
Description: A Ruby web application framework
Homepage: http://www.mackframework.com
Clone URL: git://github.com/markbates/mack.git
Click here to lend your support to: mack and make a donation at www.pledgie.com !
Updated mack_tasks so that when rake gems:* is called with one of the gem not 
installed, it will only display warning messages and not break the program [#89 
state:resolved]
dsutedja (author)
Thu Aug 14 19:56:34 -0700 2008
commit  47f8a16e47d38d117c37b758163b677a56c68fca
tree    9fb542a3f33151e6533412e3df891d62bdd5a98e
parent  8668bae7524d50409d2464eedbcf0dcc040d616e
...
 
1
2
3
...
1
2
3
4
0
@@ -1,3 +1,4 @@
0
+* [#89] rake gems:* will now only display warning if any gem required is not installed (and not break)
0
 * [#68] Removed const redefined warnings if mack-l10n is used along with mack-activerecord
0
 * [#88] Implemented pending SQLite3 tests in mack-activerecord
0
 * [#68] Transactional support in mack-AR
...
8
9
10
11
 
 
 
 
12
13
14
...
8
9
10
 
11
12
13
14
15
16
17
0
@@ -8,7 +8,10 @@ require File.join(File.dirname(__FILE__), "mack", "initialization", "configurati
0
 
0
 require File.join(File.dirname(__FILE__), 'mack_core')
0
 require File.join(Mack.root, "config", "initializers", "gems.rb")
0
-Mack::Utils::GemManager.instance.do_requires
0
+begin
0
+  Mack::Utils::GemManager.instance.do_requires
0
+rescue Gem::LoadError
0
+end
0
 
0
 orm = app_config.orm
0
 unless orm.nil?

Comments