dyndoc-ruby-core 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dyndoc/base/tmpl/manager.rb +9 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b458bd7c16ef26b9361c0b2e6e0a28bfd8467d9
|
4
|
+
data.tar.gz: 5263964be35e96beefa1a4acd2ecd18a41e7f93c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57adc2f421d5c32fa08a898f43e7d58e8a0c76a93fabf4490a91e18b5f7b83fd6c46ae36001b7f88a926fd8f34efe28d3b22958ac771c06453adf984859fef73
|
7
|
+
data.tar.gz: 42cb61b354ee200d68a4c102a89992b24c4605471b89ec021ee0ed81c981a1874345d01a624930045fde99bc5737a7313207a26ddb554c4fe6b2c8ddc4d30911
|
@@ -43,9 +43,16 @@ module Dyndoc
|
|
43
43
|
|
44
44
|
# Maybe better located inside server.rb
|
45
45
|
def TemplateManager.initR
|
46
|
+
## THIS IS JUST IMPOSSIBLE SINCE RUBY USES HOME TO EXPAND PATH
|
47
|
+
## NEEDS TO FIND AN ALTERNATIVE SOLUTION: R_LIBS_USER
|
46
48
|
# For windows! R now change HOME variable by appending "/Documents" at the end. Ruby does not do that!
|
47
|
-
if RUBY_PLATFORM =~ /mingw/ and !(File.exist? File.join(ENV["HOME"],"R","win-library"))
|
48
|
-
ENV["HOME"] += "/Documents"
|
49
|
+
if RUBY_PLATFORM =~ /mingw/ and !(File.exist? File.join(ENV["HOME"],"R","win-library")) and (File.exist? File.join(ENV["HOME"],"Documents","R","win-library"))
|
50
|
+
##ENV["HOME"] += "/Documents"
|
51
|
+
if ENV["R_LIBS_USER"]
|
52
|
+
puts "Warning (dyndoc): R_LIBS_USER already in use by dyndoc. Fix that by calling inside dyndoc .libPaths(\"#{ENV['R_LIBS_USER']}\")")
|
53
|
+
end
|
54
|
+
ENV["R_LIBS_USER"]=Dir[File.join(ENV["HOME"],"Documents","R","win-library","*")][-1]
|
55
|
+
## RMK: if R_LIBS_USER already exist then the second solution
|
49
56
|
end
|
50
57
|
|
51
58
|
first=require "R4rb" #save if it the first initialization!
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dyndoc-ruby-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CQLS
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: configliere
|