-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ruby on Vagrant VM and related document #135
base: master
Are you sure you want to change the base?
Conversation
This is good, thank you. Is there any chance of using RVM instead of rbenv? It's what I use on the servers. It's almost identical it seems, though. btw: I'm looking into updating this for ubuntu 16:04 which would probably require compiling mapserver (and maybe gdal) using a versioned ruby. ergh. |
Thanks for the response. OK, I will try to exchange them. |
Hello, I recently changed the vagrant file to try to work with Ubuntu 16.04. And I think it will break your work, sorry. I think the provision script needs fixing also in master. However for 16.04 it needs gdal and mapserver to be manually compiled, if we are using rvm. It only needs gdal compiled if we use the system ruby. mapserver is quick to compile, gdal takes some time. However, the code should work the same with vagrant set to work with 14.04, and 14.04 is quicker to get started (no compilations) I think we might have to make two vagrant files / configs. What do you think? |
It's running on 16.04 on mapwarper.net and on my local dev machine. I think the Ruby version has been updated too - but it's not that different from 14.04. There was no code changes related to newer Ruby versions anyhow. |
Cool! Thanks for the notice. I will try with Ubuntu 16.04. The Vagrantfile below should work with all commands
|
The other idea is to provide official Map Warper Vagrant box, which includes GDAL and MapServer on Ubuntu 16.04. This seems to be a fastest way for developers to get vagrant environment. |
Related to #131 and maybe #104.
This PR adopts
rbenv
the version switcher, updates ruby and make Vagrant setup easy.