README.md in rack-env-0.1.1 vs README.md in rack-env-0.1.2
- old
+ new
@@ -24,37 +24,37 @@
## Usage
### Rails
-```
+```ruby
group :development, :test do
gem 'rack-env'
end
```
### Rack App (such as sinatra)
-```
+```ruby
# app.rb
require 'rack/env'
use Rack::Env
```
* Enable to specified file to load.
-```
+```ruby
# app.rb
require 'rack/env'
use Rack::Env, envfile: 'somewhere/to/.env.development'
```
* Use only local development
-```
+```ruby
# app.rb
require 'rack/env'
-use Rack::Env if ENV['RACK_ENV'] != 'production'
+use Rack::Env unless ENV['RACK_ENV'] == 'production'
```
## Contributing
1. Fork it