Sha256: 0e4411d732a1e03d7eb8c3ba957a322b50b684c402e2dc36a3508f3c322dcf5f

Contents?: true

Size: 582 Bytes

Versions: 1

Compression:

Stored size: 582 Bytes

Contents

# frozen_string_literal: true

require 'irb'

# Make the original file system classes available in IRB.
::IRB::File = ::File
::IRB::FileUtils = ::FileUtils
::IRB::Dir = ::Dir
::IRB::Pathname = ::Pathname

# We need to setup IRB early, because the setup process itself requires locale files.
# Otherwise we'll get an error from Budler
#   Bundler::GemspecError: The gemspec for GEM_NAME was missing or broken.
#     Try running `gem pristine GEM_NAME -v GEM_VERSION` to fix the cached spec.
# because file sytem in bundler is stubbed.
IRB.setup(binding.source_location[0], argv: [])

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fakefs-3.0.0 lib/fakefs/irb.rb