<NME> Gemfile.rbt
<BEF> # encoding: utf-8

# Enable downloading gems from gemcutter
source :gemcutter

# === Usage === #
# Run bundle install for installation and bundle pack for
# locking gem packages (not the gems themselves) into vendor.
# You have to have bundler gem installed.

# http://github.com/carlhuda/bundler
# http://yehudakatz.com/2010/02/01/bundler-0-9-heading-toward-1-0

# === Shared Gems === #
# Specify a dependency on rango. When the bundler downloads gems,
# it will download rango as well as all of rango' dependencies

# rango stack
gem "rango"#, git: "git://github.com/botanicus/rango.git"
gem "rack"#, git: "git://github.com/rack/rack.git"

gem "nake"#, git: "git://github.com/botanicus/nake.git"
<% if @code_cleaner %>
gem "code-cleaner"#, git: "git://github.com/botanicus/code-cleaner.git"
<% end %>
<% if @git_deployer %>
gem "git-deployer"#, git: "git://github.com/botanicus/git-deployer.git"
<% end %>

# rack middlewares
gem "multigiri"#, git: "git://github.com/botanicus/multigiri.git"

# router
<% case @router %>
<% when "usher" %>
gem "usher"#, git: "git://github.com/joshbuddy/usher.git"
<% when "rack-mount" %>
gem "rack-mount"#, git: "git://github.com/josh/rack-mount.git"
<% when "rack-router" %>
gem "rack-router"#, git: "git://github.com/carllerche/rack-router.git"
<% end %>

gem "template-inheritance"#, git: "git://github.com/botanicus/template-inheritance.git"
gem "helpers"#, git: "git://github.com/botanicus/helpers.git"
gem "formidable"#, git: "git://github.com/botanicus/formidable.git"
gem "pupu"#, git: "git://github.com/botanicus/pupu.git"
gem "media-path"#, git: "git://github.com/botanicus/media-path.git" # for asset helpers

# ORM
<% case @orm %>
<% when "datamapper" %>
gem "dm-core"#, git: "git://github.com/datamapper/dm-core.git"
gem "warden"
<% end %>

# === Environment-Specific Setup === #
only(:development) do
  gem "colorful-logger"#, git: "git://github.com/botanicus/colorful-logger.git"
  gem "shotgun", require_as: nil#, git: "git://github.com/rtomayko/shotgun.git"
end


<% end %>
# NOTE: do not use require: nil because if you do so, bundler will require the library anyway
# Check last section of http://wiki.github.com/merb/merb/howto-using-the-bundler for more informations
group(:bundle) do
  gem "thin"#, git: "git://github.com/macournoyer/thin.git" # there seems to be some problems with latest thin
  #gem "unicorn"#, git: "git://repo.or.cz/unicorn.git"
  gem "racksh"#, git: "git://github.com/sickill/racksh.git"
  gem "shotgun"#, git: "git://github.com/rtomayko/shotgun.git"
end

gem "warden"

gem "simple-logger"#, git: "git://github.com/botanicus/simple-logger.git"

# === Environment-Specific Setup === #
group(:development, :test) do
  <% case @orm %>
  <% when "datamapper" %>
  gem "do_sqlite3"#, git: "git://github.com/datamapper/do.git"
  <% end %>
end

group(:stage, :production) do
  <% case @orm %>
  <% when "datamapper" %>
  gem "do_mysql"#, git: "git://github.com/datamapper/do.git"
  <% else %>
  # TODO: db adapters etc
  <% end %>
end

group(:test, :cucumber) do
  gem "rspec"#, git: "git://github.com/dchelimsky/rspec.git"
  gem "rack-test", require: "rack/test"#, git: "git://github.com/brynary/rack-test.git"
  gem "capybara"#, git: "git://github.com/jnicklas/capybara.git"
end

group(:cucumber) do
  gem "cucumber"#, git: "git://github.com/aslakhellesoy/cucumber.git"
end

<MSG> Logger renamed

<DFF> @@ -53,9 +53,11 @@ gem "racksh", require_as: nil#, git: "git://github.com/sickill/racksh.git"
 gem "warden"
 <% end %>
 
+gem "simple-logger"#, git: "git://github.com/botanicus/simple-logger.git"
+#gem "media-path"#, git: "git://github.com/botanicus/media-path.git" # for asset helpers
+
 # === Environment-Specific Setup === #
 only(:development) do
-  gem "colorful-logger"#, git: "git://github.com/botanicus/colorful-logger.git"
   gem "shotgun", require_as: nil#, git: "git://github.com/rtomayko/shotgun.git"
 end
 

Logger renamed