can't run rspec in RoR - ruby-on-rails

I'm beginner in RoR, I have an error When I run rspec in rails I'm getting this error message:
You have already activated json 2.0.2, but your Gemfile requires json 1.8.6. Prepending bundle exec to your command may solve this. (Gem::LoadError)
I have tried to update json gem by "bundle update json", but still getting the same error message.
Could someone helps me on this.
I'm using:- Ruby 2.3.0
- Rails 4.2.7.1
- gem version 2.5.1
Thank you!
Here is my Gemfile content:
source "https://rubygems.org"
ruby "2.3.0"
gem "dhis2", github: 'BLSQ/dhis2'
gem "rails", "4.2.7.1"
gem "awesome_print", "1.6.1"
gem "pg", "0.18.4"
gem "sass-rails", "5.0.6"
gem "uglifier", "3.0.0"
gem "coffee-rails", "4.1.0"
gem "therubyracer", "0.12.2"
gem "jquery-rails", "4.1.1"
gem "translation", "1.6"
gem "slim", "3.0.6"
gem "bootstrap-sass", "3.3.6"
gem "rails_admin", "0.8.1"
gem "devise", "4.0.0"
gem "simple_form", "3.2.1"
gem "rest-client", "2.0.0"
gem "figaro", "1.1.1"
gem "sidekiq", "4.1.1"
gem "unicorn", "5.1.0"
gem "sentry-raven", "0.15.6"
gem "sinatra", require: nil
gem "will_paginate", "3.1.0"
gem "will_paginate-bootstrap", "1.0.1"
gem "rubyzip", "~> 1.1.0"
gem "axlsx", "2.1.0.pre"
gem "axlsx_rails"
gem "jquery-ui-rails"
gem "rails4-autocomplete"
gem "chosen-rails"
group :production do
gem "rails_12factor", "0.0.3"
end
group :development, :test do
gem "derailed"
gem "byebug"
gem "database_cleaner"
gem "factory_girl_rails", " 4.0"
gem "faker"
gem "rspec-its"
gem "rspec-rails", "~> 3.0"
gem "shoulda-matchers", require: false
gem "rails-erd"
gem "mailcatcher"
gem "rest-client-logger"
end
group :development do
gem "annotate"
gem "web-console", "2.0"
gem "spring"
gem 'rack-mini-profiler'
gem 'memory_profiler'
gem 'flamegraph'
gem 'stackprof'
end
group :test do
gem "simplecov", require: false
gem "codeclimate-test-reporter", "~> 1.0.0"
gem "webmock"
gem "rspec-sidekiq", "~> 2.2.0"
end
And Here is Gemfile.lock:
GIT
revision: d91e3ebecefc3ded8c17d7d786a7de6d42efebfb
specs:
dhis2 (2.2.1)
rest-client
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.2.7.1)
actionpack (= 4.2.7.1)
actionview (= 4.2.7.1)
activejob (= 4.2.7.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.7.1)
actionview (= 4.2.7.1)
activesupport (= 4.2.7.1)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.7.1)
activesupport (= 4.2.7.1)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (4.2.7.1)
activesupport (= 4.2.7.1)
globalid (>= 0.3.0)
activemodel (4.2.7.1)
activesupport (= 4.2.7.1)
builder (~> 3.1)
activerecord (4.2.7.1)
activemodel (= 4.2.7.1)
activesupport (= 4.2.7.1)
arel (~> 6.0)
activesupport (4.2.7.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.5.0)
public_suffix (~> 2.0, >= 2.0.2)
annotate (2.7.1)
activerecord (>= 3.2, < 6.0)
rake (>= 10.4, < 12.0)
arel (6.0.4)
autoprefixer-rails (6.6.1)
execjs
awesome_print (1.6.1)
axlsx (2.1.0.pre)
htmlentities (~> 4.3.1)
nokogiri (>= 1.4.1)
rubyzip (~> 1.1.7)
axlsx_rails (0.5.0)
actionpack (>= 3.1)
axlsx (>= 2.0.1)
bcrypt (3.1.11)
benchmark-ips (2.7.2)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bootstrap-sass (3.3.6)
autoprefixer-rails (>= 5.2.1)
sass (>= 3.3.4)
builder (3.2.3)
byebug (9.0.6)
choice (0.2.0)
chosen-rails (1.5.2)
coffee-rails (>= 3.2)
railties (>= 3.0)
sass-rails (>= 3.2)
codeclimate-test-reporter (1.0.4)
simplecov
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.0.4)
connection_pool (2.2.1)
crack (0.4.3)
safe_yaml (~> 1.0.0)
daemons (1.2.4)
database_cleaner (1.5.3)
debug_inspector (0.0.2)
derailed (0.1.0)
derailed_benchmarks
derailed_benchmarks (1.3.2)
benchmark-ips (~> 2)
get_process_mem (~> 0)
heapy (~> 0)
memory_profiler (~> 0)
rack (>= 1)
rake (> 10, < 13)
thor (~> 0.19)
devise (4.0.0)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0, < 5.1)
responders
warden (~> 1.2.3)
diff-lcs (1.2.5)
docile (1.1.5)
domain_name (0.5.20161129)
unf (>= 0.0.5, < 1.0.0)
erubis (2.7.0)
eventmachine (1.0.9.1)
execjs (2.7.0)
factory_girl (4.0.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.0.0)
factory_girl (~> 4.0.0)
railties (>= 3.0.0)
faker (1.7.2)
i18n (~> 0.5)
faraday (0.11.0)
multipart-post (>= 1.2, < 3)
figaro (1.1.1)
thor (~> 0.14)
flamegraph (0.9.5)
font-awesome-rails (4.7.0.1)
railties (>= 3.2, < 5.1)
get_process_mem (0.2.1)
gettext (3.1.7)
locale (>= 2.0.5)
text (>= 1.3.0)
globalid (0.3.7)
activesupport (>= 4.1.0)
haml (4.0.7)
tilt
hashdiff (0.3.2)
heapy (0.1.2)
htmlentities (4.3.4)
http-cookie (1.0.3)
domain_name (~> 0.5)
i18n (0.7.0)
jquery-rails (4.1.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.5)
railties (>= 3.2.16)
json (1.8.6)
kaminari (0.17.0)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
kgio (2.11.0)
libv8 (3.16.14.17)
locale (2.1.2)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.4)
mime-types (>= 1.16, < 4)
mailcatcher (0.6.5)
eventmachine (= 1.0.9.1)
mail (~> 2.3)
rack (~> 1.5)
sinatra (~> 1.2)
skinny (~> 0.2.3)
sqlite3 (~> 1.3)
thin (~> 1.5.0)
memory_profiler (0.9.7)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
minitest (5.10.1)
multipart-post (2.0.0)
nested_form (0.3.2)
netrc (0.11.0)
nokogiri (1.7.0.1)
mini_portile2 (~> 2.1.0)
orm_adapter (0.5.0)
pg (0.18.4)
public_suffix (2.0.5)
rack (1.6.5)
rack-mini-profiler (0.10.1)
rack (>= 1.2.0)
rack-pjax (0.8.0)
nokogiri (~> 1.5)
rack (~> 1.1)
rack-protection (1.5.3)
rack
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.7.1)
actionmailer (= 4.2.7.1)
actionpack (= 4.2.7.1)
actionview (= 4.2.7.1)
activejob (= 4.2.7.1)
activemodel (= 4.2.7.1)
activerecord (= 4.2.7.1)
activesupport (= 4.2.7.1)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.7.1)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.8)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6)
rails-deprecated_sanitizer (>= 1.0.1)
rails-erd (1.5.0)
activerecord (>= 3.2)
activesupport (>= 3.2)
choice (~> 0.2.0)
ruby-graphviz (~> 1.2)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails4-autocomplete (1.1.1)
rails (>= 3.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_admin (0.8.1)
builder (~> 3.1)
coffee-rails (~> 4.0)
font-awesome-rails (>= 3.0, < 5)
haml (~> 4.0)
jquery-rails (>= 3.0, < 5)
jquery-ui-rails (~> 5.0)
kaminari (~> 0.14)
nested_form (~> 0.3)
rack-pjax (~> 0.7)
rails (~> 4.0)
remotipart (~> 1.0)
safe_yaml (~> 1.0)
sass-rails (>= 4.0, < 6)
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
railties (4.2.7.1)
actionpack (= 4.2.7.1)
activesupport (= 4.2.7.1)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
raindrops (0.17.0)
rake (11.3.0)
redis (3.3.2)
ref (2.0.0)
remotipart (1.3.1)
responders (2.3.0)
railties (>= 4.2.0, < 5.1)
rest-client (2.0.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rest-client-logger (0.0.1)
railties (>= 3.1)
rest-client (>= 1.6)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-its (1.2.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-rails (3.5.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-support (~> 3.5.0)
rspec-sidekiq (2.2.0)
rspec (~> 3.0, >= 3.0.0)
sidekiq (>= 2.4.0)
rspec-support (3.5.0)
ruby-graphviz (1.2.2)
rubyzip (1.1.7)
safe_yaml (1.0.4)
sass (3.4.23)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sentry-raven (0.15.6)
faraday (>= 0.7.6)
shoulda-matchers (3.1.1)
activesupport (>= 4.0.0)
sidekiq (4.1.1)
concurrent-ruby (~> 1.0)
connection_pool (~> 2.2, >= 2.2.0)
redis (~> 3.2, >= 3.2.1)
simple_form (3.2.1)
actionpack (> 4, < 5.1)
activemodel (> 4, < 5.1)
simplecov (0.12.0)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)
sinatra (1.4.7)
rack (~> 1.5)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
skinny (0.2.4)
eventmachine (~> 1.0.0)
thin (>= 1.5, < 1.7)
slim (3.0.6)
temple (~> 0.7.3)
tilt (>= 1.3.3, < 2.1)
spring (2.0.0)
activesupport (>= 4.2)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.13)
stackprof (0.2.10)
temple (0.7.7)
text (1.3.1)
therubyracer (0.12.2)
libv8 (~> 3.16.14.0)
ref
thin (1.5.1)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.19.4)
thread_safe (0.3.5)
tilt (2.0.5)
translation (1.6)
gettext (= 3.1.7)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (3.0.0)
execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.2)
unicorn (5.1.0)
kgio (~> 2.6)
raindrops (~> 0.7)
warden (1.2.6)
rack (>= 1.0)
web-console (2.0.0)
activemodel (~> 4.0)
binding_of_caller (>= 0.7.2)
railties (~> 4.0)
sprockets-rails (>= 2.0, < 4.0)
webmock (2.3.2)
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff
will_paginate (3.1.0)
will_paginate-bootstrap (1.0.1)
will_paginate (>= 3.0.3)
PLATFORMS
ruby
DEPENDENCIES
annotate
awesome_print (= 1.6.1)
axlsx (= 2.1.0.pre)
axlsx_rails
bootstrap-sass (= 3.3.6)
byebug
chosen-rails
codeclimate-test-reporter (~> 1.0.0)
coffee-rails (= 4.1.0)
database_cleaner
derailed
devise (= 4.0.0)
dhis2!
factory_girl_rails (= 4.0)
faker
figaro (= 1.1.1)
flamegraph
jquery-rails (= 4.1.1)
jquery-ui-rails
mailcatcher
memory_profiler
pg (= 0.18.4)
rack-mini-profiler
rails (= 4.2.7.1)
rails-erd
rails4-autocomplete
rails_12factor (= 0.0.3)
rails_admin (= 0.8.1)
rest-client (= 2.0.0)
rest-client-logger
rspec-its
rspec-rails (~> 3.0)
rspec-sidekiq (~> 2.2.0)
rubyzip (~> 1.1.0)
sass-rails (= 5.0.6)
sentry-raven (= 0.15.6)
shoulda-matchers
sidekiq (= 4.1.1)
simple_form (= 3.2.1)
simplecov
sinatra
slim (= 3.0.6)
spring
stackprof
therubyracer (= 0.12.2)
translation (= 1.6)
uglifier (= 3.0.0)
unicorn (= 5.1.0)
web-console (= 2.0)
webmock
will_paginate (= 3.1.0)
will_paginate-bootstrap (= 1.0.1)
RUBY VERSION
ruby 2.3.0p0
BUNDLED WITH
1.13.7
Bundle install result:
Using rake 11.3.0
Using i18n 0.7.0
Using json 1.8.6
Using minitest 5.10.1
Using thread_safe 0.3.5
Using builder 3.2.3
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using rack 1.6.5
Using mime-types-data 3.2016.0521
Using arel 6.0.4
Using public_suffix 2.0.5
Using execjs 2.7.0
Using awesome_print 1.6.1
Using htmlentities 4.3.4
Using rubyzip 1.1.7
Using bcrypt 3.1.11
Using benchmark-ips 2.7.2
Using debug_inspector 0.0.2
Using sass 3.4.23
Using byebug 9.0.6
Using choice 0.2.0
Using coffee-script-source 1.12.2
Using thor 0.19.4
Using concurrent-ruby 1.0.4
Using tilt 2.0.5
Using docile 1.1.5
Using simplecov-html 0.10.0
Using connection_pool 2.2.1
Using safe_yaml 1.0.4
Using daemons 1.2.4
Using database_cleaner 1.5.3
Using get_process_mem 0.2.1
Using heapy 0.1.2
Using memory_profiler 0.9.7
Using orm_adapter 0.5.0
Using unf_ext 0.0.7.2
Using netrc 0.11.0
Using diff-lcs 1.2.5
Using eventmachine 1.0.9.1
Using multipart-post 2.0.0
Using flamegraph 0.9.5
Using locale 2.1.2
Using text 1.3.1
Using hashdiff 0.3.2
Using kgio 2.11.0
Using libv8 3.16.14.17
Using sqlite3 1.3.13
Using nested_form 0.3.2
Using pg 0.18.4
Using bundler 1.13.7
Using ruby-graphviz 1.2.2
Using rails_serve_static_assets 0.0.5
Using rails_stdout_logging 0.0.5
Using remotipart 1.3.1
Using raindrops 0.17.0
Using redis 3.3.2
Using ref 2.0.0
Using rspec-support 3.5.0
Using temple 0.7.7
Using stackprof 0.2.10
Using will_paginate 3.1.0
Using faker 1.7.2
Using tzinfo 1.2.2
Using nokogiri 1.7.0.1
Using rack-test 0.6.3
Using warden 1.2.6
Using rack-protection 1.5.3
Using rack-mini-profiler 0.10.1
Using mime-types 3.1
Using addressable 2.5.0
Using autoprefixer-rails 6.6.1
Using uglifier 3.0.0
Using binding_of_caller 0.7.2
Using coffee-script 2.4.1
Using figaro 1.1.1
Using sprockets 3.7.1
Using haml 4.0.7
Using simplecov 0.12.0
Using crack 0.4.3
Using derailed_benchmarks 1.3.2
Using unf 0.1.4
Using thin 1.5.1
Using faraday 0.11.0
Using gettext 3.1.7
Using rails_12factor 0.0.3
Using unicorn 5.1.0
Using sidekiq 4.1.1
Using therubyracer 0.12.2
Using rspec-core 3.5.4
Using rspec-expectations 3.5.0
Using rspec-mocks 3.5.0
Using slim 3.0.6
Using will_paginate-bootstrap 1.0.1
Using activesupport 4.2.7.1
Using loofah 2.0.3
Using axlsx 2.1.0.pre
Using rack-pjax 0.8.0
Using sinatra 1.4.7
Using mail 2.6.4
Using bootstrap-sass 3.3.6
Using codeclimate-test-reporter 1.0.4
Using webmock 2.3.2
Using derailed 0.1.0
Using domain_name 0.5.20161129
Using skinny 0.2.4
Using sentry-raven 0.15.6
Using translation 1.6
Using rspec-its 1.2.0
Using rspec 3.5.0
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.7
Using activemodel 4.2.7.1
Using factory_girl 4.0.0
Using shoulda-matchers 3.1.1
Using spring 2.0.0
Using rails-html-sanitizer 1.0.3
Using http-cookie 1.0.3
Using mailcatcher 0.6.5
Using rspec-sidekiq 2.2.0
Using rails-dom-testing 1.0.8
Using activejob 4.2.7.1
Using activerecord 4.2.7.1
Using rest-client 2.0.0
Using actionview 4.2.7.1
Using annotate 2.7.1
Using rails-erd 1.5.0
Using dhis2 2.2.1 from git://github.com/BLSQ/dhis2.git (at master#d91e3eb)
Using actionpack 4.2.7.1
Using actionmailer 4.2.7.1
Using axlsx_rails 0.5.0
Using railties 4.2.7.1
Using sprockets-rails 3.2.0
Using kaminari 0.17.0
Using simple_form 3.2.1
Using coffee-rails 4.1.0
Using responders 2.3.0
Using factory_girl_rails 4.0.0
Using font-awesome-rails 4.7.0.1
Using jquery-rails 4.1.1
Using jquery-ui-rails 5.0.5
Using rest-client-logger 0.0.1
Using rspec-rails 3.5.2
Using sass-rails 5.0.6
Using rails 4.2.7.1
Using web-console 2.0.0
Using devise 4.0.0
Using chosen-rails 1.5.2
Using rails4-autocomplete 1.1.1
Using rails_admin 0.8.1
Bundle complete! 52 Gemfile dependencies, 150 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.

