<commit_before># A Virtual Machine for Ruby on Rails Core Development

## Introduction

This project automates the setup of a development environment for Ruby on Rails core development. This is the easiest way to build a box with everything ready to start hacking on your pull request, all in an isolated virtual machine.

## Requirements

### VirtualBox

The virtual machine runs on top of [VirtualBox](https://www.virtualbox.org).

### Vagrant

We use [Vagrant](http://vagrantup.com) to build and provision the virtual machine:

    gem install vagrant

## How To Build The Virtual Machine

Building the virtual machine is this easy:

    git clone https://github.com/rails/rails-dev-box.git
    cd rails-dev-box
    vagrant up

That's it.

This initial setup takes about 3 minutes in my MacBook Air. Once the installation has finished, you can access the virtual machine with

    vagrant ssh

Port 3000 in the host computer is forwarded to port 3000 in the virtual machine. Thus, applications running in the virtual machine can be accessed via localhost:3000 in the host computer.

## What's In The Box

* Git

* Ruby 1.9.3

* Bundler
<commit_msg>documents that the base box is fetched automatically if needed<commit_after># A Virtual Machine for Ruby on Rails Core Development

## Introduction

This project automates the setup of a development environment for Ruby on Rails core development. This is the easiest way to build a box with everything ready to start hacking on your pull request, all in an isolated virtual machine.

## Requirements

### VirtualBox

The virtual machine runs on top of [VirtualBox](https://www.virtualbox.org).

### Vagrant

We use [Vagrant](http://vagrantup.com) to build and provision the virtual machine:

    gem install vagrant

## How To Build The Virtual Machine

Building the virtual machine is this easy:

    git clone https://github.com/rails/rails-dev-box.git
    cd rails-dev-box
    vagrant up

That's it.

If the base box is not present that command fetches it first. The setup itself takes about 3 minutes in my MacBook Air. After the installation has finished, you can access the virtual machine with

    vagrant ssh

Port 3000 in the host computer is forwarded to port 3000 in the virtual machine. Thus, applications running in the virtual machine can be accessed via localhost:3000 in the host computer.

## What's In The Box

* Git

* Ruby 1.9.3

* Bundler

{'fraction_non_alphanumeric': 0.05514096185737977, 'fraction_numerical': 0.013266998341625208, 'mean_word_length': 3.894523326572008, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7403149', 'n_tokens_mistral': 670, 'n_tokens_neox': 614, 'n_words': 343}