fix
This commit is contained in:
parent
65b96b9fdc
commit
19b2afcab1
|
@ -22,6 +22,7 @@ puts 'copying module'
|
||||||
check_texts = '<%= javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.min.js"%>'
|
check_texts = '<%= javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.min.js"%>'
|
||||||
edit_texts = '<%= javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"%>'
|
edit_texts = '<%= javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"%>'
|
||||||
all_template.each do |folder|
|
all_template.each do |folder|
|
||||||
|
if !folder.include?('mobile')
|
||||||
if folder.split('/')[-1] != 'mobile'
|
if folder.split('/')[-1] != 'mobile'
|
||||||
begin
|
begin
|
||||||
system ('cp -r '+ app_path + '/modules/. ' + folder+'/modules/.')
|
system ('cp -r '+ app_path + '/modules/. ' + folder+'/modules/.')
|
||||||
|
@ -40,6 +41,7 @@ all_template.each do |folder|
|
||||||
f.write(texts)
|
f.write(texts)
|
||||||
f.close
|
f.close
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "cancerpredict"
|
s.name = "cancerpredict"
|
||||||
|
|
Loading…
Reference in New Issue