¶ ↑
DescriptionThis 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.
¶ ↑
InstallInstall the gem with:
gem install ripl-rails
¶ ↑
SetupAdd 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 UsageThe ripl plugin can be used to create Rails app-specific shells:
require 'ripl' require 'ripl/rails' # App specific setup Ripl.start
¶ ↑
Credits-
janlelis
-
wuputah