hypernova icon indicating copy to clipboard operation
hypernova copied to clipboard

Rails 5.1 Support

Open hin101 opened this issue 7 years ago • 3 comments

Does Hypernova support Rails 5.1? I have tried to setup server side rendering but my node server doesn't respond.

hin101 avatar Feb 16 '18 00:02 hin101

I don't see why not? Are you getting any errors?

goatslacker avatar Feb 16 '18 00:02 goatslacker

I'm not getting any errors, the server is just blank even with debugging turned on.

hin101 avatar Feb 16 '18 01:02 hin101

@hin101 running smoothly rails 5.1.5 + ruby 2.5.0 in here.

the server is just blank even with debugging turned on

👆 Probably you missed something.

on hypernova server devMode: true

then on rails server hypernova.rb

require 'hypernova'
require 'hypernova/plugins/development_mode_plugin'

Hypernova.add_plugin!(DevelopmentModePlugin.new)

Hypernova.configure do |config|
  config.host = 'localhost'
  config.port = 3030
end

after doing above, if there is a problem it should come out red box from hypernova on the browser

agungyuliaji avatar Feb 26 '18 18:02 agungyuliaji