rmosolgo / react-rails-hot-loader

Live-reload React.js components with Ruby on Rails & react-rails
MIT License
88 stars 26 forks source link

Hot loader breaks rails generate when using phusion passenger server #9

Open pineapplethief opened 8 years ago

pineapplethief commented 8 years ago

running any rails g command gives me following error:

/home/vagrant/.rvm/gems/ruby-2.2.3@leasing/gems/react-rails-hot-loader-0.5.0/lib/hot_loader/railtie.rb:19:in `block in <class:Railtie>': undefined method `on_event' for PhusionPassenger:Module (NoMethodError)
rmosolgo commented 8 years ago

Bummer! Could you share the lines for Phusion Passenger from your Gemfile.lock? (I wonder if we're using different versions, that's what I use too and it works ok for me!)

pineapplethief commented 8 years ago

@rmosolgo Sure, I'm using version 5.0.26