<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,36 +2,38 @@
 
 class Blank &lt; Thor
   BLANK_REPO = 'git://github.com/giraffesoft/blank.git'
-  
+
   desc &quot;new_app NAME [REPO] [BRANCH]&quot;, &quot;Create a new blank app, from branch BRANCH (defaults to master), in directory NAME, push it to REPO.&quot;
   def new_app(name, repo=nil, branch=nil)
     @name = name
     @repo = repo
-    
+
     puts &quot;---- Cloning blank from #{BLANK_REPO}...&quot;
     `git clone -o blank #{BLANK_REPO} #{name}`
     `cd #{name}; git checkout blank/#{branch}` unless branch.nil? || branch == ''
     rake 'blank:switch_to_app_gitignore'
     commit &quot;Switch to gitignore that doesnt ignore site_keys.rb.&quot; if repo?
-    
-    
+
     puts &quot;\n---- Generating site keys for restful-auth...&quot;
     rake 'auth:gen:site_key'
     commit &quot;Add generated site_keys.rb file.&quot; if repo?
-    
+
     if repo?
       puts &quot;\n---- Pushing to repo @ #{repo}...&quot;
       rake 'blank:switch_origin', :repo =&gt; repo
     end
-    
+
     puts &quot;\n---- Generating a session configuration.&quot;
     rake &quot;blank:session_config&quot;, :name =&gt; name
     commit &quot;Add generated session configuration.&quot; if repo?
-    
+
     puts &quot;\n---- Loading db schema, and creating dbs.&quot;
     rake &quot;db:schema:load&quot;
     rake &quot;db:test:prepare&quot;
-    
+
+    puts &quot;\n---- Loading missing gems: this will install newer versions of gems you have already installed.&quot;
+    rake &quot;gems:install&quot;
+
     puts &quot;\n---- There are TODOs in blank. Here's the output of rake notes, for your perusal:&quot;
     puts rake(:notes)
   end
@@ -40,12 +42,12 @@ class Blank &lt; Thor
     def in_project_dir(cmd)
       `cd #{@name}; #{cmd}`
     end
-  
+
     def rake(task, opts={})
       args = opts.map { |name, value| name.to_s.upcase + &quot;=&quot; + value }.join(' ')
       in_project_dir &quot;rake #{task} #{args}&quot;
     end
-    
+
     def commit(msg)
       in_project_dir &quot;git add .&quot;
       in_project_dir &quot;git commit -m\&quot;#{msg} (This commit was generated by blank\'s new_app thor task.)\&quot;&quot;</diff>
      <filename>thorfiles/blank.thor</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6cd061036216e126e8eb6a9c4f2fd35f51506ab8</id>
    </parent>
  </parents>
  <author>
    <name>Fran&#231;ois Beausoleil</name>
    <email>francois@teksol.info</email>
  </author>
  <url>http://github.com/giraffesoft/blank/commit/919a4684317a97d15912912f5d645bc082743be8</url>
  <id>919a4684317a97d15912912f5d645bc082743be8</id>
  <committed-date>2009-05-22T13:18:23-07:00</committed-date>
  <authored-date>2009-05-22T13:18:23-07:00</authored-date>
  <message>Automatically install gems when installing Blank</message>
  <tree>3bb107e94eaf128c672a1abf2ad5942c96f24923</tree>
  <committer>
    <name>Fran&#231;ois Beausoleil</name>
    <email>francois@teksol.info</email>
  </committer>
</commit>
