0.0
No commit activity in last 3 years
No release in over 3 years
this module let you have super easy to configurate way for rails defaults. if you set anything with this, than starting rails with 'rails s'/'rails server' will use your preset behaviors
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
>= 0
 Project Readme

rails-defaults

Ruby modul for Rails to Patch default used server / port , etc

Examples for use

    require 'rails-defaults'

    RailsDefaults.port          3003
    RailsDefaults.server        :puma
    RailsDefaults.environment   :development

or you can use the hash input way with the options/opts call

    require 'rails-defaults'

    RailsDefaults.opts port:    3210,
                       server:  :puma,
                       env: :development

now you can use simple rails start up like 'rails s' || 'rails server'