> On 2015-Sep-21, at 15:59 , byrnejb <[email protected]> wrote: > > in > /usr/lib64/ruby/gems/2.2.0/gems/railties-4.2.1/lib/rails/commands/server.rb > > at line 124 we see: > > url = "#{options[:SSLEnable] ? 'https' : > 'http'}://#{options[:Host]}:#{options[:Port]}" > > My question is: How does one pass the option key > :SSLEnable > > > to webrick using $ rails server in development mode (or production mode for > that matter)?
Here's how one person did (does) it: https://gist.github.com/mindscratch/5028880 <https://gist.github.com/mindscratch/5028880> After requiring the needed prerequisites, he overrides (redefines) the Rails::Server#default_options -Rob -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/E65105C0-A183-448B-8596-373FF219E8D5%40agileconsultingllc.com. For more options, visit https://groups.google.com/d/optout.

