File tree Expand file tree Collapse file tree 6 files changed +70
-8
lines changed Expand file tree Collapse file tree 6 files changed +70
-8
lines changed Original file line number Diff line number Diff line change
1
+ ARG RUBY_VERSION=3.4.4
2
+ FROM ghcr.io/rails/devcontainer/images/ruby:$RUBY_VERSION
3
+
4
+ ENV BINDING="0.0.0.0"
Original file line number Diff line number Diff line change
1
+ {
2
+ "name: RubyGems Guides" ,
3
+ "dockerFile" : " Dockerfile" ,
4
+ "forwardPorts" : [
5
+ 4000
6
+ ],
7
+ "workspaceFolder" : " /workspaces/${localWorkspaceFolderBasename}" ,
8
+ "postCreateCommand" : " bin/setup" ,
9
+ "customizations" : {
10
+ "vscode" : {
11
+ "extensions" : [
12
+ " Shopify.ruby-lsp"
13
+ ]
14
+ }
15
+ }
16
+ }
Original file line number Diff line number Diff line change @@ -7,3 +7,6 @@ gem "mdl", "~> 0.11.0"
7
7
gem "rake" , "~> 13.0"
8
8
gem "rdoc" , "~> 6.4"
9
9
gem "webrick" , "~> 1.8"
10
+ gem "csv" , "~> 3.3"
11
+ gem "base64" , "~> 0.3"
12
+ gem "logger" , "~> 1.7"
Original file line number Diff line number Diff line change 3
3
specs:
4
4
addressable (2.8.6 )
5
5
public_suffix (>= 2.0.2 , < 6.0 )
6
+ base64 (0.3.0 )
6
7
bigdecimal (3.1.8 )
7
8
bigdecimal (3.1.8-java )
8
9
chef-utils (17.9.26 )
9
10
concurrent-ruby
10
11
colorator (1.1.0 )
11
12
concurrent-ruby (1.2.3 )
13
+ csv (3.3.5 )
12
14
em-websocket (0.5.3 )
13
15
eventmachine (>= 0.12.9 )
14
16
http_parser.rb (~> 0 )
18
20
ffi (1.17.0-arm64-darwin )
19
21
ffi (1.17.0-java )
20
22
ffi (1.17.0-x86_64-linux-gnu )
21
- ffi-compiler (1.3.2 )
22
- ffi (>= 1.15.5 )
23
- rake
24
23
forwardable-extended (2.6.0 )
25
24
google-protobuf (4.27.5 )
26
25
bigdecimal
27
26
rake (>= 13 )
28
27
google-protobuf (4.27.5-arm64-darwin )
29
28
bigdecimal
30
29
rake (>= 13 )
31
- google-protobuf (4.27.5-java )
32
- bigdecimal
33
- ffi (~> 1 )
34
- ffi-compiler (~> 1 )
35
- rake (>= 13 )
36
30
google-protobuf (4.27.5-x86_64-linux )
37
31
bigdecimal
38
32
rake (>= 13 )
68
62
listen (3.9.0 )
69
63
rb-fsevent (~> 0.10 , >= 0.10.3 )
70
64
rb-inotify (~> 0.9 , >= 0.9.10 )
65
+ logger (1.7.0 )
71
66
mdl (0.11.0 )
72
67
kramdown (~> 2.3 )
73
68
kramdown-parser-gfm (~> 1.1 )
@@ -118,7 +113,10 @@ PLATFORMS
118
113
x86_64-linux
119
114
120
115
DEPENDENCIES
116
+ base64 (~> 0.3 )
117
+ csv (~> 3.3 )
121
118
jekyll (~> 4.2 )
119
+ logger (~> 1.7 )
122
120
mdl (~> 0.11.0 )
123
121
rake (~> 13.0 )
124
122
rdoc (~> 6.4 )
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'jekyll' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV [ "BUNDLE_GEMFILE" ] ||= File . expand_path ( "../Gemfile" , __dir__ )
12
+
13
+ bundle_binstub = File . expand_path ( "bundle" , __dir__ )
14
+
15
+ if File . file? ( bundle_binstub )
16
+ if File . read ( bundle_binstub , 300 ) . include? ( "This file was generated by Bundler" )
17
+ load ( bundle_binstub )
18
+ else
19
+ abort ( "Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again." )
21
+ end
22
+ end
23
+
24
+ require "rubygems"
25
+ require "bundler/setup"
26
+
27
+ load Gem . bin_path ( "jekyll" , "jekyll" )
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env ruby
2
+
3
+ require "fileutils"
4
+
5
+ APP_ROOT = File . expand_path ( ".." , __dir__ )
6
+
7
+ def system! ( *args )
8
+ system ( *args , exception : true )
9
+ end
10
+
11
+ FileUtils . chdir APP_ROOT do
12
+ puts "=== Installing dependencies ==="
13
+ system ( "bundle check" ) || system! ( "bundle install" )
14
+ end
You can’t perform that action at this time.
0 commit comments