Setting up the Ruby dev environment on Mavericks
... should work on Yosemite as well. Add a comment here if you find any problems.
Why would I want to do that?
- You want to run guard
- You want use Sublime plugins (like RSpec or Guard plugins)
|# This hosts file is brought to you by Dan Pollock and can be found at|
|# You are free to copy and distribute this file for non-commercial uses,|
|# as long the original URL and attribution is included.|
|class API::V1::BaseController < ApplicationController|
|headers['Access-Control-Allow-Origin'] = '*'|
|headers['Access-Control-Allow-Methods'] = 'POST, GET, PUT, DELETE, OPTIONS'|