ports/www/tdiary/files/patch-Gemfile
Yasuhiro Kimura 91f3ff141c www/tdiary: Fix runtime error with Ruby 3.4
Our lang/ruby34 port doesn't include base64 gem. So
* Add converters/rubygem-base64 to RUN_DEPENDS.
* Add "gem 'base64'" to Gemfile.

While here, add 'ruby' to USES as tDiary is written in Ruby.
2025-04-20 12:20:39 +09:00

38 lines
965 B
Text

--- Gemfile.orig 2024-02-29 06:16:41 UTC
+++ Gemfile
@@ -7,34 +7,4 @@ gem 'rake'
gem 'emot'
gem 'mail'
gem 'rake'
-
-group :development do
- gem 'pit', require: false
- gem 'racksh', require: false
- gem 'redcarpet'
- gem 'octokit'
- gem 'mime-types'
-
- group :test do
- gem 'test-unit'
- gem 'rspec'
- gem 'capybara', require: 'capybara/rspec'
- gem 'date', '>= 3.1.1' # for compatibility of capybara
- gem 'selenium-webdriver'
- gem 'launchy'
- gem 'sequel'
- gem 'sqlite3'
- gem 'jasmine', '< 3'
- gem 'simplecov', require: false
- gem 'coveralls', '~> 0.8', require: false
- gem "rexml"
- gem "webrick"
- end
-end
-
-# https://github.com/redmine/redmine/blob/master/Gemfile#L89
-local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
-if File.exist?(local_gemfile)
- puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v`
- instance_eval File.read(local_gemfile)
-end
+gem 'base64'