lib/generators/bootup/templates/Gemfile.erb in bootup-0.0.1 vs lib/generators/bootup/templates/Gemfile.erb in bootup-0.0.2
- old
+ new
@@ -1,10 +1,13 @@
source 'https://rubygems.org'
-gem 'rails', '3.2.3'
-<% if @db == 'y' or @db == 'yes' -%>
+gem 'rails'
+<% if @db == 'postgres' %>
gem 'pg'
+<% elsif @db == 'mongoid' -%>
+gem 'sqlite3'
+gem "mongoid"
<% else -%>
gem 'sqlite3'
<% end -%>
gem 'jquery-rails'
gem 'simple_form'
@@ -13,19 +16,21 @@
gem 'bootstrap-datepicker-rails'
gem 'sorcery'
gem 'jquery-datatables-rails'
group :assets do
- gem 'sass-rails', '~> 3.2.3'
- gem 'coffee-rails', '~> 3.2.1'
- gem 'uglifier', '>= 1.0.3'
+ gem 'less-rails'
+ gem 'sass-rails'
+ gem 'coffee-rails'
+ gem 'uglifier'
+ gem 'therubyracer', :platforms => :ruby
end
group :test do
gem 'spork'
gem 'faker'
- gem 'capybara', '~> 1.1.0'
+ gem 'capybara'
gem 'launchy'
gem 'factory_girl_rails'
gem 'database_cleaner'
end
@@ -34,7 +39,7 @@
gem 'guard-rspec'
gem 'rb-inotify', :require => false
gem 'libnotify' if RUBY_PLATFORM =~ /linux/i
gem 'rb-fsevent', :require => false if RUBY_PLATFORM =~ /darwin/i
gem 'growl' if RUBY_PLATFORM =~ /darwin/i
- gem 'annotate', ">=2.5.0"
+ gem 'annotate'
end