Skip to content

Instantly share code, notes, and snippets.

@sobstel
Created February 10, 2011 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sobstel/821275 to your computer and use it in GitHub Desktop.
Save sobstel/821275 to your computer and use it in GitHub Desktop.
hirb and wirble configuration
# Source: http://sinatra.inf.ug.edu.pl/rails4/konfiguracja
# File: ~/.irbc
require 'rubygems'
require 'wirble'
require 'hirb'
Wirble.init
Wirble.colorize
Hirb.enable
if ENV.include?('RAILS_ENV') && !Object.const_defined?('RAILS_DEFAULT_LOGGER')
require 'logger'
RAILS_DEFAULT_LOGGER = Logger.new(STDOUT)
end
# For rails3 apps
# File: Gemfile
group :development do
gem 'hirb'
gem 'wirble'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment