Closed tomekzawada closed 6 years ago
--- ERROR REPORT TEMPLATE -------------------------------------------------------
Please fill out answers to these questions, it'll help us figure out why things are going wrong.
What did you do?
I ran the command /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/bin/bundle install
/Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/bin/bundle install
What did you expect to happen?
I expected Bundler to install
What happened instead?
Instead, what happened was this very error
Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?
I tried stack overflow
Have you read our issues document, https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md?
...
NoMethodError: undefined method `remotes' for #<Bundler::Source::Git:0x007fb65f918878> In Gemfile: rmagick /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/installer/parallel_installer.rb:164:in `rescue in do_install' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/installer/parallel_installer.rb:161:in `do_install' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/installer/parallel_installer.rb:147:in `install_serially' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/installer/parallel_installer.rb:102:in `call' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/installer/parallel_installer.rb:78:in `call' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/installer.rb:266:in `install_in_parallel' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/installer.rb:202:in `install' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/installer.rb:91:in `block in run' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/process_lock.rb:12:in `block in lock' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/process_lock.rb:9:in `open' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/process_lock.rb:9:in `lock' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/installer.rb:72:in `run' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/installer.rb:25:in `install' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/cli/install.rb:65:in `run' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/cli.rb:224:in `block in install' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/settings.rb:136:in `temporary' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/cli.rb:223:in `install' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/cli.rb:27:in `dispatch' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/cli.rb:18:in `start' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/bin/bundle:30:in `block in <main>' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/site_ruby/2.0.0/bundler/friendly_errors.rb:124:in `with_friendly_errors' /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/bin/bundle:22:in `<main>' /Users/tomekz/.rvm/gems/ruby-2.0.0-p648/bin/ruby_executable_hooks:24:in `eval' /Users/tomekz/.rvm/gems/ruby-2.0.0-p648/bin/ruby_executable_hooks:24:in `<main>'
Bundler 1.16.2 Platforms ruby, x86_64-darwin-17 Ruby 2.0.0p648 (2015-12-16 revision 53162) [x86_64-darwin17.4.0] Full Path /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/bin/ruby Config Dir /Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/etc RubyGems 2.7.7 Gem Home /Users/tomekz/.rvm/gems/ruby-2.0.0-p648 Gem Path /Users/tomekz/.rvm/gems/ruby-2.0.0-p648:/Users/tomekz/.rvm/gems/ruby-2.0.0-p648@global User Path /Users/tomekz/.gem/ruby/2.0.0 Bin Dir /Users/tomekz/.rvm/gems/ruby-2.0.0-p648/bin OpenSSL Compiled OpenSSL 1.0.2o 27 Mar 2018 Loaded OpenSSL 1.0.2o 27 Mar 2018 Cert File /usr/local/etc/openssl/cert.pem Cert Dir /usr/local/etc/openssl/certs Tools Git 2.15.0 RVM 1.29.4 (master) rbenv not installed chruby not installed rubygems-bundler (1.4.5)
Built At 2018-07-19 Git SHA Released Version false
source 'https://rubygems.org' ruby '2.0.0' gem 'activerecord-session_store', github: 'rails/activerecord-session_store' gem 'airbrake' gem 'bootstrap-datepicker-rails' gem 'bootstrap-sass-rails' gem 'carrierwave' gem 'closure-compiler' gem 'coffee-rails', '~> 4.0.0' gem 'dalli' gem 'device_detector' gem 'devise' gem 'dynamic_form' gem 'friendly_id', '~> 5.0.0' # Note: You MUST use 5.0.0 or greater for Rails 4.0+ gem 'haml' gem 'has_secure_token' gem 'jbuilder', '~> 1.2' # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder gem 'jquery-rails' gem 'koala' gem 'mailboxer' gem 'migration_data' gem 'naturalsorter', '2.0.10' gem 'nested_form' gem 'nokogiri' gem 'omniauth' gem 'omniauth-facebook' gem 'paperclip' gem 'pg' gem 'play_billing_validator', require: 'play_billing' gem 'public_activity' gem 'pundit' gem 'rabl' gem 'rails', '4.0.1' gem 'rake', '~> 10.1.1' gem 'rb-readline' gem 'rest-client', '>= 2.0.0' gem 'rmagick', git: 'git://github.com/rmagick/rmagick.git', require: false gem 'rollbar' gem 'sass-rails', '~> 4.0.0' gem 'simple_calendar', '~> 2.0' gem 'simple_form' gem 'selenium-webdriver', '2.52.0' # update version when updating selenium-server gem 'sidekiq' gem 'sidekiq-cron', '~> 0.4.0' gem 'sidekiq-unique-jobs' gem 'sinatra', '>= 1.3.0', require: nil gem 'turbolinks' # Turbolinks makes following links in your web application faster. gem 'therubyracer', '>= 0.12.2', platforms: :ruby # See https://github.com/sstephenson/execjs#readme for more supported runtimes gem 'uglifier', '>= 1.3.0' # Use Uglifier as compressor for JavaScript assets gem 'unicorn' gem 'will_paginate', '~> 3.0' gem 'yajl-ruby', require: 'yajl' gem 'yui-compressor' gem "react-rails" # front gem 'compass' gem 'redcarpet' # cors gem 'rack-cors', require: 'rack/cors' # bot detection gem 'voight_kampff' group :doc do gem 'sdoc', require: false # bundle exec rake doc:rails generates the API under doc/api. end group :development do gem 'better_errors' gem 'binding_of_caller' gem 'haml-rails' gem 'letter_opener' gem 'rails-erd' gem 'rails_best_practices' end group :development, :test do gem 'capistrano', '3.1.0' gem 'capistrano-rails' gem 'capistrano-rvm' gem 'capistrano-sidekiq' gem 'capybara' gem 'database_cleaner' gem 'factory_girl_rails' gem 'fakeweb' gem 'launchy' gem 'pry' gem 'pry-rails' gem 'rspec-rails', '~> 2.99.0' gem 'simplecov' gem 'test_after_commit' gem 'timecop', '~> 0.8.1' gem 'vcr' end # heroku # gem 'rails_12factor', group: :production # Use ActiveModel has_secure_password gem 'bcrypt', '~> 3.1.12' # Use Capistrano for deployment # gem 'capistrano', group: :development # gem 'apipie-rails' gem 'apipie-rails', :git => 'git://github.com/SoftwareMansion/apipie-rails.git', :branch => 'array_class_validator'
GIT remote: git://github.com/SoftwareMansion/apipie-rails.git revision: e8cec25f2d4063d7ee3ab4f52c2c6d9adae26817 branch: array_class_validator specs: apipie-rails (0.0.24) rails (>= 3.0.10) GIT remote: git://github.com/rails/activerecord-session_store.git revision: e879bf087eb684452aaddb734efa20b95588b141 specs: activerecord-session_store (0.1.0) actionpack (>= 4.0.0, < 5) activerecord (>= 4.0.0, < 5) railties (>= 4.0.0, < 5) GIT remote: git://github.com/rmagick/rmagick.git revision: ff60984be5792a91a4853ee15bbb203a97dd6afd specs: rmagick (2.16.0) GEM remote: https://rubygems.org/ specs: actionmailer (4.0.1) actionpack (= 4.0.1) mail (~> 2.5.4) actionpack (4.0.1) activesupport (= 4.0.1) builder (~> 3.1.0) erubis (~> 2.7.0) rack (~> 1.5.2) rack-test (~> 0.6.2) activemodel (4.0.1) activesupport (= 4.0.1) builder (~> 3.1.0) activerecord (4.0.1) activemodel (= 4.0.1) activerecord-deprecated_finders (~> 1.0.2) activesupport (= 4.0.1) arel (~> 4.0.0) activerecord-deprecated_finders (1.0.3) activesupport (4.0.1) i18n (~> 0.6, >= 0.6.4) minitest (~> 4.2) multi_json (~> 1.3) thread_safe (~> 0.1) tzinfo (~> 0.3.37) addressable (2.3.6) airbrake (4.1.0) builder multi_json arel (4.0.2) awesome_print (1.2.0) babel-source (5.8.35) babel-transpiler (0.7.0) babel-source (>= 4.0, < 6) execjs (~> 2.0) bcrypt (3.1.12) better_errors (2.0.0) coderay (>= 1.0.0) erubis (>= 2.6.6) rack (>= 0.9.0) binding_of_caller (0.7.2) debug_inspector (>= 0.0.1) bootstrap-datepicker-rails (1.3.0.2) railties (>= 3.0) bootstrap-sass (3.1.0.2) sass (~> 3.2) bootstrap-sass-rails (3.1.0.0) bootstrap-sass (~> 3.1.0.0) railties (>= 3.2.0) sass-rails (>= 3.2.0) builder (3.1.4) capistrano (3.1.0) i18n rake (>= 10.0.0) sshkit (~> 1.3) capistrano-bundler (1.1.3) capistrano (~> 3.1) sshkit (~> 1.2) capistrano-rails (1.1.2) capistrano (~> 3.1) capistrano-bundler (~> 1.1) capistrano-rvm (0.1.1) capistrano (~> 3.0) sshkit (~> 1.2) capistrano-sidekiq (0.5.4) capistrano sidekiq (>= 3.4) capybara (2.4.1) mime-types (>= 1.16) nokogiri (>= 1.3.3) rack (>= 1.0.0) rack-test (>= 0.5.4) xpath (~> 2.0) carrierwave (0.10.0) activemodel (>= 3.2.0) activesupport (>= 3.2.0) json (>= 1.7) mime-types (>= 1.16) childprocess (0.5.9) ffi (~> 1.0, >= 1.0.11) choice (0.1.6) chunky_png (1.3.1) climate_control (0.0.3) activesupport (>= 3.0) closure-compiler (1.1.12) cocaine (0.5.4) climate_control (>= 0.0.3, < 1.0) code_analyzer (0.4.5) sexp_processor coderay (1.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) colored (1.2) colorize (0.7.3) compass (0.12.7) chunky_png (~> 1.2) fssm (>= 0.2.7) sass (~> 3.2.19) concurrent-ruby (1.0.0) connection_pool (2.2.0) dalli (2.7.2) database_cleaner (1.3.0) debug_inspector (0.0.2) device_detector (1.0.0) devise (3.5.10) 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.20170404) unf (>= 0.0.5, < 1.0.0) dynamic_form (1.1.4) erubis (2.7.0) execjs (2.2.1) factory_girl (4.4.0) activesupport (>= 3.0.0) factory_girl_rails (4.4.1) factory_girl (~> 4.4.0) railties (>= 3.0.0) fakeweb (1.3.0) faraday (0.12.2) multipart-post (>= 1.2, < 3) ffi (1.9.14) foreigner (1.7.4) activerecord (>= 3.0.0) friendly_id (5.0.4) activerecord (>= 4.0.0) fssm (0.2.10) haml (4.0.5) tilt haml-rails (0.5.3) actionpack (>= 4.0.1) activesupport (>= 4.0.1) haml (>= 3.1, < 5.0) railties (>= 4.0.1) has_secure_token (1.0.0) activerecord (>= 3.0) hashie (3.5.6) hike (1.2.3) http-cookie (1.0.3) domain_name (~> 0.5) i18n (0.8.6) jbuilder (1.5.3) activesupport (>= 3.0.0) multi_json (>= 1.2.0) jquery-rails (3.1.2) railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) json (1.8.1) jwt (1.5.6) kgio (2.9.2) koala (1.10.1) addressable faraday multi_json launchy (2.4.2) addressable (~> 2.3) letter_opener (1.2.0) launchy (~> 2.2) libv8 (3.16.14.19) mail (2.5.4) mime-types (~> 1.16) treetop (~> 1.4.8) mailboxer (0.13.0) carrierwave (>= 0.5.8) foreigner (>= 0.9.1) rails (>= 3.2.0) method_source (0.8.2) migration_data (0.2.1) mime-types (1.25.1) mini_portile (0.6.0) minitest (4.7.5) multi_json (1.12.2) multi_xml (0.6.0) multipart-post (2.0.0) naturalsorter (2.0.10) nested_form (0.3.2) net-scp (1.2.1) net-ssh (>= 2.6.5) net-ssh (2.9.1) netrc (0.11.0) nokogiri (1.6.3.1) mini_portile (= 0.6.0) oauth2 (1.4.0) faraday (>= 0.8, < 0.13) jwt (~> 1.0) multi_json (~> 1.3) multi_xml (~> 0.5) rack (>= 1.2, < 3) omniauth (1.4.2) hashie (>= 1.2, < 4) rack (>= 1.0, < 3) omniauth-facebook (4.0.0) omniauth-oauth2 (~> 1.2) omniauth-oauth2 (1.4.0) oauth2 (~> 1.0) omniauth (~> 1.2) 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) play_billing_validator (0.0.3) polyglot (0.3.5) pry (0.10.1) coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) pry-rails (0.3.2) pry (>= 0.9.10) public_activity (1.4.2) actionpack (>= 3.0.0) activerecord (>= 3.0) i18n (>= 0.5.0) railties (>= 3.0.0) pundit (0.3.0) activesupport (>= 3.0.0) rabl (0.11.0) activesupport (>= 2.3.14) rack (1.5.5) rack-cors (0.4.0) rack-protection (1.5.3) rack rack-test (0.6.3) rack (>= 1.0) rails (4.0.1) actionmailer (= 4.0.1) actionpack (= 4.0.1) activerecord (= 4.0.1) activesupport (= 4.0.1) bundler (>= 1.3.0, < 2.0) railties (= 4.0.1) sprockets-rails (~> 2.0.0) rails-erd (1.1.0) activerecord (>= 3.0) activesupport (>= 3.0) choice (~> 0.1.6) ruby-graphviz (~> 1.0.4) rails_best_practices (1.15.4) activesupport awesome_print code_analyzer (>= 0.4.3) colored erubis i18n json require_all ruby-progressbar railties (4.0.1) actionpack (= 4.0.1) activesupport (= 4.0.1) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) raindrops (0.13.0) rake (10.1.1) rb-readline (0.5.3) rdoc (4.1.2) json (~> 1.4) react-rails (2.2.1) babel-transpiler (>= 0.7.0) connection_pool execjs railties (>= 3.2) tilt redcarpet (3.3.4) redis (3.2.2) redis-namespace (1.5.2) redis (~> 3.0, >= 3.0.4) ref (2.0.0) require_all (1.3.2) responders (1.1.2) railties (>= 3.2, < 4.2) rest-client (2.0.2) http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 4.0) netrc (~> 0.8) rollbar (2.15.0) multi_json rspec-collection_matchers (1.1.2) rspec-expectations (>= 2.99.0.beta1) rspec-core (2.99.2) rspec-expectations (2.99.2) diff-lcs (>= 1.1.3, < 2.0) rspec-mocks (2.99.3) rspec-rails (2.99.0) actionpack (>= 3.0) activemodel (>= 3.0) activesupport (>= 3.0) railties (>= 3.0) rspec-collection_matchers rspec-core (~> 2.99.0) rspec-expectations (~> 2.99.0) rspec-mocks (~> 2.99.0) ruby-graphviz (1.0.9) ruby-progressbar (1.5.1) rubyzip (1.2.0) rufus-scheduler (3.2.1) 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) sdoc (0.4.1) json (~> 1.7, >= 1.7.7) rdoc (~> 4.0) selenium-webdriver (2.52.0) childprocess (~> 0.5) multi_json (~> 1.0) rubyzip (~> 1.0) websocket (~> 1.0) sexp_processor (4.4.4) sidekiq (4.0.2) concurrent-ruby (~> 1.0) connection_pool (~> 2.2, >= 2.2.0) redis (~> 3.2, >= 3.2.1) sidekiq-cron (0.4.2) redis-namespace (>= 1.5.2) rufus-scheduler (>= 2.0.24) sidekiq (>= 4.0.0) sidekiq-unique-jobs (4.0.18) sidekiq (>= 2.6) thor simple_calendar (2.1.5) rails (>= 3.0) simple_form (3.0.2) actionpack (~> 4.0) activemodel (~> 4.0) simplecov (0.9.0) docile (~> 1.1.0) multi_json simplecov-html (~> 0.8.0) simplecov-html (0.8.0) sinatra (1.4.6) rack (~> 1.4) rack-protection (~> 1.4) tilt (>= 1.3, < 3) slop (3.6.0) sprockets (2.11.0) hike (~> 1.2) multi_json (~> 1.0) rack (~> 1.0) tilt (~> 1.1, != 1.3.0) sprockets-rails (2.0.1) actionpack (>= 3.0) activesupport (>= 3.0) sprockets (~> 2.8) sshkit (1.5.1) colorize net-scp (>= 1.1.2) net-ssh (>= 2.8.0) test_after_commit (0.3.0) activerecord (>= 3.2) therubyracer (0.12.3) libv8 (~> 3.16.14.15) ref thor (0.20.0) thread_safe (0.3.6) tilt (1.4.1) timecop (0.8.1) treetop (1.4.15) polyglot polyglot (>= 0.3.1) turbolinks (2.3.0) coffee-rails tzinfo (0.3.53) uglifier (2.5.3) execjs (>= 0.3.0) json (>= 1.8.0) unf (0.1.4) unf_ext unf_ext (0.0.7.4) unicorn (4.8.3) kgio (~> 2.6) rack raindrops (~> 0.7) vcr (2.9.3) voight_kampff (1.0.4) rack (~> 1.4) warden (1.2.7) rack (>= 1.0) websocket (1.2.3) will_paginate (3.0.7) xpath (2.0.0) nokogiri (~> 1.3) yajl-ruby (1.2.1) yui-compressor (0.12.0) PLATFORMS ruby DEPENDENCIES activerecord-session_store! airbrake apipie-rails! bcrypt (~> 3.1.12) better_errors binding_of_caller bootstrap-datepicker-rails bootstrap-sass-rails capistrano (= 3.1.0) capistrano-rails capistrano-rvm capistrano-sidekiq capybara carrierwave closure-compiler coffee-rails (~> 4.0.0) compass dalli database_cleaner device_detector devise dynamic_form factory_girl_rails fakeweb friendly_id (~> 5.0.0) haml haml-rails has_secure_token jbuilder (~> 1.2) jquery-rails koala launchy letter_opener mailboxer migration_data naturalsorter (= 2.0.10) nested_form nokogiri omniauth omniauth-facebook paperclip pg play_billing_validator pry pry-rails public_activity pundit rabl rack-cors rails (= 4.0.1) rails-erd rails_best_practices rake (~> 10.1.1) rb-readline react-rails redcarpet rest-client (>= 2.0.0) rmagick! rollbar rspec-rails (~> 2.99.0) sass-rails (~> 4.0.0) sdoc selenium-webdriver (= 2.52.0) sidekiq sidekiq-cron (~> 0.4.0) sidekiq-unique-jobs simple_calendar (~> 2.0) simple_form simplecov sinatra (>= 1.3.0) test_after_commit therubyracer (>= 0.12.2) timecop (~> 0.8.1) turbolinks uglifier (>= 1.3.0) unicorn vcr voight_kampff will_paginate (~> 3.0) yajl-ruby yui-compressor RUBY VERSION ruby 2.0.0p648 BUNDLED WITH 1.16.1
--- TEMPLATE END ----------------------------------------------------------------
This has been fixed in Bundler 1.16.3
--- ERROR REPORT TEMPLATE -------------------------------------------------------
Error Report
Questions
Please fill out answers to these questions, it'll help us figure out why things are going wrong.
What did you do?
I ran the command
/Users/tomekz/.rvm/rubies/ruby-2.0.0-p648/bin/bundle install
What did you expect to happen?
I expected Bundler to install
What happened instead?
Instead, what happened was this very error
Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?
I tried stack overflow
Have you read our issues document, https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md?
...
Backtrace
Environment
Bundler Build Metadata
Gemfile
Gemfile
Gemfile.lock
--- TEMPLATE END ----------------------------------------------------------------