aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-26 09:04:45 -0400
committerBradley Taunt <bt@btxx.org>2024-07-26 09:04:45 -0400
commit489c29999b4f74827eb845db4e32f5f8fda9b470 (patch)
treeab93767cf40789540d4adafe9466dcac85927e83
parent1b0fac824b08bf52c0abfb3c3aaab9ca75559cd4 (diff)
Place inline bundler at top of file, avoids conflicts when building in prod
-rw-r--r--wruby.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/wruby.rb b/wruby.rb
index c002f0a..446d83f 100644
--- a/wruby.rb
+++ b/wruby.rb
@@ -1,3 +1,9 @@
+require 'bundler/inline'
+gemfile do
+ gem 'kramdown', '2.4.0'
+ gem 'rss', '0.3.0'
+end
+
require 'kramdown'
require 'fileutils'
require 'date'
@@ -5,12 +11,6 @@ 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')