diff --git a/Gemfile b/Gemfile --- a/Gemfile +++ b/Gemfile @@ -1,9 +1,13 @@ source 'https://rubygems.org' +git_source(:github) { |repo| "https://github.com/#{repo}.git" } #rails -gem 'rails', '~>5.0' +gem 'rails', '~>5.2' gem 'activerecord-session_store' +gem 'puma' +# Reduces boot times through caching; required in config/boot.rb +gem 'bootsnap', '>= 1.1.0', require: false # Bundle edge Rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' @@ -17,9 +21,13 @@ #for dumping database into yaml gem 'yaml_db' + +#------------- assset pipeline ----------------- # Gems used only for assets and not required # in production environments by default. -gem 'sass-rails' +#sass-rails is depricated +#gem 'sass-rails' +gem 'sassc-rails' gem 'coffee-rails' # See https://github.com/sstephenson/execjs#readme for more supported runtimes @@ -29,23 +37,12 @@ gem 'haml' gem 'haml-rails' -# gem 'prototype-rails' - -# To use ActiveModel has_secure_password -# gem 'bcrypt-ruby', '~> 3.0.0' - -# To use Jbuilder templates for JSON -# gem 'jbuilder' -# Use unicorn as the app server -# gem 'unicorn' +# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks +#gem 'turbolinks', '~> 5' +# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder +gem 'jbuilder', '~> 2.5' -# Deploy with Capistrano -# gem 'capistrano' - -# To use debugger -# gem 'debugger' -# #in-place editor gem 'best_in_place', '~> 3.0.1' @@ -62,7 +59,6 @@ #bootstrap add-ons gem 'bootstrap-sass', '~> 3.4.1' -gem 'sassc-rails', '>= 2.1.0' gem 'bootstrap-switch-rails' gem 'bootstrap-toggle-rails' gem 'autoprefixer-rails' @@ -84,7 +80,7 @@ gem 'rdiscount' gem 'dynamic_form' gem 'in_place_editing' -gem 'verification', :git => 'https://github.com/sikachu/verification.git' +#gem 'verification', :git => 'https://github.com/sikachu/verification.git' #---------------- testiing ----------------------- @@ -92,3 +88,28 @@ #---------------- for console -------------------- gem 'fuzzy-string-match' + + +group :development, :test do + # Call 'byebug' anywhere in the code to stop execution and get a debugger console + gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] +end + +group :development do + # Access an interactive console on exception pages or by calling 'console' anywhere in the code. + gem 'web-console', '>= 3.3.0' + gem 'listen', '>= 3.0.5', '< 3.2' + # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring + gem 'spring' + gem 'spring-watcher-listen', '~> 2.0.0' +end + +group :test do + # Adds support for Capybara system testing and selenium driver + gem 'capybara', '>= 2.15' + gem 'selenium-webdriver' + # Easy installation and use of chromedriver to run system tests with Chrome + #gem 'chromedriver-helper' + gem 'webdriver' +end +