Skip to content

Instantly share code, notes, and snippets.

@antelio
Forked from qbrossard/gist:6150277
Last active February 1, 2019 13:00
Show Gist options
  • Save antelio/563e54745ed30a3d7d5d72f3e4d4582c to your computer and use it in GitHub Desktop.
Save antelio/563e54745ed30a3d7d5d72f3e4d4582c to your computer and use it in GitHub Desktop.
Basic setup for a vagrant box with jruby for JRuby on Rails development
# vagrant config for jruby rails dev.
# prereqs: vagrant + virtualbox installed
# ubuntu box
vagrant init bento/ubuntu-18.10
# login
vagrant ssh
# java setup
sudo apt-get install default-jdk -y
# rvm + jruby
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -L https://get.rvm.io | bash -s stable --ruby=jruby --gems=rails,puma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment