Reputation: 5430
I am new in Linux. I am using Ubuntu to install Grails. I am following this command --
sudo add-apt-repository ppa:groovy-dev/grails
sudo apt-get update
sudo apt-get install grails-ppa
But When I try to install Grails 2.2.3 it automatically load 2.1.2 version.
sudo apt-get install grails 2.2.3
When I run this command, it install grails 2.1.2 version. I am not getting any idea how to upgrade my grails version to 2.2.3.
I am using java-6-openjdk-amd64
because java-7 is giving H2 db error with grails 2.1.2
Please help...
Upvotes: 0
Views: 2827
Reputation: 93223
Install GVM
sudo apt get install curl
curl -s get.gvmtool.net | bash
restart terminal , then :
gvm install grails 2.2.3
gvm use grails 2.2.3
if you want permanently use a version, instead of gvm use
run gvm default
;
gvm default grails 2.2.3
Upvotes: 6
Reputation: 122374
It appears that the PPA currently (19th July 2013) only goes up to 2.2.0. If you want a later version you'll need to download the standard zip distribution or use a tool like GVM rather than installing using apt-get.
Upvotes: 3