diff --git a/Gemfile b/Gemfile index 8720fd89..b1be4af1 100644 --- a/Gemfile +++ b/Gemfile @@ -19,8 +19,8 @@ gem 'therubyracer', platforms: :ruby # Use jquery as the JavaScript library gem 'jquery-rails' -# Turbolinks makes following links in your web application faster. Read more: -# https://github.com/rails/turbolinks +# Turbolinks makes following links in your web application +# faster. Read more: https://github.com/rails/turbolinks gem 'turbolinks' gem 'jquery-turbolinks' # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder @@ -94,13 +94,6 @@ gem 'meta-tags' gem 'twitter' group :development do - # Spring speeds up development by keeping your application running in the - # background. Read more: https://github.com/rails/spring - gem 'spring' - # Removed, because requires ruby > 2 - # gem 'better_errors' - # gem 'binding_of_caller' - gem 'sqlite3' gem 'guard-livereload' gem 'guard-migrate' @@ -119,6 +112,19 @@ group :test do gem 'simplecov' end +group :development, :test do + # Call 'byebug' anywhere in the code to stop execution and get a debugger + # console + gem 'byebug' + + # Access an IRB console on exception pages or by using <%= console %> in views + gem 'web-console', '~> 2.0' + + # Spring speeds up development by keeping your application running in the + # background. Read more: https://github.com/rails/spring + gem 'spring' +end + group :production do # Use mysql as the database for Active Record gem 'mysql2' diff --git a/Gemfile.lock b/Gemfile.lock index f107f1af..a98112e9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -81,6 +81,8 @@ GEM astrolabe (1.3.0) parser (>= 2.2.0.pre.3, < 3.0) bcrypt (3.1.10) + binding_of_caller (0.7.2) + debug_inspector (>= 0.0.1) bourbon (4.2.1) sass (~> 3.4) thor @@ -96,6 +98,10 @@ GEM terminal-table (~> 1.4) buftok (0.2.0) builder (3.2.2) + byebug (3.5.1) + columnize (~> 0.8) + debugger-linecache (~> 1.2) + slop (~> 3.6) celluloid (0.16.0) timers (~> 4.0.0) chunky_png (1.3.4) @@ -107,6 +113,7 @@ GEM coffee-script-source execjs coffee-script-source (1.9.1) + columnize (0.9.0) compass (1.0.3) chunky_png (~> 1.2) compass-core (~> 1.0.2) @@ -123,6 +130,8 @@ GEM compass (~> 1.0.0) sass-rails (<= 5.0.1) sprockets (< 2.13) + debug_inspector (0.0.2) + debugger-linecache (1.2.0) devise (3.4.1) bcrypt (~> 3.0) orm_adapter (~> 0.1) @@ -408,6 +417,11 @@ GEM json (>= 1.8.0) warden (1.2.3) rack (>= 1.0) + web-console (2.1.0) + activemodel (>= 4.0) + binding_of_caller (>= 0.7.2) + railties (>= 4.0) + sprockets-rails (>= 2.0, < 4.0) webrick (1.3.1) webshims-rails (1.15.6.2) rails (> 3.1.0) @@ -420,6 +434,7 @@ DEPENDENCIES activeadmin! activeadmin_pagedown brakeman + byebug coffee-rails compass-rails devise @@ -466,5 +481,6 @@ DEPENDENCIES turbolinks twitter uglifier + web-console (~> 2.0) webrick (>= 1.3.1) webshims-rails diff --git a/config.ru b/config.ru index 5bc2a619..bd83b254 100644 --- a/config.ru +++ b/config.ru @@ -1,4 +1,4 @@ # This file is used by Rack-based servers to start the application. -require ::File.expand_path('../config/environment', __FILE__) +require ::File.expand_path('../config/environment', __FILE__) run Rails.application diff --git a/db/schema_cache.dump b/db/schema_cache.dump deleted file mode 100644 index c4934c13..00000000 Binary files a/db/schema_cache.dump and /dev/null differ