README.md in solargraph-rails-init-0.1.1 vs README.md in solargraph-rails-init-0.2.0
- old
+ new
@@ -2,24 +2,29 @@
A simple script that configures Solargraph to work with Rails. It acts as a shortcut to the following commands:
```bash
gem install solargraph
+gem install solargraph-rails --pre # if --solargraph-rails-gem is specified
solargraph download-core
yard gems
solargraph bundle
curl -s https://gist.githubusercontent.com/cmer/024991c85c4de01dab17632b2dc7f064/raw > .solargraph.yml
curl -s https://gist.githubusercontent.com/castwide/28b349566a223dfb439a337aea29713e/raw > config/definitions.rb
```
-## Installation
+## Installation & Usage
Run the following commands in your Rails app root directory:
```bash
gem install solargraph-rails-init
solargraph-rails-init
+
+# See also:
+solargraph-rails-init --help
+solargraph-rails-init --solargraph-rails-gem # also add/initialize the optional solargraph-rails gem
```
Run `solargraph-rails-init` again if you install new gems or change your Ruby version.
## Inspiration