Sha256: 4549decf22698fa7991435a5fe5f7d16e37bd2b6d8c5ca9453ceee69a7c9a727

Contents?: true

Size: 757 Bytes

Versions: 2

Compression:

Stored size: 757 Bytes

Contents

# Using this file you can add gems dependencies to your application.
# gem_name, options
# gem_name is the name of the gem you want to add.
# :version, optional, is the version of the gem you want to use.
# :libs, optional, is an array of files you want to require.
# :source, options, is the source you want to use to install a particular gem.
require_gems do |gem|
<% if @options["orm"] -%>
  gem.add 'mack-<%=@options["orm"]%>', :libs => 'mack-<%=@options["orm"]%>', :version => '<%= Mack::VERSION %>'
  <% if @options["orm"] == 'data_mapper' -%>
gem.add 'do_sqlite3'
  <% end -%>
<% end -%>
  # examples:
  # gem.add :redgreen, :version => "1.2.2", :libs => :redgreen
  # gem.add :termios
  # gem.add :rubyzip, :source => "http://gems.rubyforge.org"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mack-0.8.3 lib/mack/generators/mack_application_generator/templates/config/initializers/gems.rb.template
mack-0.8.3.1 lib/mack/generators/mack_application_generator/templates/config/initializers/gems.rb.template