💻 `rails console` for your Rack applications
MIT License
This release fixes a minor issue where an additional LoadError from attempting to load Pry would be printed in the console when any other exception occurs and is meant for applications still on older versions of Rack.
Published by davidcelis 5 months ago
This release fixes a minor issue where an additional LoadError
from attempting to load Pry would be printed in the console when any other exception occurs.
Published by davidcelis about 2 years ago
Adds support for Rack 3.
Published by davidcelis over 10 years ago
app.get('/')
app.post('/', { param: value })
app.put('/', {}, { 'HTTP_HEADER' => value })
ENV['RACK_CONSOLE_PREAMBLE'] = "Loading #{Rails.env} environment (Rails #{Rails::VERSION})"
Published by davidcelis over 10 years ago
reload!
functionality-r
(or --require
) option to require a file or library before Rack::Console starts-I
(or --include
) option to add colon-separated paths to the $LOAD_PATH
before Rack::Console startsRack::Console
to be initialized as opposed to calling .start
on the class directly. It is initialized with an options hash that the rack-console
binary will parse out of ARGV
.Published by davidcelis over 10 years ago
rack-console
executable for easy access to a Rack console.Published by davidcelis over 10 years ago
require 'rack/builder'
was not enough for Rack::Console
to function.Published by davidcelis over 10 years ago