Skip to content

Commit

Permalink
Change gemfiles file extension to .gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed May 7, 2024
1 parent 09c68be commit 9e66eca
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
"*.gemfile": "ruby"
}
}
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true

gemfile = "#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION.split(".").take(2).join(".")}.rb"
gemfile = "#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION.split(".").take(2).join(".")}.gemfile"
eval_gemfile "gemfiles/#{gemfile}"
2 changes: 1 addition & 1 deletion bin/generate_docker_compose.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"command" => "/bin/bash",
"environment" => {
"BUNDLE_GEMFILE" => "gemfiles/ruby-#{version}.rb"
"BUNDLE_GEMFILE" => "gemfiles/ruby-#{version}.gemfile"
},
"stdin_open" => true,
"tty" => true,
Expand Down
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
dockerfile: images/ruby-2.5.dockerfile
command: "/bin/bash"
environment:
BUNDLE_GEMFILE: gemfiles/ruby-2.5.rb
BUNDLE_GEMFILE: gemfiles/ruby-2.5.gemfile
stdin_open: true
tty: true
volumes:
Expand All @@ -21,7 +21,7 @@ services:
dockerfile: images/ruby-2.6.dockerfile
command: "/bin/bash"
environment:
BUNDLE_GEMFILE: gemfiles/ruby-2.6.rb
BUNDLE_GEMFILE: gemfiles/ruby-2.6.gemfile
stdin_open: true
tty: true
volumes:
Expand All @@ -33,7 +33,7 @@ services:
dockerfile: images/ruby-2.7.dockerfile
command: "/bin/bash"
environment:
BUNDLE_GEMFILE: gemfiles/ruby-2.7.rb
BUNDLE_GEMFILE: gemfiles/ruby-2.7.gemfile
stdin_open: true
tty: true
volumes:
Expand All @@ -45,7 +45,7 @@ services:
dockerfile: images/ruby-3.0.dockerfile
command: "/bin/bash"
environment:
BUNDLE_GEMFILE: gemfiles/ruby-3.0.rb
BUNDLE_GEMFILE: gemfiles/ruby-3.0.gemfile
stdin_open: true
tty: true
volumes:
Expand All @@ -57,7 +57,7 @@ services:
dockerfile: images/ruby-3.1.dockerfile
command: "/bin/bash"
environment:
BUNDLE_GEMFILE: gemfiles/ruby-3.1.rb
BUNDLE_GEMFILE: gemfiles/ruby-3.1.gemfile
stdin_open: true
tty: true
volumes:
Expand All @@ -69,7 +69,7 @@ services:
dockerfile: images/ruby-3.2.dockerfile
command: "/bin/bash"
environment:
BUNDLE_GEMFILE: gemfiles/ruby-3.2.rb
BUNDLE_GEMFILE: gemfiles/ruby-3.2.gemfile
stdin_open: true
tty: true
volumes:
Expand All @@ -81,7 +81,7 @@ services:
dockerfile: images/ruby-3.3.dockerfile
command: "/bin/bash"
environment:
BUNDLE_GEMFILE: gemfiles/ruby-3.3.rb
BUNDLE_GEMFILE: gemfiles/ruby-3.3.gemfile
stdin_open: true
tty: true
volumes:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 9e66eca

Please sign in to comment.