An open API service indexing awesome lists of open source software.

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`

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)
>

---

[![dotenvx](https://dotenvx.com/better-banner.png)](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 [![Gem Version](https://badge.fury.io/rb/dotenvx.svg)](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"]}"
```