Socket
Book a DemoInstallSign in
Socket

springboard

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

springboard

1.1.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

Springboard

Makes it dead simple to run elasticsearch from your rails project. No external dependencies except java. Just bundle and go!

Note this is not recommended for use in production environments. Use a real elasticsearch deployment there. Only use this for development purposes.

Installation

Add this line to your application's Gemfile:

gem 'springboard'

And then execute:

$ bundle

Or install it yourself as:

$ gem install springboard

Versioning

Springboard uses elasticsearch version numbers so you can require specific elasticsearch versions in your Gemfile. Create an issue or pull request if you need a version of the gem with a particular elasticsearch version.

Subsequent Springboard releases for the same version will add a version specifier to the end of the version, eg 0.18.7.1.

Usage

This gem packages up the elasticsearch binary distribution with a ruby gem binary on top. It add a config path parameter to the elasticsearch binary. This makes it easier to put a relative config path on the command line:

springboard -c config/elasticsearch -f

All other parameters are passed through to the normal elasticsearch start script.

Note that you almost always want to specify -c. Without it the default elasticsearch configs are used and your data/logs will go into the gem path, almost certainly not what you want.

You can run elasticsearch from a Procfile:

es: bundle exec springboard -c config/elasticsearch -f

A rails generator for elasticsearch config files is included. Run:

rails g springboard:config

to install a sane development config in config/elasticsearch.

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Added some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

FAQs

Package last updated on 02 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.