Clone to the /var/www/vwf directory
Fixing line breaks
No need to install rails with rvm
Pretty sure the port commands aren't necessary - especially when its not already installed
Execute chmod on an absolute path rather than *

If the previous "cd" command failed for the directory not existing (which it won't for most Mac users, because the /var/www directory does not exist by default) the chmod on * could operate on any directory.
Don't install rvm as sudo - generally frowned upon

See the RVM FAQ for more info on sudo and RVM: https://rvm.io/support/faq/
Don't change the user's default ruby

The repo will automatically pick up that it is ruby 1.9.3 whenever they 'cd' into the directory.

See: https://rvm.io/workflow/projects/#ruby-versions
Refresh the rvm environment
Removing some unnecessary RVM calls
Create the /var/www directory if it doesn't exist

Does not exist by default on OS X.
Merge pull request #8 from jessmartin/patch-1

Numerous fixes to the OS X Build script