This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
4 Replies Last post: Jun 25, 2013 8:06 AM by Oleg Sukhodolsky  
Boris Od Newbie 2 posts since
May 6, 2013
Currently Being Moderated

May 6, 2013 5:17 PM

How to run Thin with --ssl and debugger

Hi,

 

I am running a Thin server and it works great when I run it with the debugger.

 

Now I need to run it with the --ssl option.

 

When I run 'thin start --ssl' from the command line it works fine,

but when I add it to the server arguments in the run configuration it does not know how to parse it.

 

How do I configure this to work?

 

Thank You!

Jan Jezek Newbie 5 posts since
Jun 20, 2013
Currently Being Moderated
Jun 21, 2013 3:30 PM in response to: Boris Od
Re: How to run Thin with --ssl and debugger

yes, an answer will be very useful...

Oleg Sukhodolsky JetBrains 803 posts since
Apr 4, 2012
Currently Being Moderated
Jun 23, 2013 11:18 AM in response to: Jan Jezek
Re: How to run Thin with --ssl and debugger

The answer is there is no easy way because we do not run thin server with "thin" command but run "rails" with thin server and I see no way to pass

server-specific options in this case   Perhaps you could create appropriate environment for this case and use it.

 

Regards, Oleg.

Jan Jezek Newbie 5 posts since
Jun 20, 2013
Currently Being Moderated
Jun 24, 2013 12:34 PM in response to: Oleg Sukhodolsky
Re: How to run Thin with --ssl and debugger

And also no workaround such a "Ruby Script" in Run/Debug Configurations or something similar?

 

:-/

 

best regards

Oleg Sukhodolsky JetBrains 803 posts since
Apr 4, 2012
Currently Being Moderated
Jun 25, 2013 8:06 AM in response to: Jan Jezek
Re: How to run Thin with --ssl and debugger

Welll, I think you can run thin using some custom run configuration ("Ruby Script" should work here), but, imho, it is better to use custom environment since it is more "rails' ways"

 

Oleg.

More Like This

  • Retrieving data ...