How do I change the adapter of my ramaze app?

20 views
Skip to first unread message

desbest

unread,
Jul 26, 2017, 5:08:24 AM7/26/17
to Ramaze
I have "gem 'thin'" in my Gemfile and app.rb and in start.rb I've changed in start.rb webrick references to

    Ramaze.start(:adapter => 'thin', :port => 7000, :file => __FILE__)

    Ramaze.start(:adapter => ':thin', :port => 7000, :file => __FILE__)

And when I run "ramaze start" it still runs webrick server instead of thin.

John

unread,
Jul 27, 2017, 3:30:16 AM7/27/17
to Ramaze


So why don't you try to execute start.rb then? :-)

/pagojo

desbest

unread,
Jul 27, 2017, 6:59:34 AM7/27/17
to Ramaze
I've tried that and I get this message.

c:\mowes\www\compesh>ruby start.rb
I, [2017-07-27T11:58:38.979543 #16864]  INFO -- : ** [Raven] Raven 0.14.0 config
ured not to send errors.

And no server runs.

Michael Trommer

unread,
May 22, 2018, 5:33:50 PM5/22/18
to ram...@googlegroups.com
Try :adapter => :thin

--
You received this message because you are subscribed to the Google Groups "Ramaze" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ramaze+un...@googlegroups.com.
To post to this group, send email to ram...@googlegroups.com.
Visit this group at https://groups.google.com/group/ramaze.
For more options, visit https://groups.google.com/d/optout.

Michael Trommer

unread,
May 22, 2018, 5:34:05 PM5/22/18
to ram...@googlegroups.com
Oh, this is from 2017. Nevermind ;)
Reply all
Reply to author
Forward
0 new messages