Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
BUNDLE_PATH: "/home/runner/work/devcontainer/devcontainer/vendor/bundle"
BUNDLE_DEPLOYMENT: "true"
1 change: 1 addition & 0 deletions .github/ruby-versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[
"4.0.2",
"4.0.1",
"4.0.0",
"3.4.9",
Expand Down
2 changes: 1 addition & 1 deletion features/src/ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Installs Ruby and a version manager (mise or rbenv) along with the dependencies

| Options Id | Description | Type | Default Value |
|-----|-----|-----|-----|
| version | The version of ruby to be installed | string | 4.0.1 |
| version | The version of ruby to be installed | string | 4.0.2 |
| versionManager | The version manager to use for Ruby (mise or rbenv) | string | mise |

## Customizations
Expand Down
4 changes: 2 additions & 2 deletions features/src/ruby/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "ruby",
"version": "2.1.3",
"version": "2.1.4",
"name": "Ruby",
"description": "Installs Ruby and a version manager (mise or rbenv) along with libraries needed to build Ruby.",
"documentationURL": "https://github.com/rails/devcontainer/tree/main/features/src/ruby",
Expand All @@ -19,7 +19,7 @@
"options": {
"version": {
"type": "string",
"default": "4.0.1",
"default": "4.0.2",
"description": "The ruby version to be installed"
},
"versionManager": {
Expand Down
2 changes: 1 addition & 1 deletion features/test/ruby/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ check "mise is installed" bash -c "mise --version"
check "mise init is sourced in the bashrc" bash -c "grep 'eval \"\$(~/.local/bin/mise activate bash)\"' $HOME/.bashrc"
check "mise idiomatic version file is enabled for ruby" bash -c "mise settings | grep idiomatic_version_file_enable_tools | grep ruby"
check "Ruby is installed with YJIT" bash -c "RUBY_YJIT_ENABLE=1 ruby -v | grep +YJIT"
check "Ruby version is set to 4.0.1" bash -c "mise use -g ruby | grep 4.0.1"
check "Ruby version is set to 4.0.2" bash -c "mise use -g ruby | grep 4.0.2"

reportResults
2 changes: 1 addition & 1 deletion features/test/ruby/with_rbenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ check "rbenv is installed" bash -c "rbenv --version"
check "ruby-build is installed" bash -c "ls -l $HOME/.rbenv/plugins/ruby-build | grep '\-> /usr/local/share/ruby-build'"
eval "$(rbenv init -)"
check "Ruby is installed with YJIT" bash -c "RUBY_YJIT_ENABLE=1 ruby -v | grep +YJIT"
check "Ruby version is set to 4.0.1" bash -c "rbenv global | grep 4.0.1"
check "Ruby version is set to 4.0.2" bash -c "rbenv global | grep 4.0.2"

reportResults
29 changes: 29 additions & 0 deletions vendor/bundle/ruby/3.3.0/bin/minitest
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/usr/bin/env ruby
#
# This file was generated by RubyGems.
#
# The application 'minitest' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'rubygems'

Gem.use_gemdeps

version = ">= 0.a"

str = ARGV.first
if str
str = str.b[/\A_(.*)_\z/, 1]
if str and Gem::Version.correct?(str)
version = str
ARGV.shift
end
end

if Gem.respond_to?(:activate_bin_path)
load Gem.activate_bin_path('minitest', 'minitest', version)
else
gem "minitest", version
load Gem.bin_path("minitest", "minitest", version)
end
29 changes: 29 additions & 0 deletions vendor/bundle/ruby/3.3.0/bin/rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/usr/bin/env ruby
#
# This file was generated by RubyGems.
#
# The application 'rake' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'rubygems'

Gem.use_gemdeps

version = ">= 0.a"

str = ARGV.first
if str
str = str.b[/\A_(.*)_\z/, 1]
if str and Gem::Version.correct?(str)
version = str
ARGV.shift
end
end

if Gem.respond_to?(:activate_bin_path)
load Gem.activate_bin_path('rake', 'rake', version)
else
gem "rake", version
load Gem.bin_path("rake", "rake", version)
end
Binary file not shown.
Binary file not shown.
Binary file added vendor/bundle/ruby/3.3.0/cache/crack-1.0.1.gem
Binary file not shown.
Binary file added vendor/bundle/ruby/3.3.0/cache/faraday-2.14.0.gem
Binary file not shown.
Binary file not shown.
Binary file added vendor/bundle/ruby/3.3.0/cache/hashdiff-1.2.1.gem
Binary file not shown.
Binary file added vendor/bundle/ruby/3.3.0/cache/json-2.18.0.gem
Binary file not shown.
Binary file added vendor/bundle/ruby/3.3.0/cache/logger-1.7.0.gem
Binary file not shown.
Binary file not shown.
Binary file added vendor/bundle/ruby/3.3.0/cache/mocha-3.0.1.gem
Binary file not shown.
Binary file not shown.
Binary file added vendor/bundle/ruby/3.3.0/cache/octokit-10.0.0.gem
Binary file not shown.
Binary file added vendor/bundle/ruby/3.3.0/cache/prism-1.9.0.gem
Binary file not shown.
Binary file not shown.
Binary file added vendor/bundle/ruby/3.3.0/cache/rake-13.3.1.gem
Binary file not shown.
Binary file added vendor/bundle/ruby/3.3.0/cache/rexml-3.4.4.gem
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added vendor/bundle/ruby/3.3.0/cache/uri-1.1.1.gem
Binary file not shown.
Binary file added vendor/bundle/ruby/3.3.0/cache/webmock-3.26.1.gem
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
current directory: /home/runner/work/devcontainer/devcontainer/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal
/opt/hostedtoolcache/Ruby/3.3.10/x64/bin/ruby extconf.rb
checking for __builtin_clz()... yes
checking for __builtin_clzl()... yes
checking for __builtin_clzll()... yes
checking for float.h... yes
checking for math.h... yes
checking for stdbool.h... yes
checking for stdlib.h... yes
checking for x86intrin.h... yes
checking for _lzcnt_u32() in x86intrin.h... no
checking for _lzcnt_u64() in x86intrin.h... no
checking for intrin.h... no
checking for ruby/atomic.h... yes
checking for ruby/internal/has/builtin.h... yes
checking for ruby/internal/static_assert.h... yes
checking for rb_complex_real() in ruby.h... yes
checking for rb_complex_imag() in ruby.h... yes
checking for rb_opts_exception_p() in ruby.h... yes
checking for rb_category_warn() in ruby.h... yes
checking for RB_WARN_CATEGORY_DEPRECATED in ruby.h... yes
creating Makefile

current directory: /home/runner/work/devcontainer/devcontainer/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal
make DESTDIR\= sitearchdir\=./.gem.20260202-2234-1mbxre sitelibdir\=./.gem.20260202-2234-1mbxre clean

current directory: /home/runner/work/devcontainer/devcontainer/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal
make DESTDIR\= sitearchdir\=./.gem.20260202-2234-1mbxre sitelibdir\=./.gem.20260202-2234-1mbxre
compiling bigdecimal.c
compiling missing.c
linking shared-object bigdecimal.so

current directory: /home/runner/work/devcontainer/devcontainer/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal
make DESTDIR\= sitearchdir\=./.gem.20260202-2234-1mbxre sitelibdir\=./.gem.20260202-2234-1mbxre install
/usr/bin/install -c -m 0755 bigdecimal.so ./.gem.20260202-2234-1mbxre

current directory: /home/runner/work/devcontainer/devcontainer/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal
make DESTDIR\= sitearchdir\=./.gem.20260202-2234-1mbxre sitelibdir\=./.gem.20260202-2234-1mbxre clean
Loading
Loading