Skip to content

Instantly share code, notes, and snippets.

@marc0der
Created April 4, 2011 16:07
Show Gist options
  • Save marc0der/901884 to your computer and use it in GitHub Desktop.
Save marc0der/901884 to your computer and use it in GitHub Desktop.
Install Grails on Ubuntu through LaunchPad
sudo add-apt-repository ppa:groovy-dev/grails
sudo apt-get update
sudo apt-get install grails-ppa
#to add grails 2.0.x
sudo apt-get install grails 2.0.x
#to add grails 1.3.9
sudo apt-get install grails-1.3.9
#to add grails 1.2.5
sudo apt-get install grails-1.2.5
#switch between versions
sudo update-alternatives --config grails
@marc0der
Copy link
Author

marc0der commented Jul 6, 2011

Thank you!

The old bash completion script won't work anymore because it relies on GRAILS_HOME, which no longer need be set in your environment. Would it be possible to remove the bash-completion script from your package and make mine the master?

I would love to help you make your stuff a package, and we could even make it a dependency of the metapackage if you like!
That's the grails-gedit bundle right?

@aeischeid
Copy link

Yep, https://github.com/aeischeid/gedit-grails-bundle

Removing bash completion from that would be fine, though I do wonder about non Debian users a little.

@marc0der
Copy link
Author

marc0der commented Jul 7, 2011

We could exclude it from the ppa package and leave it in the original bundle.
To me it just seems like it's not really related to gedit.

@fix
Copy link

fix commented Sep 23, 2011

i guess now you have grails 2.0.0 M2, instead of M1 now

@marc0der
Copy link
Author

Yeah sorry, the was serving 2.0.0 M2 but the docs still read 2.0.0 M1.

@panique
Copy link

panique commented Nov 6, 2012

Completely useless if you need an older version. Seriously, why is this so ridicolous hard to install this on linux ? sudo apt-get install grails-1.3.9 will install 1.3.9, but after first start of grails it updates to 2.x automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment