We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb405d7 commit 4cf6a7bCopy full SHA for 4cf6a7b
1 file changed
README.md
@@ -64,6 +64,16 @@ set :root, File.dirname(__FILE__)
64
register Config
65
```
66
67
+### Installing on other ruby projects
68
+
69
+Add the gem to your `Gemfile` and run `bundle install` to install it.
70
+Then initialize `Config` manually within your configure block.
71
72
+```ruby
73
+require 'config'
74
+Config.load_and_set_settings(Config.setting_files("/path/to/config_root", "your_project_environment"))
75
+```
76
77
It's also possible to initialize `Config` manually within your configure block if you want to just give it some yml
78
paths to load from.
79
0 commit comments