An error occurred while installing debase (0.2.5.beta2), and Bundler cannot continue.
In Gemfile: debase
1 2 3
Attaching to web-1 web-1 | /usr/local/bin/ruby: No such file or directory -- /opt/.rubymine_gems/gems/ruby-debug-ide-3.0.0.beta.17/bin/rdebug-ide (LoadError) Aborting on container exit...
1
Caused by: java.io.IOException: Cannot run program "/usr/local/bin/docker-compose" (in directory "/Users/ryosuke/Public/20221219_zaico_web/zaico_web"): error=2, No such file or directory
RSpec::Core::MultipleExceptionError: unknown error: session deleted because of page crash from unknown error: cannot determine loading status from tab crashed (Session info: headless chrome=117.0.5938.62)
> Could not resolve all files for configuration ':classpath'. > Could not resolve com.android.tools.build:gradle:7.4.2. Required by: project : > No matching variant of com.android.tools.build:gradle:7.4.2 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.5' but: - Variant 'apiElements' capability com.android.tools.build:gradle:7.4.2 declares a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8 - Other compatible attribute: - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'javadocElements' capability com.android.tools.build:gradle:7.4.2 declares a runtime of a component, and its dependencies declared externally: - Incompatible because this component declares documentation and the consumer needed a library - Other compatible attributes: - Doesn't say anything about its target Java version (required compatibility with Java 8) - Doesn't say anything about its elements (required them packaged as a jar) - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'runtimeElements' capability com.android.tools.build:gradle:7.4.2 declares a runtime of a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8 - Other compatible attribute: - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'sourcesElements' capability com.android.tools.build:gradle:7.4.2 declares a runtime of a component, and its dependencies declared externally: - Incompatible because this component declares documentation and the consumer needed a library - Other compatible attributes: - Doesn't say anything about its target Java version (required compatibility with Java 8) - Doesn't say anything about its elements (required them packaged as a jar) - Doesn't say anything about org.gradle.plugin.api-version (required '7.5')
rake aborted! NameError: uninitialized constant Faraday::Error::ConnectionFailed Did you mean? Faraday::ConnectionFailed
解決策
1 2 3 4 5 6 7
# cdする先のディレクトリは人によって違う。下のコマンドで確認できる。 # bundle show rails cd /Users/hoge/.rbenv/versions/3.0.5/lib/ruby/gems/3.0.0/gems grep -r "Faraday::Error::" . sed -i '''s/Faraday::Error::/Faraday::/g' ./elasticsearch-api-7.4.0/Rakefile sed -i '''s/Faraday::Error::/Faraday::/g' ./elasticsearch-transport-7.4.0/spec/elasticsearch/transport/client_spec.rb sed -i '''s/Faraday::Error::/Faraday::/g' ./elasticsearch-transport-7.4.0/lib/elasticsearch/transport/transport/http/faraday.rb