Skip to content

Instantly share code, notes, and snippets.

@fixlr
Last active February 23, 2023 06:50
Show Gist options
  • Save fixlr/3b140722aaa56944b1bbccc41a95eb32 to your computer and use it in GitHub Desktop.
Save fixlr/3b140722aaa56944b1bbccc41a95eb32 to your computer and use it in GitHub Desktop.
# frozen_string_literal: true
require 'bundler/inline'
gemfile(true, quiet: true) do
source 'https://rubygems.org'
gem 'grape', path: '.'
gem 'zeitwerk'
end
require 'zeitwerk'
Zeitwerk::Loader.for_gem
puts "Loaded #{Grape::Types::InvalidValue.name}"
puts "Loaded #{Grape::Validations::Types::InvalidValue.name}"
# frozen_string_literal: true
require 'bundler/inline'
gemfile(true, quiet: true) do
source 'https://rubygems.org'
gem 'grape', path: '.'
gem 'zeitwerk'
end
require 'zeitwerk'
Zeitwerk::Loader.for_gem
puts "Loaded #{Grape::Validations::Types::InvalidValue.name}"
puts "Loaded #{Grape::Types::InvalidValue.name}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment