mirror of
https://github.com/cliffe/HacktivityLabSheets.git
synced 2026-02-21 11:18:09 +00:00
Refactor Gemfile and Gemfile.lock for webrick handling and cleanup
- Removed conditional webrick gem inclusion from Gemfile, clarifying its necessity for local development with Ruby 3.2+. - Updated Gemfile.lock to remove unnecessary architecture-specific ffi and nokogiri entries, streamlining dependencies. - Added webrick installation command in start-server-github-pages.sh for local development compatibility.
This commit is contained in:
8
Gemfile
8
Gemfile
@@ -19,8 +19,6 @@ gem 'wdm', '~> 0.1.1', :platforms => [:mingw, :x64_mingw, :mswin]
|
||||
# do not have a Java counterpart.
|
||||
gem 'http_parser.rb', '~> 0.6.0', :platforms => [:jruby]
|
||||
|
||||
# Add webrick for Ruby 3.2+ compatibility (local development only)
|
||||
# GitHub Pages uses Ruby 3.1.7 which doesn't need this gem
|
||||
if RUBY_VERSION >= "3.2.0"
|
||||
gem 'webrick', '~> 1.7'
|
||||
end
|
||||
# Note: webrick is needed for local development with Ruby 3.2+
|
||||
# but GitHub Pages (Ruby 3.1.7) doesn't need it
|
||||
# This is handled in the start-server-github-pages.sh script
|
||||
|
||||
Reference in New Issue
Block a user