https://github.com/dotenvx/dotenvx-ruby
[dotenvx.com] a better dotenv–from the creator of `dotenv`
https://github.com/dotenvx/dotenvx-ruby
dotenvx
Last synced: about 1 year ago
JSON representation
[dotenvx.com] a better dotenv–from the creator of `dotenv`
- Host: GitHub
- URL: https://github.com/dotenvx/dotenvx-ruby
- Owner: dotenvx
- License: bsd-3-clause
- Created: 2024-10-18T17:19:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-07T23:19:05.000Z (over 1 year ago)
- Last Synced: 2025-05-01T02:48:46.429Z (about 1 year ago)
- Topics: dotenvx
- Language: Ruby
- Homepage: https://dotenvx.com/mods
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
> [!IMPORTANT]
>
> Warning: work in progress. until complete, please use [github.com/dotenvx/dotenvx](https://github.com/dotenvx/dotenvx) directly.
>
> see [ruby examples](https://dotenvx.com/docs/languages/ruby)
>
---
[](https://dotenvx.com)
*a better dotenv*–from the creator of [`dotenv`](https://github.com/motdotla/dotenv).
* run anywhere (cross-platform)
* multi-environment
* encrypted envs
### Quickstart [](https://badge.fury.io/rb/dotenvx)
Install and use it in code just like `dotenv`.
```sh
gem install dotenvx
```
```ruby
# index.rb
require "dotenvx/load"
puts "Hello #{ENV["HELLO"]}"
```