Vagrant image for Ruby and ROR developers. Vagrant uses Oracle’s VirtualBox or VMware to build configurable, lightweight, and portable virtual machines dynamically.
RWprecise64 contains:
- RVM with compiled ruby 1.9.3-p484, 2.0.0-p353, jruby-1.7.9
- MySQL 5.5.32 and PostgreSQL 9.3.1
- Redis 2.6.16 and Memcached 1.4.13
- Dev libs for pg, mysql2, rmagick, curb and another gems
- Install Oracle’s VirtualBox
- Install Vagrant
- Next just execute in terminal:
$ vagrant box add rwprecise64 http://rwprecise64.catware.org/0.1.4/rwprecise64.box
- MySQL:
- root/vagrant
- vagrant/vagrant
- PostgreSQL:
- postgres/vagrant
- vagrant/vagrant
Basic setup of image:
$ vagrant init rwprecise64
$ vagrant up
Now you can use ssh to login into environment:
$ vagrant ssh
Suspending the environment:
$ vagrant suspend
To resume working:
$ vagrant resume
Halting the environment:
$ vagrant halt
Destroying the environment:
$ vagrant destroy
Ports form this list are forwarded by default:
3000 => 3100
1080 => 1180
NOTICE: if you'll start mailcatcher gem and want to see mailcatcher inbox from outside – don't forget to use --ip
option.
Box setuped by Chef-Solo. For creating package you can use command:
$ vagrant package --output rwprecise64.box --vagrantfile Vagrantfile.box