Low commit activity in last 3 years
A long-lived project that still receives updates
Adds current Rails env and Apartment tenant to prompt
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.16
~> 13.0
 Project Readme

RailsEnvPrompt

Adds current Rails application nane, env (with color) and Apartment tenant to prompt.

Before:

2.5.1 :001 >

After:

MyApp/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.