Skip to content

Commit 2684552

Browse files
authored
Add warning on production env
1 parent 4c1f7c5 commit 2684552

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ An opinionated Rails generator to configure your [`decidim`](https://github.com/
77
Add this gem to your Gemfile:
88

99
```ruby
10-
gem "decidim-deploy-heroku", git: "https://github.com/codegram/decidim-deploy-heroku.git"
10+
group :development do
11+
gem "decidim-deploy-heroku", git: "https://github.com/codegram/decidim-deploy-heroku.git"
12+
end
1113
```
1214

1315
Run `bundle install` and then run the gem generator:
@@ -16,3 +18,9 @@ Run `bundle install` and then run the gem generator:
1618
bundle install
1719
bundle exec rails g decidim:deploy:heroku_installer
1820
```
21+
22+
Once the last command is performed you can uninstall the gem by removing it from the `Gemfile` and rerun `bundle install`.
23+
24+
### Problems on production
25+
26+
This gem is not supposed to be deployed to a production environment and might fail. See [\#3](https://github.com/codegram/decidim-deploy-heroku/issues/3) for an example of this problem. If you encounter this problem, make sure you have removed the gem for the `Gemfile` and rerun `bundle install` to copletely remove it from the bundle.

0 commit comments

Comments
 (0)