Sha256: 5a5509666a1d36727355abdc506d886bfc944608f716fd1c25e73a817a5ad474

Contents?: true

Size: 1.06 KB

Versions: 9

Compression:

Stored size: 1.06 KB

Contents

# ENV['RAILS_ENV']  = (ENV['RAILS_ENV'] || 'development').dup
# # RAILS_ROOT isn't defined yet, so figure it out.
# rails_root_dir = "."
# SOLR_PATH = "#{File.dirname(File.expand_path(__FILE__))}/../solr" unless defined? SOLR_PATH
# 
# SOLR_LOGS_PATH = "#{rails_root_dir}/log" unless defined? SOLR_LOGS_PATH
# SOLR_PIDS_PATH = "#{rails_root_dir}/tmp/pids" unless defined? SOLR_PIDS_PATH
# SOLR_DATA_PATH = "#{rails_root_dir}/solr/#{ENV['RAILS_ENV']}" unless defined? SOLR_DATA_PATH
# 
# unless defined? SOLR_PORT
#   config = YAML::load_file(rails_root_dir+'/config/solr.yml')
#   
#   SOLR_PORT = ENV['PORT'] || URI.parse(config[ENV['RAILS_ENV']]['url']).port
# end
# 
# SOLR_JVM_OPTIONS = config[ENV['RAILS_ENV']]['jvm_options'] unless defined? SOLR_JVM_OPTIONS
# 
# if ENV['RAILS_ENV'] == 'test'
#   DB = (ENV['DB'] ? ENV['DB'] : 'mysql') unless defined?(DB)
#   MYSQL_USER = (ENV['MYSQL_USER'].nil? ? 'root' : ENV['MYSQL_USER']) unless defined? MYSQL_USER
#   require File.join(File.dirname(File.expand_path(__FILE__)), '..', 'test', 'db', 'connections', DB, 'connection.rb')
# end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
onemorecloud-websolr-rails-1.3.3 config/solr_environment.rb
onemorecloud-websolr-rails-1.4.0 config/solr_environment.rb
onemorecloud-websolr-rails-1.4.1 config/solr_environment.rb
onemorecloud-websolr-rails-1.4.6 config/solr_environment.rb
onemorecloud-websolr-rails-1.4.5 config/solr_environment.rb
onemorecloud-websolr-rails-1.4.4 config/solr_environment.rb
websolr-rails-1.4.4 config/solr_environment.rb
onemorecloud-websolr-rails-1.4.3 config/solr_environment.rb
websolr-rails-1.4.3 config/solr_environment.rb