Sha256: 39ae5b20799534e2c82dea81c80a2e6cd43a56d17e09fbcf8e28d3a405b746b0

Contents?: true

Size: 1.24 KB

Versions: 3

Compression:

Stored size: 1.24 KB

Contents

# solargraph-rails-init

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

This was inspired by [Setting up Solargraph for VSCode](https://www.youtube.com/watch?v=mkLDPpDSWng).


## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/cmer/solargraph-rails-init.


## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solargraph-rails-init-0.2.2 README.md
solargraph-rails-init-0.2.1 README.md
solargraph-rails-init-0.2.0 README.md