Problem
More than likely, the line in your Gemfile that includes the json gem looks like this:
gem 'json', '~> 2.0', '>= 2.0.3'
or something similar. This is telling rails that you want a specific version of the json gem and that the gem must be between version 2.0.3 and 2.1. The error you are getting indicates that rails is expecting an earlier version of the gem.
Solution
Remove the version indicators so that the json line in your Gemfile looks like this:
gem 'json', '~> 1.8', '>= 1.8.6'
If that doesn't work, then simply try this:
gem 'json'
Don't forget to run bundle install after modifying your Gemfile!

The version required by the gemfile is json 1.8.6 which is older than json 2.0.2 which you already have, you can try this
gem 'json', '1.8.6'
Downgrade to json 1.8.6, might be helpful.

Related

ActionController::RoutingError (No route matches [GET] "/javascripts/myfile.js") after updating from rails 4.2 to rails 5

I'm currently in the proces of updating from rails 4.2 to rails 5 and i'm stuck on this issue.
Updating to rails 5 required me to also update a bunch of gems. I haven't changed anything else other than that.
In my application.rb:
config.assets.precompile += %w[
myfile.js]
in myfile.js:
//= require_tree ./controllers
I'm including myfile.js in html like this:
<%= javascript_include_tag "myfile" %>
I tried everything I could find but this issue persist.
Me new Gemfile and Gemfile.lock:
source 'https://rubygems.org'
ruby '~> 2.5.0'
gem 'dotenv-rails'
gem 'active_model_serializers'
gem 'axlsx_rails'
gem 'axlsx', git: 'https://github.com/randym/axlsx.git', ref: 'c8ac844'
gem 'batch_api'
gem 'bootstrap_form'
gem 'bower-rails', '~> 0.10.0' # not longer supported
gem 'browser' # detects browser agent
gem 'bundler-audit'
gem 'coffee-rails'
gem 'activemodel-serializers-xml', git: 'https://github.com/rails/activemodel-serializers-xml'
gem 'draper', github: 'drapergem/draper'
gem 'elasticsearch', '< 2'
gem 'execjs'
gem 'font-awesome-rails'
gem 'geokit'
gem 'gibberish', '1.4.0' # breaking changes in 2.0. We need this for exchange password.
gem 'google-api-client', require: 'google/apis/calendar_v3'
gem 'haml-rails'
gem 'icalendar'
gem 'jquery-rails'
gem 'json_pure'
gem 'left_joins'
gem 'mysql2', '~> 0.3.18'
gem 'oj'
gem 'paperclip'
gem 'parallel'
gem 'rabl', '0.14.0'
gem 'rails-routes'
gem 'rails', '~> 5.0.0'
gem 'rails_env_prompt'
gem 'rake'
gem 'rb-readline'
gem 'recurrence'
gem 'redis'
gem 'redis-namespace'
gem 'redis-rails'
gem 'roo' # csv and excel sheet import
gem 'ruby_dig'
gem 'ruby-saml'
gem 'rvm-capistrano'
gem 'sass-rails'
gem 'seedbank'
gem 'sentry-raven'
gem 'sidekiq-limit_fetch'
gem 'sidekiq-scheduler'
gem 'sidekiq-unique-jobs'
gem 'sidekiq'
gem 'signet'
gem 'angular-rails-templates'
gem 'sprockets', '~> 3.7.2'
gem 'swaggard'
gem 'therubyracer'
gem 'thin'
gem 'tinymce-rails'
gem 'uglifier'
gem 'whenever'
gem 'holidays'
gem 'fcm'
group :development, :test do
gem 'capistrano-db-tasks',
git: 'https://github.com/bluerail/capistrano-db-tasks',
branch: '0.2.1-maintenance',
require: false
gem 'capistrano-local-precompile', require: false
gem 'capistrano'
gem 'byebug'
gem 'pry-rails'
gem 'spring'
end
# OSX only, run bundle install --without=osx to ignore this group
group :osx do
gem 'rb-fsevent', '~> 0.9'
gem 'terminal-notifier-guard'
end
# Linux only, run bundle install --without=linux to ignore this group
group :linux do
gem 'libnotify'
end
GIT
remote: git://github.com/drapergem/draper.git
revision: 3e7faa4369efd1253a338369b4c8ad8e31ba8b68
specs:
draper (4.0.1)
actionpack (>= 5.0)
activemodel (>= 5.0)
activemodel-serializers-xml (>= 1.0)
activesupport (>= 5.0)
request_store (>= 1.0)
GIT
remote: git#gitlab.officebooking.net:officebooking/Viewpoint.git
revision: 615414438db8b815be5f658c4e1e37823e8e4d36
branch: extended_props_updated
specs:
viewpoint (1.2.1)
httpclient
logging
nokogiri
rubyntlm
GIT
remote: https://github.com/bluerail/capistrano-db-tasks
revision: f9c6ba11bf7fe224fdc35329980806b6ccacf770
branch: 0.2.1-maintenance
specs:
capistrano-db-tasks (0.2.1)
GIT
remote: https://github.com/rails/activemodel-serializers-xml
revision: 93689638c28525acc65afb638fce866826532641
specs:
activemodel-serializers-xml (1.0.2)
activemodel (>= 5.0.0.a)
activesupport (>= 5.0.0.a)
builder (~> 3.1)
GIT
remote: https://github.com/randym/axlsx.git
revision: c8ac844572b25fda358cc01d2104720c4c42f450
ref: c8ac844
specs:
axlsx (2.1.0.pre)
htmlentities (~> 4.3.4)
mimemagic (~> 0.3)
nokogiri (>= 1.6.6)
rubyzip (>= 1.2.1)
GEM
remote: https://rubygems.org/
specs:
actioncable (5.0.7.2)
actionpack (= 5.0.7.2)
nio4r (>= 1.2, < 3.0)
websocket-driver (~> 0.6.1)
actionmailer (5.0.7.2)
actionpack (= 5.0.7.2)
actionview (= 5.0.7.2)
activejob (= 5.0.7.2)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.0.7.2)
actionview (= 5.0.7.2)
activesupport (= 5.0.7.2)
rack (~> 2.0)
rack-test (~> 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.0.7.2)
activesupport (= 5.0.7.2)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
active_model_serializers (0.10.10)
actionpack (>= 4.1, < 6.1)
activemodel (>= 4.1, < 6.1)
case_transform (>= 0.2)
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
activejob (5.0.7.2)
activesupport (= 5.0.7.2)
globalid (>= 0.3.6)
activemodel (5.0.7.2)
activesupport (= 5.0.7.2)
activerecord (5.0.7.2)
activemodel (= 5.0.7.2)
activesupport (= 5.0.7.2)
arel (~> 7.0)
activesupport (5.0.7.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
angular-rails-templates (1.0.2)
railties (>= 4.2, < 6)
sprockets (>= 3.0, < 5)
tilt
arel (7.1.4)
axlsx_rails (0.6.1)
actionpack (>= 3.1)
caxlsx (>= 3.0)
batch_api (0.3.0)
middleware
bootstrap_form (4.4.0)
actionpack (>= 5.0)
activemodel (>= 5.0)
bower-rails (0.10.0)
browser (4.0.0)
builder (3.2.4)
bundler-audit (0.3.0)
bundler (~> 1.2)
byebug (11.1.1)
capistrano (2.15.9)
highline
net-scp (>= 1.0.0)
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
capistrano-local-precompile (0.0.5)
capistrano (~> 2, < 3)
case_transform (0.2)
activesupport
caxlsx (3.0.1)
htmlentities (~> 4.3, >= 4.3.4)
mimemagic (~> 0.3)
nokogiri (~> 1.10, >= 1.10.4)
rubyzip (>= 1.3.0, < 3)
chronic (0.10.2)
climate_control (0.2.0)
coderay (1.1.2)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.1.6)
connection_pool (2.2.2)
crass (1.0.6)
daemons (1.3.1)
declarative (0.0.10)
declarative-option (0.1.0)
dotenv (2.7.5)
dotenv-rails (2.7.5)
dotenv (= 2.7.5)
railties (>= 3.2, < 6.1)
e2mmap (0.1.0)
elasticsearch (1.1.3)
elasticsearch-api (= 1.1.3)
elasticsearch-transport (= 1.1.3)
elasticsearch-api (1.1.3)
multi_json
elasticsearch-transport (1.1.3)
faraday
multi_json
erubis (2.7.0)
et-orbi (1.2.4)
tzinfo
eventmachine (1.2.7)
execjs (2.7.0)
faraday (1.0.1)
multipart-post (>= 1.2, < 3)
fcm (0.0.6)
httparty (~> 0.10, >= 0.10.0)
ffi (1.12.2)
font-awesome-rails (4.7.0.5)
railties (>= 3.2, < 6.1)
fugit (1.3.4)
et-orbi (~> 1.1, >= 1.1.8)
raabro (~> 1.1)
geokit (1.13.1)
gibberish (1.4.0)
globalid (0.4.2)
activesupport (>= 4.2.0)
google-api-client (0.37.3)
addressable (~> 2.5, >= 2.5.1)
googleauth (~> 0.9)
httpclient (>= 2.8.1, < 3.0)
mini_mime (~> 1.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
signet (~> 0.12)
googleauth (0.11.0)
faraday (>= 0.17.3, < 2.0)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (~> 0.12)
haml (5.1.2)
temple (>= 0.8.0)
tilt
haml-rails (1.0.0)
actionpack (>= 4.0.1)
activesupport (>= 4.0.1)
haml (>= 4.0.6, < 6.0)
html2haml (>= 1.0.1)
railties (>= 4.0.1)
highline (2.0.3)
holidays (8.1.0)
html2haml (2.2.0)
erubis (~> 2.7.0)
haml (>= 4.0, < 6)
nokogiri (>= 1.6.0)
ruby_parser (~> 3.5)
htmlentities (4.3.4)
httparty (0.18.0)
mime-types (~> 3.0)
multi_xml (>= 0.5.2)
httpclient (2.8.3)
i18n (1.8.2)
concurrent-ruby (~> 1.0)
icalendar (2.6.1)
ice_cube (~> 0.16)
ice_cube (0.16.3)
jquery-rails (4.3.5)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json_pure (2.3.0)
jsonapi-renderer (0.2.2)
jwt (2.2.1)
left_joins (1.0.8)
activerecord (>= 3)
libv8 (3.16.14.19)
little-plugger (1.1.4)
logging (2.2.2)
little-plugger (~> 1.1)
multi_json (~> 1.10)
loofah (2.5.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
memoist (0.16.2)
method_source (1.0.0)
middleware (0.1.0)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2019.1009)
mimemagic (0.3.4)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
minitest (5.14.0)
multi_json (1.14.1)
multi_xml (0.6.0)
multipart-post (2.1.1)
mysql2 (0.3.21)
net-scp (2.0.0)
net-ssh (>= 2.6.5, < 6.0.0)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (5.2.0)
net-ssh-gateway (2.0.0)
net-ssh (>= 4.0.0)
nio4r (2.5.2)
nokogiri (1.10.9)
mini_portile2 (~> 2.4.0)
oj (3.10.6)
os (1.1.0)
paperclip (6.1.0)
activemodel (>= 4.2.0)
activesupport (>= 4.2.0)
mime-types
mimemagic (~> 0.3.0)
terrapin (~> 0.6.0)
parallel (1.19.1)
pry (0.13.0)
coderay (~> 1.1)
method_source (~> 1.0)
pry-rails (0.3.9)
pry (>= 0.10.4)
public_suffix (4.0.4)
raabro (1.1.6)
rabl (0.14.0)
activesupport (>= 2.3.14)
rack (2.2.2)
rack-protection (2.0.8.1)
rack
rack-test (0.6.3)
rack (>= 1.0)
rails (5.0.7.2)
actioncable (= 5.0.7.2)
actionmailer (= 5.0.7.2)
actionpack (= 5.0.7.2)
actionview (= 5.0.7.2)
activejob (= 5.0.7.2)
activemodel (= 5.0.7.2)
activerecord (= 5.0.7.2)
activesupport (= 5.0.7.2)
bundler (>= 1.3.0)
railties (= 5.0.7.2)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.3.0)
loofah (~> 2.3)
rails-routes (0.1.2)
rails_env_prompt (1.0.0)
railties (5.0.7.2)
actionpack (= 5.0.7.2)
activesupport (= 5.0.7.2)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (13.0.1)
rb-fsevent (0.10.3)
rb-readline (0.5.5)
recurrence (1.3.0)
activesupport
i18n
redis (4.1.3)
redis-actionpack (5.2.0)
actionpack (>= 5, < 7)
redis-rack (>= 2.1.0, < 3)
redis-store (>= 1.1.0, < 2)
redis-activesupport (5.2.0)
activesupport (>= 3, < 7)
redis-store (>= 1.3, < 2)
redis-namespace (1.7.0)
redis (>= 3.0.4)
redis-rack (2.1.2)
rack (>= 2.0.8, < 3)
redis-store (>= 1.2, < 2)
redis-rails (5.0.2)
redis-actionpack (>= 5.0, < 6)
redis-activesupport (>= 5.0, < 6)
redis-store (>= 1.2, < 2)
redis-store (1.8.2)
redis (>= 4, < 5)
ref (2.0.0)
representable (3.0.4)
declarative (< 0.1.0)
declarative-option (< 0.2.0)
uber (< 0.2.0)
request_store (1.5.0)
rack (>= 1.4)
retriable (3.1.2)
roo (2.8.3)
nokogiri (~> 1)
rubyzip (>= 1.3.0, < 3.0.0)
ruby-saml (1.11.0)
nokogiri (>= 1.5.10)
ruby_dig (0.0.2)
ruby_parser (3.14.2)
sexp_processor (~> 4.9)
rubyntlm (0.6.2)
rubyzip (2.3.0)
rufus-scheduler (3.6.0)
fugit (~> 1.1, >= 1.1.6)
rvm-capistrano (1.5.6)
capistrano (~> 2.15.4)
sass-rails (6.0.0)
sassc-rails (~> 2.1, >= 2.1.1)
sassc (2.2.1)
ffi (~> 1.9)
sassc-rails (2.1.2)
railties (>= 4.0.0)
sassc (>= 2.0)
sprockets (> 3.0)
sprockets-rails
tilt
seedbank (0.5.0)
rake (>= 10.0)
sentry-raven (3.0.0)
faraday (>= 1.0)
sexp_processor (4.14.1)
sidekiq (6.0.6)
connection_pool (>= 2.2.2)
rack (~> 2.0)
rack-protection (>= 2.0.0)
redis (>= 4.1.0)
sidekiq-limit_fetch (3.4.0)
sidekiq (>= 4)
sidekiq-scheduler (3.0.1)
e2mmap
redis (>= 3, < 5)
rufus-scheduler (~> 3.2)
sidekiq (>= 3)
thwait
tilt (>= 1.4.0)
sidekiq-unique-jobs (5.0.2)
sidekiq (>= 4.0)
thor
signet (0.14.0)
addressable (~> 2.3)
faraday (>= 0.17.3, < 2.0)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
spring (2.1.0)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
swaggard (1.1.1)
rails (>= 4.0, < 7.0)
sass-rails
yard
temple (0.8.2)
terminal-notifier-guard (1.7.0)
terrapin (0.6.0)
climate_control (>= 0.0.3, < 1.0)
therubyracer (0.12.3)
libv8 (~> 3.16.14.15)
ref
thin (1.7.2)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thor (1.0.1)
thread_safe (0.3.6)
thwait (0.1.0)
tilt (2.0.10)
tinymce-rails (5.2.1)
railties (>= 3.1.1)
tzinfo (1.2.7)
thread_safe (~> 0.1)
uber (0.1.0)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.4)
whenever (1.0.0)
chronic (>= 0.6.3)
yard (0.9.24)
PLATFORMS
ruby
DEPENDENCIES
active_model_serializers
activemodel-serializers-xml!
angular-rails-templates
axlsx!
axlsx_rails
batch_api
bootstrap_form
bower-rails (~> 0.10.0)
browser
bundler-audit
byebug
capistrano
capistrano-db-tasks!
capistrano-local-precompile
coffee-rails
dotenv-rails
draper!
elasticsearch (< 2)
execjs
fcm
font-awesome-rails
geokit
gibberish (= 1.4.0)
google-api-client
haml-rails
holidays
icalendar
jquery-rails
json_pure
left_joins
mysql2 (~> 0.3.18)
oj
paperclip
parallel
pry-rails
rabl (= 0.14.0)
rails (~> 5.0.0)
rails-routes
rails_env_prompt
rake
rb-fsevent (~> 0.9)
rb-readline
recurrence
redis
redis-namespace
redis-rails
roo
ruby-saml
ruby_dig
rvm-capistrano
sass-rails
seedbank
sentry-raven
sidekiq
sidekiq-limit_fetch
sidekiq-scheduler
sidekiq-unique-jobs
signet
spring
sprockets (~> 3.7.2)
swaggard
terminal-notifier-guard
therubyracer
thin
tinymce-rails
uglifier
whenever
RUBY VERSION
ruby 2.5.0p0
BUNDLED WITH
1.17.3
config/manifest.js:
// JS and CSS bundles
//
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
// Images and fonts so that views can link to them
//
//= link_tree ../fonts
//= link_tree ../images
I believe you have updated sprockets as well and you now need to maintain the app/assets/config/manifest.js file.
See here for details on the manifest.js.

