erichummel-sunspot 1.2.1a → 1.2.1b
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sunspot/server.rb +2 -1
- metadata +2 -2
data/lib/sunspot/server.rb
CHANGED
@@ -66,11 +66,12 @@ module Sunspot
|
|
66
66
|
command << "-Xms#{min_memory}" if min_memory
|
67
67
|
command << "-Xmx#{max_memory}" if max_memory
|
68
68
|
command << "-Djetty.port=#{port}" if port
|
69
|
-
command << "-Dsolr.data.dir=#{solr_data_dir}" if solr_data_dir
|
69
|
+
command << "-Dsolr.data.dir=#{solr_data_dir}" if solr_data_dir
|
70
70
|
command << "-Dsolr.solr.home=#{solr_home}" if solr_home
|
71
71
|
command << "-Djava.util.logging.config.file=#{logging_config_path}" if logging_config_path
|
72
72
|
command << '-jar' << File.basename(solr_jar)
|
73
73
|
FileUtils.cd(File.dirname(solr_jar)) do
|
74
|
+
puts Escape.shell_command(command)
|
74
75
|
exec(Escape.shell_command(command))
|
75
76
|
end
|
76
77
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: erichummel-sunspot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 5
|
5
|
-
version: 1.2.
|
5
|
+
version: 1.2.1b
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mat Brown
|
@@ -28,7 +28,7 @@ autorequire:
|
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
30
|
|
31
|
-
date: 2011-08-
|
31
|
+
date: 2011-08-18 00:00:00 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rsolr
|