Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

websolr-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

websolr-rails

  • 2.4.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= websolr-rails

This overrides acts_as_solr or Sunspot to use the value of the environment variable WEBSOLR_URL as the Solr Search server, provided that it's defined.

After installing the gem, you can include websolr-rails in your app by either starting the webapp like:

WEBSOLR_URL=http://index.websolr.com/solr/ ./script/server

Or, you can put the following in /environment/production.rb, or an initializer, etc:

production.rb

ENV["WEBSOLR_URL"] = "http://index.websolr.com/solr/"

WEBSOLR_URL must already be defined.

require "websolr-rails"

== Semantic Versioning

This library obeys the definition of "Semantic Versioning" at http://semver.org/. YMMV with its dependencies.

== Copyright

Copyright (c) 2009 Kyle Maxwell. See LICENSE for details.

FAQs

Package last updated on 06 Jan 2010

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc