Color coded environment tags in rails console
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead of AnkurGel:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
bazinga.gemspec

README.md

Bazinga

Inspired by marco-polo, Bazinga gives color-coded tags of your Rails app name and environment in console, to prevent devs' bad karma to balance on production.

Installation

Add this line to your Rails project's Gemfile:

gem 'bazinga'

And then execute:

$ bundle

Usage

Just run rails console.
dev staging

ENV

Set STELLA_ENV for Bazinga to determine true environment

Pipeline

  • Add support for pry-rails
  • Prevent sql write queries in production.

Contributing

  1. Fork it ( https://github.com/AnkurGel/bazinga/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request