Skip to content

Instantly share code, notes, and snippets.

@kpvarma27
Last active December 16, 2015 14:49
Show Gist options
  • Save kpvarma27/5451904 to your computer and use it in GitHub Desktop.
Save kpvarma27/5451904 to your computer and use it in GitHub Desktop.
Use this gist as a template to pass to rails command while creating a new project. $ rails new app_name -m https://gist.github.com/kpvarma/5451904 This command will generate the new application, and then apply the template to the generated output.
gem("thin")
gem("kaminari")
gem("bootstrap-kaminari-views")
gem("simple_form")
gem("bootstrap-datepicker-rails")
gem("markdownizer")
gem_group :development, :test do
gem("capybara")
gem("database_cleaner")
gem("launchy")
gem("rvm-capistrano")
gem("capistrano")
gem("capistrano-deepmodules")
gem("capistrano_colors")
gem("capistrano-ext")
gem("capistrano-deploytags")
gem("rspec-rails")
gem("factory_girl_rails")
gem("faker")
gem("quiet_assets")
gem("colorize")
gem("pry")
end
gem_group :test do
gem("cucumber-rails")
end
if yes?("Would you like to install Devise?")
gem("devise")
model_name = ask("What would you like the user model to be called? [user]")
model_name = "user" if model_name.blank?
generate("devise:install")
generate("devise", model_name)
end
if yes?("Would you like to install Authority?")
gem("authority")
end
if yes?("Would you like to install rolify?")
gem("rolify")
end
if yes?("Would you like to install whenever?")
gem("whenever")
end
if yes?("Would you like to install delayed job?")
gem("delayed_job_active_record", :version=>"0.3.3")
end
if yes?("Would you like to install wkhtmltopdf?")
gem("wkhtmltopdf")
end
if yes?("Would you like to install carrierwave?")
gem("carrierwave")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment