https://github.com/cldwalker/ripl-rails
alternative to script/console using ripl
https://github.com/cldwalker/ripl-rails
Last synced: about 1 year ago
JSON representation
alternative to script/console using ripl
- Host: GitHub
- URL: https://github.com/cldwalker/ripl-rails
- Owner: cldwalker
- License: mit
- Created: 2010-11-01T07:54:36.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2014-02-08T19:43:12.000Z (over 12 years ago)
- Last Synced: 2024-10-31T10:42:17.540Z (over 1 year ago)
- Language: Ruby
- Size: 180 KB
- Stars: 11
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
- Changelog: CHANGELOG.rdoc
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
== Description
This provides an alternative to script/console and a ripl Rails plugin to be reused with
app-specific shells. Compatible with Rails 2.3.x, Rails 3.x and Rails 4.x.
== Install
Install the gem with:
gem install ripl-rails
== Setup
Add ripl-rails to your Gemfile:
gem 'ripl-rails', :require => 'ripl/rails'
== Executable Usage
$ ripl rails
Loading development environment (Rails 3.2.8)
# Interact with your usual console methods: app, reload!, controller, helper
>> ...
== Plugin Usage
The ripl plugin can be used to create Rails app-specific shells:
require 'ripl'
require 'ripl/rails'
# App specific setup
Ripl.start
== Credits
* janlelis
* wuputah