Adds current Rails env and Apartment tenant to prompt
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
rails_env_prompt.gemspec

README.md

RailsEnvPrompt

Adds current Rails env and Apartment tenant to prompt.

Before:

2.5.1 :001 >

After:

development/tenant-123 001:0>

The current tenant is only included if Apartment is available

Installation

Add this line to your application's Gemfile:

gem 'rails_env_prompt'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rails_env_prompt

Usage

None. Just include and go.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rvanlieshout/rails_env_prompt.