Skip to content

Instantly share code, notes, and snippets.

@krists
Last active August 29, 2015 14:18
Show Gist options
  • Save krists/55e801bf95a6d9b4b81f to your computer and use it in GitHub Desktop.
Save krists/55e801bf95a6d9b4b81f to your computer and use it in GitHub Desktop.
RoR Power Vagrant box for Ruby projects

Install notes

  1. Download Vagrant box from https://onedrive.live.com/redir?resid=9c863f656a51c19b%2159142
  2. Add downloaded file to usable boxes with command:
  • vagrant box add centos-6.6-ror-power.v1.0 centos-6.6-ror-power.v1.0.box
  1. Initialize Vagrant into your project
  • vagrant init centos-6.6-ror-power.v1.0
  1. Replace VagrantFile with recommended configuration optimized for speed:
Vagrant.configure(2) do |config|
  config.vm.box = "centos-6.6-ror-power.v1.0"
  config.vm.network "forwarded_port", guest: 3000, host: 3000, auto_correct: true
  config.vm.network 'private_network', ip: '192.168.88.2' # ensure this is available
  config.ssh.forward_agent = true
  config.vm.synced_folder ".", "/home/vagrant/project", nfs: true
  config.vm.provider "virtualbox" do |vb|
    vb.memory = 2048
    vb.cpus = 2
  end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment