From 8969f1eb1e8c26f8494012e4c18d0781baeaaa7d Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Fri, 26 Jul 2024 08:53:21 -0400 Subject: Remove Gemfiles and use inline bundler instead --- Gemfile | 6 ------ Gemfile.lock | 24 ------------------------ Makefile | 2 +- wruby.rb | 6 ++++++ 4 files changed, 7 insertions(+), 31 deletions(-) delete mode 100644 Gemfile delete mode 100644 Gemfile.lock 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') -- cgit v1.2.3-54-g00ecf