Dependency error while upgrading to rails 6

I am trying to upgrade to rails 6 from rails 5.2, following these instructions:
https://blog.rubynetti.it/i/how-to-upgrade-to-rails-6-from-rails-5-2-1
When I run bundle update, I get the following errors and don't know how to fix them. I tried, deleting my lock file, and running it again, I tried running bundle update railties, but get an error saying I should run 'bundle update'
Please help!
Error message after bundle update
Resolving dependencies........
Bundler could not find compatible versions for gem "railties":
In Gemfile:
coffee-rails (~> 4.2) was resolved to 4.2.2, which depends on
railties (>= 4.0.0)
devise was resolved to 4.7.1, which depends on
railties (>= 4.1.0)
factory_bot_rails was resolved to 5.1.1, which depends on
railties (>= 4.2.0)
jquery-ui-rails was resolved to 6.0.1, which depends on
railties (>= 3.2.16)
rails (~> 6.0, >= 6.0.2.1) was resolved to 6.0.2.1, which depends on
railties (= 6.0.2.1)
rspec-rails (~> 3.8) was resolved to 3.9.0, which depends on
railties (>= 3.0)
teaspoon-jasmine was resolved to 2.3.4, which depends on
teaspoon (>= 1.0.0) was resolved to 1.1.4, which depends on
railties (>= 3.2.5, < 5)
web-console (>= 3.3.0) was resolved to 4.0.1, which depends on
railties (>= 6.0.0)
wicked was resolved to 1.3.4, which depends on
railties (>= 3.0.7)
Bundler could not find compatible versions for gem "thor":
In Gemfile:
jquery-rails was resolved to 4.3.5, which depends on
thor (>= 0.14, < 2.0)
rails (~> 6.0, >= 6.0.2.1) was resolved to 6.0.2.1, which depends on
railties (= 6.0.2.1) was resolved to 6.0.2.1, which depends on
thor (>= 0.20.3, < 2.0)
select2-rails was resolved to 4.0.3, which depends on
thor (~> 0.14)
gemfile
# frozen_string_literal: true
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby '2.6.5'
gem 'rails', '~> 6.0', '>= 6.0.2.1'
gem 'pg', '~> 0.18.4'
gem 'active_hash'
gem 'bootsnap', '>= 1.1.0', require: false
gem 'puma', '~> 3.12'
gem 'sassc'
gem 'uglifier', '>= 1.3.0'
gem 'bootstrap', '~> 4.3.1'
gem 'jquery-rails'
gem 'jquery-ui-rails'
gem 'devise'
gem 'devise-bootstrap-views', '~> 1.0'
gem 'devise-i18n'
gem 'simple_form', '~> 5.0.1'
gem "select2-rails"
gem 'wicked'
gem 'pagy'
gem 'geocoder'
gem 'mailboxer'
gem 'stripe'
gem 'coffee-rails', '~> 4.2'
gem 'turbolinks', '~> 5'
gem 'jbuilder', '~> 2.5'
gem 'activerecord-import'
gem 'rubocop', require: false
gem 'rubocop-rails'
gem 'rubocop-performance'
group :development, :test do
gem 'byebug', platforms: %i[mri mingw x64_mingw]
gem 'pry'
gem 'rspec-rails', '~>3.8'
gem 'spring-commands-rspec'
gem 'factory_bot_rails'
gem 'database_cleaner'
gem 'faker', git: 'https://github.com/stympy/faker.git', branch: 'master'
gem "teaspoon-jasmine"
end
group :development do
gem 'listen', '>= 3.0.5'
gem 'web-console', '>= 3.3.0'
end
group :test do
gem 'capybara', '>= 2.15'
gem 'selenium-webdriver'
gem 'webdrivers', '~> 4.0'
gem 'stripe-ruby-mock', '~> 2.5.8', :require => 'stripe_mock'
end
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
gemfile.lock
GIT
remote: https://github.com/stympy/faker.git
revision: 585093235822362e345034da46945b6ea8ssed9d
branch: master
specs:
faker (2.9.0)
i18n (>= 1.6, < 1.8)
GEM
remote: https://rubygems.org/
specs:
actioncable (5.2.4.1)
actionpack (= 5.2.4.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailer (5.2.4.1)
actionpack (= 5.2.4.1)
actionview (= 5.2.4.1)
activejob (= 5.2.4.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.2.4.1)
actionview (= 5.2.4.1)
activesupport (= 5.2.4.1)
rack (~> 2.0, >= 2.0.8)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.4.1)
activesupport (= 5.2.4.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
active_hash (3.0.0)
activesupport (>= 5.0.0)
activejob (5.2.4.1)
activesupport (= 5.2.4.1)
globalid (>= 0.3.6)
activemodel (5.2.4.1)
activesupport (= 5.2.4.1)
activerecord (5.2.4.1)
activemodel (= 5.2.4.1)
activesupport (= 5.2.4.1)
arel (>= 9.0)
activerecord-import (1.0.4)
activerecord (>= 3.2)
activestorage (5.2.4.1)
actionpack (= 5.2.4.1)
activerecord (= 5.2.4.1)
marcel (~> 0.3.1)
activesupport (5.2.4.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
arel (9.0.0)
ast (2.4.0)
autoprefixer-rails (9.7.3)
execjs
bcrypt (3.1.13)
bindex (0.8.1)
bootsnap (1.4.5)
msgpack (~> 1.0)
bootstrap (4.3.1)
autoprefixer-rails (>= 9.1.0)
popper_js (>= 1.14.3, < 2)
sassc-rails (>= 2.0.0)
builder (3.2.4)
byebug (11.0.1)
capybara (3.30.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.5)
xpath (~> 3.2)
carrierwave (2.0.2)
activemodel (>= 5.0.0)
activesupport (>= 5.0.0)
addressable (~> 2.6)
image_processing (~> 1.1)
mimemagic (>= 0.3.0)
mini_mime (>= 0.1.3)
childprocess (3.0.0)
coderay (1.1.2)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.1.5)
crass (1.0.5)
dante (0.2.0)
database_cleaner (1.7.0)
devise (4.7.1)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0)
responders
warden (~> 1.2.3)
devise-bootstrap-views (1.1.0)
devise-i18n (1.9.0)
devise (>= 4.7.1)
diff-lcs (1.3)
erubi (1.9.0)
execjs (2.7.0)
factory_bot (5.1.1)
activesupport (>= 4.2.0)
factory_bot_rails (5.1.1)
factory_bot (~> 5.1.0)
railties (>= 4.2.0)
ffi (1.11.3)
geocoder (1.5.2)
globalid (0.4.2)
activesupport (>= 4.2.0)
i18n (1.7.0)
concurrent-ruby (~> 1.0)
image_processing (1.10.0)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.13, < 3)
jaro_winkler (1.5.4)
jbuilder (2.9.1)
activesupport (>= 4.2.0)
jquery-rails (4.3.5)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (6.0.1)
railties (>= 3.2.16)
listen (3.2.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.4.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
mailboxer (0.15.1)
carrierwave (>= 0.5.8)
rails (>= 5.0.0)
marcel (0.3.3)
mimemagic (~> 0.3.2)
method_source (0.9.2)
mimemagic (0.3.3)
mini_magick (4.9.5)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
minitest (5.13.0)
msgpack (1.3.1)
multi_json (1.14.1)
nio4r (2.5.2)
nokogiri (1.10.7)
mini_portile2 (~> 2.4.0)
orm_adapter (0.5.0)
pagy (3.7.1)
parallel (1.19.1)
parser (2.7.0.0)
ast (~> 2.4.0)
pg (0.18.4)
popper_js (1.14.5)
pry (0.12.2)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
public_suffix (4.0.2)
puma (3.12.2)
rack (2.0.8)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.2.4.1)
actioncable (= 5.2.4.1)
actionmailer (= 5.2.4.1)
actionpack (= 5.2.4.1)
actionview (= 5.2.4.1)
activejob (= 5.2.4.1)
activemodel (= 5.2.4.1)
activerecord (= 5.2.4.1)
activestorage (= 5.2.4.1)
activesupport (= 5.2.4.1)
bundler (>= 1.3.0)
railties (= 5.2.4.1)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.3.0)
loofah (~> 2.3)
railties (5.2.4.1)
actionpack (= 5.2.4.1)
activesupport (= 5.2.4.1)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
rainbow (3.0.0)
rake (13.0.1)
rb-fsevent (0.10.3)
rb-inotify (0.10.1)
ffi (~> 1.0)
regexp_parser (1.6.0)
responders (3.0.0)
actionpack (>= 5.0)
railties (>= 5.0)
rspec-core (3.9.0)
rspec-support (~> 3.9.0)
rspec-expectations (3.9.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-mocks (3.9.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-rails (3.9.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
rspec-mocks (~> 3.9.0)
rspec-support (~> 3.9.0)
rspec-support (3.9.0)
rubocop (0.78.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.6)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.7)
rubocop-performance (1.5.2)
rubocop (>= 0.71.0)
rubocop-rails (2.4.1)
rack (>= 1.1)
rubocop (>= 0.72.0)
ruby-progressbar (1.10.1)
ruby-vips (2.0.16)
ffi (~> 1.9)
rubyzip (2.0.0)
sassc (2.2.1)
ffi (~> 1.9)
sassc-rails (2.1.2)
railties (>= 4.0.0)
sassc (>= 2.0)
sprockets (> 3.0)
sprockets-rails
tilt
select2-rails (4.0.3)
thor (~> 0.14)
selenium-webdriver (3.142.7)
childprocess (>= 0.5, < 4.0)
rubyzip (>= 1.2.2)
simple_form (5.0.1)
actionpack (>= 5.0)
activemodel (>= 5.0)
spring (2.1.0)
spring-commands-rspec (1.0.4)
spring (>= 0.9.1)
sprockets (4.0.0)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
stripe (5.11.0)
stripe-ruby-mock (2.5.8)
dante (>= 0.2.0)
multi_json (~> 1.0)
stripe (>= 2.0.3)
teaspoon (1.1.5)
railties (>= 3.2.5, < 6)
teaspoon-jasmine (2.3.4)
teaspoon (>= 1.0.0)
thor (0.20.3)
thread_safe (0.3.6)
tilt (2.0.10)
turbolinks (5.2.1)
turbolinks-source (~> 5.2)
turbolinks-source (5.2.0)
tzinfo (1.2.6)
thread_safe (~> 0.1)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (1.6.0)
warden (1.2.8)
rack (>= 2.0.6)
web-console (3.7.0)
actionview (>= 5.0)
activemodel (>= 5.0)
bindex (>= 0.4.0)
railties (>= 5.0)
webdrivers (4.1.3)
nokogiri (~> 1.6)
rubyzip (>= 1.3.0)
selenium-webdriver (>= 3.0, < 4.0)
websocket-driver (0.7.1)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.4)
wicked (1.3.4)
railties (>= 3.0.7)
xpath (3.2.0)
nokogiri (~> 1.8)
PLATFORMS
ruby
DEPENDENCIES
active_hash
activerecord-import
bootsnap (>= 1.1.0)
bootstrap (~> 4.3.1)
byebug
capybara (>= 2.15)
coffee-rails (~> 4.2)
database_cleaner
devise
devise-bootstrap-views (~> 1.0)
devise-i18n
factory_bot_rails
faker!
geocoder
jbuilder (~> 2.5)
jquery-rails
jquery-ui-rails
listen (>= 3.0.5)
mailboxer
pagy
pg (~> 0.18.4)
pry
puma (~> 3.12)
rails (~> 5.2.3)
rspec-rails (~> 3.8)
rubocop
rubocop-performance
rubocop-rails
sassc
select2-rails
selenium-webdriver
simple_form (~> 5.0.1)
spring-commands-rspec
stripe
stripe-ruby-mock (~> 2.5.8)
teaspoon-jasmine
turbolinks (~> 5)
tzinfo-data
uglifier (>= 1.3.0)
web-console (>= 3.3.0)
webdrivers (~> 4.0)
wicked
RUBY VERSION
ruby 2.6.5p114
BUNDLED WITH
2.0.2
I ran into a similar issue when upgrading. There's a lot of noise in these dependency warnings, so it can be tricky to find the issue, so it's all about knowing where to look. Luckily one of the devs I work with was able to help me out.
railties
The issue here is that railties, because it is a gem that ships with rails, is trying to upgrade to version 6, but your teaspoon-jasmine gem has a sub-dependency (teaspoon) that requires railties >= 3.2.5, < 5. In most situations like this you would want upgrade teaspoon-jasmine to a version that supports rails 6, but it looks like you have the latest version of teaspoon-jasmine (2.3.4), so I would look into maybe getting rid of this if you can and replace it with a gem that is still being maintained, or if you need to you could fork that gem and configure it to work with rails 6.
thor
Very similar issue here that most likely has to do with select2-rails. This gem appears to not have been updated since 2016, and it requires an old version of thor. See gemspec for that gem here. I would do the same thing here and look into maybe getting rid of select2-rails if you can and replace it with a gem that is still being maintained, or if you need to you could fork that gem and configure it to work with rails 6.

Why gem demands new version changes if the old version of gem used?

I feel a little bit confused about my situation.
These are the versions of elasticsearch gems I'm using:
elasticsearch (1.0.12)
elasticsearch-api (= 1.0.12)
elasticsearch-transport (= 1.0.12)
elasticsearch-api (1.0.12)
multi_json
elasticsearch-model (0.1.7)
activesupport (> 3)
elasticsearch (> 0.4)
hashie
elasticsearch-rails (0.1.7)
elasticsearch-transport (1.0.12)
But the rspec tests fail and the fail message is
The [string] type is removed in 5.0 and automatic upgrade failed because parameters [index_analyzer] are not supported for automatic upgrades.
Why does it want me to use the upgraded syntax and tells me about 5 version changes if I'm still using an older version?
I know it is possible to solve this issue by upgrading, but still, I think it's strange that my code wants to be upgraded despite using an old version gem.
Thank you in advance for any ideas!
Here is my Gemfile.lock:
GIT
specs:
activeadmin (1.0.0.pre4)
arbre (~> 1.0, >= 1.0.2)
bourbon
coffee-rails
formtastic (~> 3.1)
formtastic_i18n
inherited_resources (~> 1.6)
jquery-rails
jquery-ui-rails
kaminari (~> 0.15)
railties (>= 3.2, < 5.1)
ransack (~> 1.3)
sass-rails
sprockets (< 4.1)
GEM
specs:
CFPropertyList (2.3.1)
actionmailer (4.2.7.1)
actionpack (= 4.2.7.1)
actionview (= 4.2.7.1)
activejob (= 4.2.7.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.7.1)
actionview (= 4.2.7.1)
activesupport (= 4.2.7.1)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.7.1)
activesupport (= 4.2.7.1)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
active_link_to (1.0.2)
actionpack
active_model_serializers (0.10.2)
actionpack (>= 4.1, < 6)
activemodel (>= 4.1, < 6)
jsonapi (~> 0.1.1.beta2)
railties (>= 4.1, < 6)
activejob (4.2.7.1)
activesupport (= 4.2.7.1)
globalid (>= 0.3.0)
activemodel (4.2.7.1)
activesupport (= 4.2.7.1)
builder (~> 3.1)
activerecord (4.2.7.1)
activemodel (= 4.2.7.1)
activesupport (= 4.2.7.1)
arel (~> 6.0)
activerecord-postgres-earthdistance (0.4.2)
pg
rails (>= 3.1)
rake
activesupport (4.2.7.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.3.8)
arbre (1.1.1)
activesupport (>= 3.0.0)
arel (6.0.3)
ast (2.3.0)
autoprefixer-rails (6.4.1)
execjs
awesome_print (1.6.1)
babel-source (5.8.35)
babel-transpiler (0.7.0)
babel-source (>= 4.0, < 6)
execjs (~> 2.0)
bcrypt (3.1.10)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bourbon (4.2.7)
sass (~> 3.4)
thor (~> 0.19)
brakeman (3.4.1)
breadcrumbs_on_rails (3.0.1)
builder (3.2.2)
bullet (4.14.4)
activesupport (>= 3.0.0)
uniform_notifier (>= 1.6.0)
bundler-audit (0.3.1)
bundler (~> 1.2)
thor (~> 0.18)
byebug (9.0.6)
capybara (2.7.1)
addressable
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
capybara-webkit (1.11.1)
capybara (>= 2.3.0, < 2.8.0)
json
carrierwave (0.10.0)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
json (>= 1.7)
mime-types (>= 1.16)
choice (0.2.0)
chronic (0.10.2)
code_analyzer (0.4.5)
sexp_processor
codeclimate-test-reporter (0.4.7)
simplecov (>= 0.7.1, < 1.0.0)
coderay (1.1.0)
coffee-rails (4.2.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.2.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.11.1)
colored (1.2)
concurrent-ruby (1.0.2)
connection_pool (2.2.0)
countries (2.0.2)
i18n_data (~> 0.7.0)
money (~> 6.7)
unicode_utils (~> 1.4)
crack (0.4.2)
safe_yaml (~> 1.0.0)
database_cleaner (1.4.1)
debug_inspector (0.0.2)
decent_exposure (2.3.2)
deep_merge (1.1.1)
devise (3.5.6)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
responders
thread_safe (~> 0.1)
warden (~> 1.2.3)
diff-lcs (1.2.5)
docile (1.1.5)
domain_name (0.5.24)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.0.0)
dotenv-rails (2.0.0)
dotenv (= 2.0.0)
elasticsearch (1.0.12)
elasticsearch-api (= 1.0.12)
elasticsearch-transport (= 1.0.12)
elasticsearch-api (1.0.12)
multi_json
elasticsearch-model (0.1.7)
activesupport (> 3)
elasticsearch (> 0.4)
hashie
elasticsearch-rails (0.1.7)
elasticsearch-transport (1.0.12)
faraday
multi_json
email_spec (1.6.0)
launchy (~> 2.1)
mail (~> 2.2)
erubis (2.7.0)
excon (0.45.3)
execjs (2.7.0)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.5.0)
factory_girl (~> 4.5.0)
railties (>= 3.0.0)
faker (1.6.6)
i18n (~> 0.5)
faraday (0.9.1)
multipart-post (>= 1.2, < 3)
fast_stack (0.1.0)
rake
rake-compiler
fission (0.5.0)
CFPropertyList (~> 2.2)
flag-icons-rails (1.1.2)
sass (~> 3.2)
flamegraph (0.1.0)
fast_stack
fog (1.29.0)
fog-atmos
fog-aws (~> 0.0)
fog-brightbox (~> 0.4)
fog-core (~> 1.27, >= 1.27.4)
fog-ecloud
fog-json
fog-local
fog-powerdns (>= 0.1.1)
fog-profitbricks
fog-radosgw (>= 0.0.2)
fog-riakcs
fog-sakuracloud (>= 0.0.4)
fog-serverlove
fog-softlayer
fog-storm_on_demand
fog-terremark
fog-vmfusion
fog-voxel
fog-xml (~> 0.1.1)
ipaddress (~> 0.5)
nokogiri (~> 1.5, >= 1.5.11)
fog-atmos (0.1.0)
fog-core
fog-xml
fog-aws (0.1.2)
fog-core (~> 1.27)
fog-json (~> 1.0)
fog-xml (~> 0.1)
ipaddress (~> 0.8)
fog-brightbox (0.7.1)
fog-core (~> 1.22)
fog-json
inflecto (~> 0.0.2)
fog-core (1.30.0)
builder
excon (~> 0.45)
formatador (~> 0.2)
mime-types
net-scp (~> 1.1)
net-ssh (>= 2.1.3)
fog-ecloud (0.1.1)
fog-core
fog-xml
fog-json (1.0.1)
fog-core (~> 1.0)
multi_json (~> 1.0)
fog-local (0.2.1)
fog-core (~> 1.27)
fog-powerdns (0.1.1)
fog-core (~> 1.27)
fog-json (~> 1.0)
fog-xml (~> 0.1)
fog-profitbricks (0.0.2)
fog-core
fog-xml
nokogiri
fog-radosgw (0.0.4)
fog-core (>= 1.21.0)
fog-json
fog-xml (>= 0.0.1)
fog-riakcs (0.1.0)
fog-core
fog-json
fog-xml
fog-sakuracloud (1.0.1)
fog-core
fog-json
fog-serverlove (0.1.2)
fog-core
fog-json
fog-softlayer (0.4.5)
fog-core
fog-json
fog-storm_on_demand (0.1.1)
fog-core
fog-json
fog-terremark (0.1.0)
fog-core
fog-xml
fog-vmfusion (0.1.0)
fission
fog-core
fog-voxel (0.1.0)
fog-core
fog-xml
fog-xml (0.1.2)
fog-core
nokogiri (~> 1.5, >= 1.5.11)
foreman (0.82.0)
thor (~> 0.19.1)
formatador (0.2.5)
formtastic (3.1.4)
actionpack (>= 3.2.13)
formtastic_i18n (0.6.0)
formulaic (0.2.0)
activesupport
capybara
i18n
foundation-icons-sass-rails (3.0.0)
railties (>= 3.1.1)
sass-rails (>= 3.1.1)
foundation-rails (5.5.1.1)
railties (>= 3.1.0)
sass (>= 3.3.0, < 3.5)
friendly_id (5.1.0)
activerecord (>= 4.0.0)
fuubar (2.0.0)
rspec (~> 3.0)
ruby-progressbar (~> 1.4)
globalid (0.3.7)
activesupport (>= 4.1.0)
has_scope (0.6.0)
actionpack (>= 3.2, < 5)
activesupport (>= 3.2, < 5)
hashie (3.4.1)
heroku (3.32.0)
heroku-api (>= 0.3.19)
launchy (>= 0.3.2)
multi_json (>= 1.10)
netrc (>= 0.10.0)
rest-client (>= 1.6.0)
rubyzip (>= 0.9.9)
heroku-api (0.3.23)
excon (~> 0.44)
multi_json (~> 1.8)
http-cookie (1.0.2)
domain_name (~> 0.5)
i18n (0.7.0)
i18n_data (0.7.0)
inflecto (0.0.2)
inherited_resources (1.6.0)
actionpack (>= 3.2, < 5)
has_scope (~> 0.6.0.rc)
railties (>= 3.2, < 5)
responders
inline_svg (0.11.0)
activesupport (>= 4.0)
loofah (>= 2.0)
nokogiri (~> 1.6)
interactor (3.1.0)
ipaddress (0.8.0)
jquery-rails (4.0.4)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.5)
railties (>= 3.2.16)
json (1.8.3)
jsonapi (0.1.1.beta2)
json (~> 1.8)
jwt (1.5.0)
kaminari (0.17.0)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
launchy (2.4.3)
addressable (~> 2.3)
letter_opener (1.3.0)
launchy (~> 2.2)
libv8 (3.16.14.15)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.4)
mime-types (>= 1.16, < 4)
masonry-rails (0.2.4)
railties
memory_profiler (0.9.4)
metamagic (3.1.7)
rails (>= 3.0.0)
method_source (0.8.2)
mime-types (2.99.3)
mini_magick (4.2.4)
mini_portile2 (2.1.0)
minitest (5.10.1)
money (6.7.1)
i18n (>= 0.6.4, <= 0.7.0)
sixarm_ruby_unaccent (>= 1.1.1, < 2)
multi_json (1.12.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
mysql (2.9.1)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.9.2)
netrc (0.10.3)
newrelic_rpm (3.12.1.298)
nokogiri (1.6.8.1)
mini_portile2 (~> 2.1.0)
oauth2 (1.0.0)
faraday (>= 0.8, < 0.10)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (~> 1.2)
oj (2.18.0)
omniauth (1.2.2)
hashie (>= 1.2, < 4)
rack (~> 1.0)
omniauth-facebook (2.0.1)
omniauth-oauth2 (~> 1.2)
omniauth-google-oauth2 (0.2.4)
omniauth (~> 1.0)
omniauth-oauth2 (~> 1.1)
omniauth-oauth2 (1.3.0)
oauth2 (~> 1.0)
omniauth (~> 1.2)
orm_adapter (0.5.0)
parser (2.3.3.1)
ast (~> 2.2)
pg (0.18.1)
pgbackups-archive (1.0.3)
fog-aws
heroku (>= 3.28.6, <= 3.32)
rake
polyamorous (1.3.1)
activerecord (>= 3.0)
powerpack (0.1.1)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-rails (0.3.4)
pry (>= 0.9.10)
puma (3.6.2)
pundit (1.1.0)
activesupport (>= 3.0.0)
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rabl (0.13.1)
activesupport (>= 2.3.14)
rack (1.6.5)
rack-canonical-host (0.1.0)
addressable
rack (~> 1.0)
rack-cors (0.4.0)
rack-mini-profiler (0.10.1)
rack (>= 1.2.0)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.7.1)
actionmailer (= 4.2.7.1)
actionpack (= 4.2.7.1)
actionview (= 4.2.7.1)
activejob (= 4.2.7.1)
activemodel (= 4.2.7.1)
activerecord (= 4.2.7.1)
activesupport (= 4.2.7.1)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.7.1)
sprockets-rails
rails-assets-autosize (3.0.17)
rails-assets-dropzone (4.3.0)
rails-assets-jquery (2.1.4)
rails-assets-jquery-bar-rating (1.1.0)
rails-assets-jquery (>= 1.7.2)
rails-assets-jquery-cascading-dropdown (1.2.5)
rails-assets-jquery-placeholder (2.1.1)
rails-assets-jquery (>= 1.6)
rails-assets-jquery-ui (1.11.4)
rails-assets-jquery (>= 1.6)
rails-assets-lite-uploader (2.2.0)
rails-assets-jquery (>= 1.8)
rails-assets-lodash (4.14.2)
rails-assets-microplugin (0.0.3)
rails-assets-pnotify (3.0.0)
rails-assets-jquery (>= 1.6)
rails-assets-rangeslider.js (1.2.1)
rails-assets-jquery (>= 1.9.0)
rails-assets-sachinchoolur--lightGallery (1.3.5)
rails-assets-jquery (>= 1.7.0)
rails-assets-selectize (0.12.3)
rails-assets-jquery (>= 1.7.0)
rails-assets-microplugin (~> 0.0.0)
rails-assets-sifter (~> 0.5.0)
rails-assets-sifter (0.5.2)
rails-assets-timepicker (1.7.0)
rails-assets-jquery (>= 1.7)
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-erd (1.4.0)
activerecord (>= 3.2)
activesupport (>= 3.2)
choice (~> 0.2.0)
ruby-graphviz (~> 1.2)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_best_practices (1.15.7)
activesupport
code_analyzer (>= 0.4.3)
colored
erubis
i18n
json
require_all
ruby-progressbar
rails_serve_static_assets (0.0.4)
rails_stdout_logging (0.0.3)
railties (4.2.7.1)
actionpack (= 4.2.7.1)
activesupport (= 4.2.7.1)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rainbow (2.1.0)
rake (12.0.0)
rake-compiler (0.9.5)
rake
ransack (1.8.2)
actionpack (>= 3.0)
activerecord (>= 3.0)
activesupport (>= 3.0)
i18n
polyamorous (~> 1.3)
react-rails (1.8.1)
babel-transpiler (>= 0.7.0)
coffee-script-source (~> 1.8)
connection_pool
execjs
railties (>= 3.2)
tilt
ref (2.0.0)
remotipart (1.2.1)
require_all (1.3.2)
responders (2.3.0)
railties (>= 4.2.0, < 5.1)
rest-client (1.8.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
rinku (1.7.3)
rollbar (2.13.3)
multi_json
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-rails (3.5.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
rubocop (0.46.0)
parser (>= 2.3.1.1, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-graphviz (1.2.2)
ruby-progressbar (1.8.1)
rubyzip (1.1.7)
safe_yaml (1.0.4)
sass (3.4.22)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
scss_lint (0.38.0)
rainbow (~> 2.0)
sass (~> 3.4.1)
seedbank (0.3.0)
sexp_processor (4.7.0)
shoulda-matchers (2.8.0)
activesupport (>= 3.0.0)
simple_form (3.1.0)
actionpack (~> 4.0)
activemodel (~> 4.0)
simplecov (0.9.2)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.9.0)
simplecov-html (0.9.0)
sitemap_generator (5.2.0)
builder (~> 3.0)
sixarm_ruby_unaccent (1.1.1)
skim (0.10.0)
coffee-script
coffee-script-source (>= 1.2.0)
slim (>= 3.0)
sprockets (>= 2, < 4)
slim (3.0.3)
temple (~> 0.7.3)
tilt (>= 1.3.3, < 2.1)
slim-rails (3.0.1)
actionmailer (>= 3.1, < 5.0)
actionpack (>= 3.1, < 5.0)
activesupport (>= 3.1, < 5.0)
railties (>= 3.1, < 5.0)
slim (~> 3.0)
slop (3.6.0)
sprockets (3.7.0)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
stackprof (0.2.7)
temple (0.7.5)
test_after_commit (0.4.1)
activerecord (>= 3.2)
therubyracer (0.12.2)
libv8 (~> 3.16.14.0)
ref
thor (0.19.4)
thread_safe (0.3.5)
tilt (2.0.5)
truncate_html (0.9.3)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.2)
execjs (>= 0.3.0)
json (>= 1.8.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.1)
unicode-display_width (1.1.1)
unicode_utils (1.4.0)
uniform_notifier (1.8.0)
validate_url (1.0.0)
activemodel (>= 3.0.0)
addressable
warden (1.2.6)
rack (>= 1.0)
web-console (2.1.3)
activemodel (>= 4.0)
binding_of_caller (>= 0.7.2)
railties (>= 4.0)
sprockets-rails (>= 2.0, < 4.0)
webmock (1.21.0)
addressable (>= 2.3.6)
crack (>= 0.3.2)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
active_link_to
active_model_serializers
activeadmin!
activerecord-postgres-earthdistance
addressable
autoprefixer-rails
awesome_print
brakeman
breadcrumbs_on_rails
bullet
bundler-audit
byebug
capybara
capybara-webkit
carrierwave
chronic
codeclimate-test-reporter
coffee-rails
countries
database_cleaner
decent_exposure
deep_merge
devise
dotenv-rails
elasticsearch-model
elasticsearch-rails
email_spec
factory_girl_rails
faker
flag-icons-rails
flamegraph
fog
fog-aws
foreman
formulaic
foundation-icons-sass-rails
foundation-rails
friendly_id
fuubar
inline_svg
interactor
jquery-rails (= 4.0.4)
jquery-ui-rails (= 5.0.5)
kaminari
launchy
letter_opener
masonry-rails
memory_profiler
metamagic
mini_magick
mysql
newrelic_rpm
oj
omniauth
omniauth-facebook
omniauth-google-oauth2
pg
pgbackups-archive
pry-rails
puma
pundit
quiet_assets
rabl
rack-canonical-host
rack-cors
rack-mini-profiler
rails (= 4.2.7.1)
rails-assets-autosize!
rails-assets-dropzone!
rails-assets-jquery-bar-rating!
rails-assets-jquery-cascading-dropdown!
rails-assets-jquery-placeholder!
rails-assets-jquery-ui!
rails-assets-lite-uploader!
rails-assets-lodash!
rails-assets-pnotify!
rails-assets-rangeslider.js!
rails-assets-sachinchoolur--lightGallery!
rails-assets-selectize!
rails-assets-timepicker!
rails-erd
rails_12factor
rails_best_practices
react-rails
remotipart
responders
rinku
rollbar
rspec-rails
rubocop
sass-rails
scss_lint
seedbank
shoulda-matchers
simple_form
sitemap_generator
skim
slim
slim-rails
stackprof
test_after_commit
therubyracer
truncate_html
uglifier
validate_url
web-console
webmock
RUBY VERSION
ruby 2.3.1p112
BUNDLED WITH
1.13.6
and Gemfile:
source "https://rubygems.org"
ruby "2.3.1"
gem "pg"
gem "rails", "4.2.7.1"
gem "flamegraph"
gem "memory_profiler"
gem "rack-mini-profiler"
gem "stackprof"
# frontend stack: preprocessors, libraries, minifiers, assets
# plus view stack: helpers, builders, etc.
gem "active_link_to"
gem "autoprefixer-rails"
gem "coffee-rails"
gem "flag-icons-rails"
gem "foundation-icons-sass-rails"
gem "foundation-rails"
gem "inline_svg"
gem "jquery-rails", "4.0.4"
gem "jquery-ui-rails", "5.0.5"
gem "masonry-rails"
gem "metamagic"
gem "react-rails"
gem "remotipart"
gem "rinku"
gem "sass-rails"
gem "simple_form"
gem "skim"
gem "slim"
gem "therubyracer", platforms: :ruby
gem "truncate_html"
gem "uglifier"
source "https://rails-assets.org" do
gem "rails-assets-autosize"
gem "rails-assets-dropzone"
gem "rails-assets-jquery-bar-rating"
gem "rails-assets-jquery-cascading-dropdown"
gem "rails-assets-jquery-placeholder"
gem "rails-assets-jquery-ui"
gem "rails-assets-lite-uploader"
gem "rails-assets-lodash"
gem "rails-assets-pnotify"
gem "rails-assets-rangeslider.js"
gem "rails-assets-sachinchoolur--lightGallery"
gem "rails-assets-selectize"
gem "rails-assets-timepicker"
end
# all other gems
gem "active_model_serializers"
gem "activeadmin", git: "https://github.com/activeadmin/activeadmin"
gem "addressable"
gem "breadcrumbs_on_rails"
gem "countries"
gem "decent_exposure"
gem "deep_merge", require: "deep_merge/rails_compat"
gem "devise"
gem "elasticsearch-model"
gem "elasticsearch-rails"
gem "friendly_id"
gem "interactor"
gem "kaminari"
gem "newrelic_rpm"
gem "oj"
gem "puma"
gem "rabl"
gem "rack-canonical-host"
gem "rack-cors"
gem "responders"
gem "rollbar"
gem "seedbank"
gem "validate_url"
# services
gem "activerecord-postgres-earthdistance"
gem "carrierwave"
gem "fog"
gem "fog-aws"
gem "mini_magick"
gem "pundit"
gem "sitemap_generator"
gem "omniauth"
gem "omniauth-facebook"
gem "omniauth-google-oauth2"
gem "pgbackups-archive"
group :data_migration do
gem "chronic"
gem "mysql"
end
group :staging, :production do
gem "rails_12factor"
end
group :test do
gem "capybara"
gem "capybara-webkit"
gem "codeclimate-test-reporter", require: false
gem "database_cleaner"
gem "email_spec"
gem "formulaic"
gem "launchy"
gem "shoulda-matchers"
gem "test_after_commit"
gem "webmock", require: false
end
group :development, :test, :staging do
gem "factory_girl_rails"
gem "faker"
end
group :development, :test do
gem "awesome_print"
gem "brakeman", require: false
gem "bundler-audit"
gem "byebug"
gem "dotenv-rails"
gem "fuubar"
gem "pry-rails"
gem "rails_best_practices"
gem "rspec-rails"
gem "rubocop"
gem "scss_lint", require: false
end
group :development do
gem "bullet"
gem "foreman"
gem "letter_opener"
gem "quiet_assets"
gem "rails-erd"
gem "slim-rails"
gem "web-console"
end

Corrupt Gemfile.lock Error with Capistrano

I'm trying to deploy my app using Capistrano, but I'm getting this error:
Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES
section: 'nokogiri'
I saw this question, unfortunately, the solution (switching Bundler versions) didn't work for me: Travis reports odd message of corrupted Gemfile.lock
I have tried: deleting the gemfile.lock (and doing a bundle _1.10.6_ install), after adding nokogiri to my gemfile, but I still get the same error.
Here's my gemfile:
source 'http://rubygems.org'
gem 'rails', '4.2.5'
gem 'mysql2', '0.4.2'
gem 'sass-rails', '~> 4.0.3'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'jquery-rails', '4.0.5'
gem 'turbolinks', '2.5.3'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'whenever', '0.9.4', :require => false
gem 'simple_form', '3.2.0'
gem 'devise', '3.5.2'
gem 'omniauth-facebook', '3.0.0'
gem "cocoon", '1.2.6'
gem "paperclip", "~> 4.3"
gem 'braintree', '2.55.0'
gem 'figaro', '~> 0.7.0'
gem 'activeadmin', github: 'activeadmin'
gem 'aws-sdk-v1', '1.66.0'
gem 'transloadit-rails', '1.1.2'
gem 'ratyrate', '1.2.2.alpha'
gem "mediaelement_rails", '0.8.2'
gem 'will_paginate', '~> 3.0.6'
gem 'will_paginate-bootstrap', '1.0.1'
gem 'ransack', '1.7.0'
gem 'jquery-turbolinks', '2.1.0'
gem 'meta-tags', '2.1.0'
gem 'sitemap_generator', '5.1.0'
gem 'nokogiri'
My gemfile.lock:
GIT
remote: git://github.com/activeadmin/activeadmin.git
revision: ab1d8d1a4a1af748ae7009d9d725193d780d0059
specs:
activeadmin (1.0.0.pre2)
arbre (~> 1.0, >= 1.0.2)
bourbon
coffee-rails
formtastic (~> 3.1)
formtastic_i18n
inherited_resources (~> 1.6)
jquery-rails
jquery-ui-rails
kaminari (~> 0.15)
rails (>= 3.2, < 5.0)
ransack (~> 1.3)
sass-rails
GEM
remote: http://rubygems.org/
specs:
actionmailer (4.2.5)
actionpack (= 4.2.5)
actionview (= 4.2.5)
activejob (= 4.2.5)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.5)
actionview (= 4.2.5)
activesupport (= 4.2.5)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.5)
activesupport (= 4.2.5)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (4.2.5)
activesupport (= 4.2.5)
globalid (>= 0.3.0)
activemodel (4.2.5)
activesupport (= 4.2.5)
builder (~> 3.1)
activerecord (4.2.5)
activemodel (= 4.2.5)
activesupport (= 4.2.5)
arel (~> 6.0)
activesupport (4.2.5)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
arbre (1.0.3)
activesupport (>= 3.0.0)
arel (6.0.3)
aws-sdk-v1 (1.66.0)
json (~> 1.4)
nokogiri (>= 1.4.4)
bcrypt (3.1.10-x86-mingw32)
bourbon (3.2.4)
sass (~> 3.2)
thor
braintree (2.55.0)
builder (>= 2.0.0)
builder (3.2.2)
chronic (0.10.2)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.8)
climate_control (>= 0.0.3, < 1.0)
cocoon (1.2.6)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
devise (3.5.2)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
responders
thread_safe (~> 0.1)
warden (~> 1.2.3)
domain_name (0.5.25)
unf (>= 0.0.5, < 1.0.0)
erubis (2.7.0)
execjs (2.6.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
ffi (1.9.10-x86-mingw32)
figaro (0.7.0)
bundler (~> 1.0)
rails (>= 3, < 5)
formtastic (3.1.3)
actionpack (>= 3.2.13)
formtastic_i18n (0.4.1)
globalid (0.3.6)
activesupport (>= 4.1.0)
has_scope (0.6.0)
actionpack (>= 3.2, < 5)
activesupport (>= 3.2, < 5)
hashie (3.4.3)
hike (1.2.3)
http-cookie (1.0.2)
domain_name (~> 0.5)
i18n (0.7.0)
inherited_resources (1.6.0)
actionpack (>= 3.2, < 5)
has_scope (~> 0.6.0.rc)
railties (>= 3.2, < 5)
responders
jbuilder (2.4.0)
activesupport (>= 3.0.0, < 5.1)
multi_json (~> 1.2)
jquery-rails (4.0.5)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-turbolinks (2.1.0)
railties (>= 3.1.0)
turbolinks
jquery-ui-rails (5.0.5)
railties (>= 3.2.16)
json (1.8.3)
jwt (1.5.2)
kaminari (0.16.3)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
mediaelement_rails (0.8.2)
jquery-rails (>= 1.0)
railties (>= 3.1)
meta-tags (2.1.0)
actionpack (>= 3.0.0)
mime-types (2.99)
mimemagic (0.3.0)
mini_portile2 (2.0.0)
minitest (5.8.3)
multi_json (1.11.2)
multi_xml (0.5.5)
multipart-post (2.0.0)
mysql2 (0.4.2-x86-mingw32)
netrc (0.11.0)
nokogiri (1.6.7.1-x86-mingw32)
mini_portile2 (~> 2.0.0.rc2)
oauth2 (1.0.0)
faraday (>= 0.8, < 0.10)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (~> 1.2)
omniauth (1.3.1)
hashie (>= 1.2, < 4)
rack (>= 1.0, < 3)
omniauth-facebook (3.0.0)
omniauth-oauth2 (~> 1.2)
omniauth-oauth2 (1.4.0)
oauth2 (~> 1.0)
omniauth (~> 1.2)
orm_adapter (0.5.0)
paperclip (4.3.2)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
cocaine (~> 0.5.5)
mime-types
mimemagic (= 0.3.0)
polyamorous (1.3.0)
activerecord (>= 3.0)
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rack (1.6.4)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.5)
actionmailer (= 4.2.5)
actionpack (= 4.2.5)
actionview (= 4.2.5)
activejob (= 4.2.5)
activemodel (= 4.2.5)
activerecord (= 4.2.5)
activesupport (= 4.2.5)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.5)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.2)
loofah (~> 2.0)
railties (4.2.5)
actionpack (= 4.2.5)
activesupport (= 4.2.5)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.4.2)
ransack (1.7.0)
actionpack (>= 3.0)
activerecord (>= 3.0)
activesupport (>= 3.0)
i18n
polyamorous (~> 1.2)
ratyrate (1.2.2.alpha)
rdoc (4.2.1)
json (~> 1.4)
responders (2.1.1)
railties (>= 4.2.0, < 5.1)
rest-client (1.8.0-x86-mingw32)
ffi (~> 1.9)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
sass (3.2.19)
sass-rails (4.0.5)
railties (>= 4.0.0, < 5.0)
sass (~> 3.2.2)
sprockets (~> 2.8, < 3.0)
sprockets-rails (~> 2.0)
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
simple_form (3.2.0)
actionpack (~> 4.0)
activemodel (~> 4.0)
sitemap_generator (5.1.0)
builder
sprockets (2.12.4)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.3.3)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
thor (0.19.1)
thread_safe (0.3.5)
tilt (1.4.1)
transloadit (1.2.0)
mime-types (~> 2.99)
multi_json
rest-client
transloadit-rails (1.1.2)
mime-types (~> 2.99)
railties (>= 3)
transloadit (>= 1.1.1)
turbolinks (2.5.3)
coffee-rails
tzinfo (1.2.2)
thread_safe (~> 0.1)
tzinfo-data (1.2015.7)
tzinfo (>= 1.0.0)
uglifier (2.7.2)
execjs (>= 0.3.0)
json (>= 1.8.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.1-x86-mingw32)
warden (1.2.4)
rack (>= 1.0)
whenever (0.9.4)
chronic (>= 0.6.3)
will_paginate (3.0.7)
will_paginate-bootstrap (1.0.1)
will_paginate (>= 3.0.3)
PLATFORMS
x86-mingw32
DEPENDENCIES
activeadmin!
aws-sdk-v1 (= 1.66.0)
braintree (= 2.55.0)
cocoon (= 1.2.6)
coffee-rails (~> 4.0.0)
devise (= 3.5.2)
figaro (~> 0.7.0)
jbuilder (~> 2.0)
jquery-rails (= 4.0.5)
jquery-turbolinks (= 2.1.0)
mediaelement_rails (= 0.8.2)
meta-tags (= 2.1.0)
mysql2 (= 0.4.2)
nokogiri
omniauth-facebook (= 3.0.0)
paperclip (~> 4.3)
quiet_assets
rails (= 4.2.5)
ransack (= 1.7.0)
ratyrate (= 1.2.2.alpha)
sass-rails (~> 4.0.3)
sdoc (~> 0.4.0)
simple_form (= 3.2.0)
sitemap_generator (= 5.1.0)
transloadit-rails (= 1.1.2)
turbolinks (= 2.5.3)
tzinfo-data
uglifier (>= 1.3.0)
whenever (= 0.9.4)
will_paginate (~> 3.0.6)
will_paginate-bootstrap (= 1.0.1)
BUNDLED WITH
1.10.6
Looks like you are developing on a Windows machine. My guess is that you are trying to deploy to Linux. I'm sorry to say, that's not going to work.
You'll notice that your Gemfile.lock has references to the x86-mingw32 version of Nokogiri, which can't be used on the server.
There is no easy solution to this, unfortunately. Heroku solves this problem by completely deleting the Gemfile.lock during deployment, which forces Bundler to re-resolve all dependencies. This works, but now your dependencies are no longer locked and are unpredictable. Heroku will say:
Removing Gemfile.lock because it was generated on Windows.
Bundler will do a full resolve so native gems are handled properly.
This may result in unexpected gem versions being used in your app.
In rare occasions Bundler may not be able to resolve your dependencies at all.
https://devcenter.heroku.com/articles/bundler-windows-gemfile
You could do something similar in Capistrano with some custom code that deletes Gemfile.lock before the Bundler task runs (or just remove Gemfile.lock from source control entirely). You'd also have to change the Bundler arguments to remove the --deployment flag, otherwise it will fail when it sees the Gemfile.lock is missing.
Or you could switch your development environment to Mac or Linux, e.g. by using a Linux VM for development.

