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.
2 parents eb405d7 + f24159b commit 3df3ebbCopy full SHA for 3df3ebb
1 file changed
README.md
@@ -64,6 +64,15 @@ 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
+Config.load_and_set_settings(Config.setting_files("/path/to/config_root", "your_project_environment"))
74
+```
75
76
It's also possible to initialize `Config` manually within your configure block if you want to just give it some yml
77
paths to load from.
78
0 commit comments