Sha256: dbcd8a4ec0ef85ad69c1029d575843f2ca8a0144aa50095a27491db186a3ded0

Contents?: true

Size: 741 Bytes

Versions: 24

Compression:

Stored size: 741 Bytes

Contents

#!/usr/bin/env ruby

begin
  require 'rib/runner'
  # create the shell before app to prvent your bundler (if any) kicks in
  Rib.shell
  # we need to require anything before loading the app,
  # and both `rib auto` (true) and `rib-auto` (nil) should work
  require 'rib/core' if Rib.config.delete(:mimic_irb) != false
  require 'rib/app/rest-core'
  # load the app
  Rib::RestCore.load
  Rib::Runner.run(ARGV)
rescue LoadError => e
  abort("Error: #{e}\n"                                        \
        "Please install rib to use interactive rest-core:\n\n" \
        "    gem install rib\n\n"                              \
        "Or add rib or rest-core to Gemfile if that's the case")
end

__END__
Run as interactive rest-core client

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
rest-more-3.4.0 bin/rib-rest-core
rest-more-3.3.4 bin/rib-rest-core
rest-more-3.3.3 bin/rib-rest-core
rest-more-3.3.2 bin/rib-rest-core
rest-more-3.3.1 bin/rib-rest-core
rest-more-3.3.0 bin/rib-rest-core
rest-more-3.2.0 bin/rib-rest-core
rest-more-3.1.0 bin/rib-rest-core
rest-more-3.0.0 bin/rib-rest-core
rest-more-2.0.4 bin/rib-rest-core
rest-more-2.0.3 bin/rib-rest-core
rest-more-2.0.2 bin/rib-rest-core
rest-more-2.0.0 bin/rib-rest-core
rest-more-1.0.2 bin/rib-rest-core
rest-more-1.0.1 bin/rib-rest-core
rest-more-1.0.0 bin/rib-rest-core
rest-more-0.8.0 bin/rib-rest-core
rest-more-0.7.2.1 bin/rib-rest-core
rest-more-0.7.2 bin/rib-rest-core
rest-core-0.7.0 bin/rib-rest-core