aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-26 08:53:21 -0400
committerBradley Taunt <bt@btxx.org>2024-07-26 08:53:21 -0400
commit8969f1eb1e8c26f8494012e4c18d0781baeaaa7d (patch)
treeb89a45ba85b90d15f22b7aa57455ead7ad1ddc87
parent8d9092bf051865655f6919263f453832bee055a3 (diff)
Remove Gemfiles and use inline bundler instead
-rw-r--r--Gemfile6
-rw-r--r--Gemfile.lock24
-rw-r--r--Makefile2
-rw-r--r--wruby.rb6
4 files changed, 7 insertions, 31 deletions
diff --git a/Gemfile b/Gemfile
deleted file mode 100644
index beb3fe3..0000000
--- a/Gemfile
+++ /dev/null
@@ -1,6 +0,0 @@
-source 'https://rubygems.org'
-
-ruby '3.3.3'
-
-gem 'kramdown', '~> 2.4.0'
-gem 'rss', '~> 0.3.0' \ No newline at end of file
diff --git a/Gemfile.lock b/Gemfile.lock
deleted file mode 100644
index b2ffa2d..0000000
--- a/Gemfile.lock
+++ /dev/null
@@ -1,24 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- kramdown (2.4.0)
- rexml
- rexml (3.3.2)
- strscan
- rss (0.3.0)
- rexml
- strscan (3.1.0)
-
-PLATFORMS
- arm64-darwin-23
- ruby
-
-DEPENDENCIES
- kramdown (~> 2.4.0)
- rss (~> 0.3.0)
-
-RUBY VERSION
- ruby 3.3.3p89
-
-BUNDLED WITH
- 2.5.6
diff --git a/Makefile b/Makefile
index e8e197a..9d7e5a1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
build:
rm -rf build && mkdir build
- bundle exec ruby wruby.rb
+ ruby wruby.rb
clean:
rm -rf build/*
diff --git a/wruby.rb b/wruby.rb
index d4f49e6..c002f0a 100644
--- a/wruby.rb
+++ b/wruby.rb
@@ -5,6 +5,12 @@ require 'rss'
require 'find'
require 'yaml'
+require 'bundler/inline'
+gemfile do
+ gem 'kramdown', '2.4.0'
+ gem 'rss', '0.3.0'
+end
+
# Load configuration
config = YAML.load_file('_config.yml')