-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ruby-build version not found #90
Labels
bug
Something isn't working
Comments
Specifying default Cloning into '/github/home/.asdf/repository'...
Downloading ruby-build...
initializing plugin repository...==> Downloading ruby-3.2.0.tar.gz...
-> curl -q -fL -o ruby-3.2.0.tar.gz https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.0.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 19.4M 100 19.4M 0 0 134M 0 --:--:-- --:--:-- --:--:-- 135M
==> Installing ruby-3.2.0...
-> ./configure "--prefix=$HOME/.asdf/installs/ruby/3.2.0" --enable-shared --with-ext=openssl,psych,+
-> make -j 4
-> make install
==> Installed ruby-3.2.0 to /github/home/.asdf/installs/ruby/3.2.0
asdf: Warn: You have configured asdf to preserve downloaded files (with always_keep_download=yes or --keep-download). But
asdf: Warn: the current plugin (ruby) does not support that. Downloaded files will not be preserved.
ruby 3.2.0 (2022-12-25 revision a528908271) [x86_64-linux]
Bundler version 2.4.1 (2024-10-23 commit unknown)
Check bundler version from Gemfile.lock
Bundler version 2.5.22 is required by your Gemfile.lock!
Initial comptible bundler
Successfully installed bundler-2.5.22
Parsing documentation for bundler-2.5.22
Installing ri documentation for bundler-2.5.22
Done installing documentation for bundler after 0 seconds
1 gem installed
Cleaning up incompatible bundler cache
Starting bundle install
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
Fetching gem metadata from https://rubygems.org/...........
Fetching concurrent-ruby 1.2.2
Fetching eventmachine 1.2.7
Fetching colorator 1.1.0
Fetching public_suffix 5.0.3
Installing colorator 1.1.0
Installing public_suffix 5.0.3
Fetching http_parser.rb 0.8.0
Installing eventmachine 1.2.7 with native extensions
Installing concurrent-ruby 1.2.2
Installing http_parser.rb 0.8.0 with native extensions
Fetching ffi 1.16.1
Installing ffi 1.16.1 with native extensions
Fetching forwardable-extended 2.6.0
Installing forwardable-extended 2.6.0
Fetching google-protobuf 3.25.5
Installing google-protobuf 3.25.5 with native extensions
Fetching rb-fsevent 0.11.2
Installing rb-fsevent 0.11.2
Fetching strscan 3.1.0
Installing strscan 3.1.0 with native extensions
Fetching liquid 4.0.4
Installing liquid 4.0.4
Fetching mercenary 0.4.0
Installing mercenary 0.4.0
Fetching rouge 4.1.3
Installing rouge 4.1.3
Fetching safe_yaml 1.0.5
Installing safe_yaml 1.0.5
Fetching unicode-display_width 2.4.2
Installing unicode-display_width 2.4.2
Fetching webrick 1.8.2
Installing webrick 1.8.2
Fetching addressable 2.8.5
Installing addressable 2.8.5
Fetching i18n 1.14.1
Installing i18n 1.14.1
Fetching tzinfo 2.0.6
Installing tzinfo 2.0.6
Fetching pathutil 0.16.2
Installing pathutil 0.16.2
Fetching rexml 3.3.6
Installing rexml 3.3.6
Fetching terminal-table 3.0.2
Installing terminal-table 3.0.2
Fetching tzinfo-data 1.2023.3
Installing tzinfo-data 1.2023.3
Fetching kramdown 2.4.0
Installing kramdown 2.4.0
Fetching kramdown-parser-gfm 1.1.0
Installing kramdown-parser-gfm 1.1.0
Fetching rb-inotify 0.10.1
Installing rb-inotify 0.10.1
Fetching listen 3.8.0
Installing listen 3.8.0
Fetching jekyll-watch 2.2.1
Installing jekyll-watch 2.2.1
Fetching em-websocket 0.5.3
Installing em-websocket 0.5.3
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/github/workspace/vendor/bundle/ruby/3.2.0/gems/google-protobuf-3.25.5/ext/google/protobuf_c
rake
RUBYARCHDIR\=/github/workspace/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/google-protobuf-3.25.5
RUBYLIBDIR\=/github/workspace/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/google-protobuf-3.25.5
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems.rb:265:in
`find_spec_for_exe': can't find gem rake (>= 0.a) with executable rake
(Gem::GemNotFoundException)
from
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems.rb:284:in
`activate_bin_path'
from /github/home/.asdf/installs/ruby/3.2.0/bin/rake:25:in `<main>'
rake failed, exit code 1
Gem files will remain installed in
/github/workspace/vendor/bundle/ruby/3.2.0/gems/google-protobuf-3.25.5 for
inspection.
Results logged to
/github/workspace/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/google-protobuf-3.25.5/gem_make.out
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/ext/builder.rb:102:in
`run'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/ext/rake_builder.rb:28:in
`build'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/ext/builder.rb:171:in
`build_extension'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/ext/builder.rb:205:in
`block in build_extensions'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/ext/builder.rb:202:in
`each'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/ext/builder.rb:202:in
`build_extensions'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/installer.rb:843:in
`build_extensions'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/rubygems_gem_installer.rb:109:in
`build_extensions'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/rubygems_gem_installer.rb:28:in
`install'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/source/rubygems.rb:205:in
`install'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/installer/gem_installer.rb:55:in
`install'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/installer/gem_installer.rb:17:in
`install_from_spec'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/installer/parallel_installer.rb:133:in
`do_install'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/installer/parallel_installer.rb:124:in
`block in worker_pool'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/worker.rb:62:in
`apply_func'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/worker.rb:57:in
`block in process_queue'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/worker.rb:54:in
`loop'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/worker.rb:54:in
`process_queue'
/github/workspace/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/worker.rb:90:in
`block (2 levels) in create_threads'
An error occurred while installing google-protobuf (3.25.5), and Bundler cannot
continue.
In Gemfile:
jekyll was resolved to 4.3.2, which depends on
jekyll-sass-converter was resolved to 3.0.0, which depends on
sass-embedded was resolved to 1.68.0, which depends on
google-protobuf |
Thanks for your issue, I will help on this as soon as possible. Thanks & Regards |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get a weird error where it does not specify which ruby-build version it was trying to find. Like #71 , I started having an error based on an update and I can build the website locally without any issue, so I decided to lock my ruby and bundler versions in the workflow file (see end of this post).
Here is the log of the action:
And here is the workflow file used:
The text was updated successfully, but these errors were encountered: