Project

load_rails

0.0
No release in over a year
Load the Rails environment for access in your application.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 7.0.2.3
= 3.11.0
= 1.26.0
= 0.9.27
 Project Readme

LoadRails

LoadRails is a Gem that helps you add the Rails Environment to your project.

It works from any directory inside a Rails project by traversing the tree until it finds the system root.

Example usage:

require 'load_rails'

LoadRails.load

Goals

I created this Gem because I was creating a CLI to interact with Rails that was not a Rails Plugin. I saw different patterns on how to include the Rails ENV and figured I would make a standard approach I could reuse simply.

Contribute

Pull requests and or feedback are welcome.