Skip to content

Adds current Rails env and Apartment tenant to prompt

Notifications You must be signed in to change notification settings

rvanlieshout/rails_env_prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Adds current Rails env and Apartment tenant to prompt

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages