Sha256: ffcda73b1a820e0f6c4407791e8b39766ad2bdc58ed45ef9057af75914f4aba1

Contents?: true

Size: 551 Bytes

Versions: 6

Compression:

Stored size: 551 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
fakefs-2.8.0 lib/fakefs/irb.rb
fakefs-2.7.1 lib/fakefs/irb.rb
fakefs-2.7.0 lib/fakefs/irb.rb
fakefs-2.6.0 lib/fakefs/irb.rb
fakefs-2.5.0 lib/fakefs/irb.rb
fakefs-2.4.0 lib/fakefs/irb.rb