Keep having to manually update Nokogiri on Mac OS X when running bundle update

A while ago I did a simple bundle update to get all my gems up to date on my Ruby on Rails project. However, at one point, I got an error about Nokogiri:
Building nokogiri using packaged libraries.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/scott/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb
Building nokogiri using packaged libraries.
-----
libiconv is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
I did some hunting and found instructions to deal with this on the Nokogiri website. The following works after I manually installed libiconv according to their instructions:
gem update nokogiri -- --with-iconv-include=/usr/local/Cellar/libiconv/1.13.1/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.13.1/lib
So afterwards I can run bundle update and all is good! The annoying thing is I have to go through this every time I run bundle update it seems as Nokogiri is updated somewhat frequently... Is there a way to automatically deal with this? I understand Nokogiri is a popular gem! A lot of people must be running into this issue.
UPDATE:
As requested by #Tim Moore, the output to my bundle env command:
scotts-mbp:ucode scott$ bundle env
Bundler 1.6.2
Ruby 2.1.2 (2014-05-08 patchlevel 95) [x86_64-darwin13.0]
Rubygems 2.2.2
rvm 1.25.28 (stable)
GEM_HOME /Users/scott/.rvm/gems/ruby-2.1.2#rails4
GEM_PATH /Users/scott/.rvm/gems/ruby-2.1.2#rails4:/Users/scott/.rvm/gems/ruby-2.1.2#global
rubygems-bundler (1.4.4)
Bundler settings
build.nokogiri
Set for the current user (/Users/scott/.bundle/config): "\"--with-iconv-include=/usr/local/Cellar/libiconv/1.13.1/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.13.1/lib\""
Gemfile
source 'http://rubygems.org'
ruby '2.1.2'
gem 'rails', '~> 4.1'
group :development do
gem 'sqlite3'
end
group :production do
gem 'pg'
gem 'rails_12factor'
end
gem 'sass-rails', '~> 4.0.3'
gem 'coffee-rails'
gem 'uglifier'
gem 'foundation-rails'
gem 'compass-rails'
gem 'jquery-rails'
gem 'jquery-rails-cdn'
gem 'turbolinks'
gem 'high_voltage'
gem 'devise'
gem 'cancan'
gem 'rolify'
gem 'liquid'
gem 'paperclip'
gem 'aws-sdk'
gem 'nokogiri'
gem 'jbuilder'
gem 'redcarpet'
gem 'kaminari'
gem 'ruby-saml-idp'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
Gemfile.lock
GEM
remote: http://rubygems.org/
specs:
actionmailer (4.1.6)
actionpack (= 4.1.6)
actionview (= 4.1.6)
mail (~> 2.5, >= 2.5.4)
actionpack (4.1.6)
actionview (= 4.1.6)
activesupport (= 4.1.6)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
actionview (4.1.6)
activesupport (= 4.1.6)
builder (~> 3.1)
erubis (~> 2.7.0)
activemodel (4.1.6)
activesupport (= 4.1.6)
builder (~> 3.1)
activerecord (4.1.6)
activemodel (= 4.1.6)
activesupport (= 4.1.6)
arel (~> 5.0.0)
activesupport (4.1.6)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
arel (5.0.1.20140414130214)
aws-sdk (1.53.0)
aws-sdk-v1 (= 1.53.0)
aws-sdk-v1 (1.53.0)
json (~> 1.4)
nokogiri (>= 1.4.4)
bcrypt (3.1.7)
builder (3.2.2)
cancan (1.6.10)
chunky_png (1.3.1)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.4)
climate_control (>= 0.0.3, < 1.0)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.8.0)
compass (0.12.7)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.2.19)
compass-rails (2.0.0)
compass (>= 0.12.2)
devise (3.3.0)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
thread_safe (~> 0.1)
warden (~> 1.2.3)
erubis (2.7.0)
execjs (2.2.1)
foundation-rails (5.4.4.0)
railties (>= 3.1.0)
sass (>= 3.2.0)
fssm (0.2.10)
high_voltage (2.2.1)
hike (1.2.3)
i18n (0.6.11)
jbuilder (2.1.3)
activesupport (>= 3.0.0, < 5)
multi_json (~> 1.2)
jquery-rails (3.1.2)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-rails-cdn (1.0.3)
jquery-rails
json (1.8.1)
kaminari (0.16.1)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
liquid (2.6.1)
macaddr (1.7.1)
systemu (~> 2.6.2)
mail (2.6.1)
mime-types (>= 1.16, < 3)
mime-types (2.3)
mini_portile (0.6.0)
minitest (5.4.1)
multi_json (1.10.1)
nokogiri (1.6.3.1)
mini_portile (= 0.6.0)
orm_adapter (0.5.0)
paperclip (4.2.0)
activemodel (>= 3.0.0)
activesupport (>= 3.0.0)
cocaine (~> 0.5.3)
mime-types
pg (0.17.1)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.1.6)
actionmailer (= 4.1.6)
actionpack (= 4.1.6)
actionview (= 4.1.6)
activemodel (= 4.1.6)
activerecord (= 4.1.6)
activesupport (= 4.1.6)
bundler (>= 1.3.0, < 2.0)
railties (= 4.1.6)
sprockets-rails (~> 2.0)
rails_12factor (0.0.2)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.2)
rails_stdout_logging (0.0.3)
railties (4.1.6)
actionpack (= 4.1.6)
activesupport (= 4.1.6)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.3.2)
redcarpet (3.1.2)
rolify (3.4.1)
ruby-saml-idp (0.3.2)
uuid
sass (3.2.19)
sass-rails (4.0.3)
railties (>= 4.0.0, < 5.0)
sass (~> 3.2.0)
sprockets (~> 2.8, <= 2.11.0)
sprockets-rails (~> 2.0)
sprockets (2.11.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.1.4)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
sqlite3 (1.3.9)
systemu (2.6.4)
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
turbolinks (2.3.0)
coffee-rails
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.5.3)
execjs (>= 0.3.0)
json (>= 1.8.0)
uuid (2.3.7)
macaddr (~> 1.0)
warden (1.2.3)
rack (>= 1.0)
PLATFORMS
ruby
DEPENDENCIES
aws-sdk
cancan
coffee-rails
compass-rails
devise
foundation-rails
high_voltage
jbuilder
jquery-rails
jquery-rails-cdn
kaminari
liquid
nokogiri
paperclip
pg
rails (~> 4.1)
rails_12factor
redcarpet
rolify
ruby-saml-idp
sass-rails (~> 4.0.3)
sqlite3
turbolinks
uglifier
You can store the build setting in your Bundler config with:
bundle config build.nokogiri --with-iconv-include=/usr/local/Cellar/libiconv/1.13.1/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.13.1/lib
See http://bundler.io/v1.6/man/bundle-config.1.html#BUILD-OPTIONS

Resources