Skip to content

Commit

Permalink
Switch to dev containers
Browse files Browse the repository at this point in the history
  • Loading branch information
eeng committed Jul 14, 2024
1 parent 48c76cd commit 21b6aef
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
{
"name": "Ruby",
"image": "mcr.microsoft.com/devcontainers/ruby:1-3.3-bullseye",
// The rm is necessary because the rbenv is interfering with the Ruby LSP extension: https://github.com/devcontainers/features/issues/603
"postCreateCommand": "sudo rm -rf /usr/local/share/rbenv && bundle && rake"
}
1 change: 0 additions & 1 deletion .envrc

This file was deleted.

12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
ruby File.read(".ruby-version").strip

source "http://rubygems.org"

# Specify your gem's dependencies in afipws.gemspec
Expand Down
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,5 @@ DEPENDENCIES
pry
rspec

RUBY VERSION
ruby 3.3.4p94

BUNDLED WITH
2.5.15

0 comments on commit 21b6aef

Please sign in to comment.