Update perl version to work around issue with Date::Parse
Change-Id: Ie0f137a8a60c7fc121da48bad5c901b28984b32e
diff --git a/Changes b/Changes
index 871caec..405d1e0 100755
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+3.2 2020-01-16
+ - Update perl version to work around
+ issue with Date::Parse.
+
3.1 2019-12-18
- Don't run systemd with sudo
@@ -10,7 +14,6 @@
- The KorAP API is now proxied and available
under :5555 as well.
-
2.1 2018-12-13
- Updates:
- Koral: v0.32
diff --git a/README.md b/README.md
index facd3fd..952572f 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@
## Development and License
-Copyright (c) 2018-2019, [IDS Mannheim](http://ids-mannheim.de/), Germany
+Copyright (c) 2018-2020, [IDS Mannheim](http://ids-mannheim.de/), Germany
KorAP-Vagrant is developed as part of the [KorAP](http://korap.ids-mannheim.de/)
Corpus Analysis Platform at the Leibniz Institute for the German Language
diff --git a/Vagrantfile b/Vagrantfile
index a4d9e5d..2848f5d 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -127,6 +127,7 @@
###############################################
echo "Install NodeJS"
+ cd ~
# This is required unfortunately
if [ ! -e ~/tmp ]; then
mkdir ~/tmp
@@ -148,9 +149,9 @@
source ~/perl5/perlbrew/etc/bashrc
- perlbrew install -q perl-5.24.0
+ perlbrew install -q perl-5.30.1
- perlbrew switch perl-5.24.0
+ perlbrew switch perl-5.30.1
perlbrew install-cpanm
@@ -159,6 +160,9 @@
cpanm git://github.com/Akron/Mojolicious-Plugin-Localize.git
cpanm git://github.com/Akron/Mojolicious-Plugin-TagHelpers-ContentBlock.git
+ # Install Date::Parse ignoring any problems, as this is only
+ # used for testing purposes in CHI.
+ cpanm -f Date::Parse
###############################################
echo "Install Kalamar"
@@ -196,6 +200,7 @@
###############################################
# echo "Install Kalamar client-side dependencies"
+ rm -rf node_modules
npm install
grunt
@@ -255,9 +260,9 @@
User=vagrant
Type=forking
PIDFile=/home/vagrant/Kalamar/script/hypnotoad.pid
-ExecStart=/bin/bash -l -c 'MOJO_MODE=vagrant KALAMAR_API=\"http://localhost:5556/api/\" /home/vagrant/perl5/perlbrew/perls/perl-5.24.0/bin/hypnotoad /home/vagrant/Kalamar/script/kalamar'
-ExecStop=/bin/bash -l -c 'MOJO_MODE=vagrant /home/vagrant/perl5/perlbrew/perls/perl-5.24.0/bin/hypnotoad -s /home/vagrant/Kalamar/script/kalamar'
-ExecReload=/bin/bash -l -c 'MOJO_MODE=vagrant KALAMAR_API=\"http://localhost:5556/api/\" /home/vagrant/perl5/perlbrew/perls/perl-5.24.0/bin/hypnotoad /home/vagrant/Kalamar/script/kalamar'
+ExecStart=/bin/bash -l -c 'MOJO_MODE=vagrant KALAMAR_API=\"http://localhost:5556/api/\" " `dirname \\`which perl\\``"/hypnotoad /home/vagrant/Kalamar/script/kalamar'
+ExecStop=/bin/bash -l -c 'MOJO_MODE=vagrant " `dirname \\`which perl\\``"/hypnotoad -s /home/vagrant/Kalamar/script/kalamar'
+ExecReload=/bin/bash -l -c 'MOJO_MODE=vagrant KALAMAR_API=\"http://localhost:5556/api/\" " `dirname \\`which perl\\``"/hypnotoad /home/vagrant/Kalamar/script/kalamar'
killMode=process
[Install]