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!

4 comments

yes, an answer will be very useful...

0

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.

0

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

:-/

best regards

0

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.

0

Please sign in to leave a comment.