Skip to content

Instantly share code, notes, and snippets.

@codingfoo
Created January 20, 2014 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codingfoo/8531290 to your computer and use it in GitHub Desktop.
Save codingfoo/8531290 to your computer and use it in GitHub Desktop.
Modify default rails server port
#config/boot.rb
require 'rails/commands/server'
module Rails
class Server
alias :default_options_alias :default_options
def default_options
default_options_alias.merge!(:Port => 3014)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment