
|
If you were logged in you would be able to see more operations.
|
|
|
|
Blacklight is currently not falling back properly on net_http when curb is not present. If the curb gem is not installed then Blacklight fails to start. Even though the code called within a begin block with a rescue block, it still fails to start with script/server.
In vendor/plugins/blacklight/lib/blacklight.rb I monkey patched the following code to work around this:
begin
#require 'curb'
#Blacklight.solr.adapter.connector.adapter_name = :curb
Blacklight.solr.adapter.connector.adapter_name = :net_http
rescue
# sticking with Net::HTTP
end
|
|
Description
|
Blacklight is currently not falling back properly on net_http when curb is not present. If the curb gem is not installed then Blacklight fails to start. Even though the code called within a begin block with a rescue block, it still fails to start with script/server.
In vendor/plugins/blacklight/lib/blacklight.rb I monkey patched the following code to work around this:
begin
#require 'curb'
#Blacklight.solr.adapter.connector.adapter_name = :curb
Blacklight.solr.adapter.connector.adapter_name = :net_http
rescue
# sticking with Net::HTTP
end |
Show » |
|