diff --git a/Gemfile b/Gemfile index 3bca5dfc..f5eeed13 100644 --- a/Gemfile +++ b/Gemfile @@ -273,6 +273,7 @@ group :development, :test, :linters do # as debugger gem 'byebug' gem 'pry' + gem 'pry-byebug' # Linters and static analysis. gem 'pronto', require: false diff --git a/Gemfile.lock b/Gemfile.lock index c963a368..eddf2cfd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -164,10 +164,10 @@ GEM docile (1.3.5) domain_name (0.5.20180417) unf (>= 0.0.5, < 1.0.0) - dotenv (2.7.5) - dotenv-rails (2.7.5) - dotenv (= 2.7.5) - railties (>= 3.2, < 6.1) + dotenv (2.7.6) + dotenv-rails (2.7.6) + dotenv (= 2.7.6) + railties (>= 3.2) erubi (1.10.0) erubis (2.7.0) execjs (2.7.0) @@ -191,8 +191,8 @@ GEM path_expander (~> 1.0) ruby_parser (~> 3.0) sexp_processor (~> 4.0) - font-awesome-rails (4.7.0.5) - railties (>= 3.2, < 6.1) + font-awesome-rails (4.7.0.7) + railties (>= 3.2, < 7) formatador (0.2.5) formtastic (3.1.5) actionpack (>= 3.2.13) @@ -325,7 +325,7 @@ GEM multipart-post (2.1.1) nenv (0.3.0) netrc (0.11.0) - nio4r (2.5.5) + nio4r (2.5.7) nokogiri (1.11.1) mini_portile2 (~> 2.5.0) racc (~> 1.4) @@ -419,8 +419,11 @@ GEM coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) + pry-byebug (3.8.0) + byebug (~> 11.0) + pry (~> 0.10) public_suffix (3.1.1) - puma (5.2.1) + puma (5.2.2) nio4r (~> 2.0) racc (1.5.2) rack (2.2.3) @@ -462,10 +465,10 @@ GEM rails-assets-to-markdown (3.1.1) rails-assets-trianglify (1.2.0) rails-assets-waypoints (4.0.0) - rails-controller-testing (1.0.4) - actionpack (>= 5.0.1.x) - actionview (>= 5.0.1.x) - activesupport (>= 5.0.1.x) + rails-controller-testing (1.0.5) + actionpack (>= 5.0.1.rc1) + actionview (>= 5.0.1.rc1) + activesupport (>= 5.0.1.rc1) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) @@ -746,6 +749,7 @@ DEPENDENCIES pronto-haml pronto-rubocop pry + pry-byebug puma (~> 5.2) rails (~> 5.2) rails-assets-bootstrap-markdown! diff --git a/config/initializers/carrierwave.rb b/config/initializers/carrierwave.rb index e9a315d8..64889d47 100644 --- a/config/initializers/carrierwave.rb +++ b/config/initializers/carrierwave.rb @@ -1,5 +1,6 @@ CarrierWave.configure do |config| config.storage = :file + config.cache_storage = :file config.cache_dir = "#{Rails.root}/tmp/uploads" config.enable_processing = false if Rails.env.test? end