I worked around the problem like this:
- Set rvm to use Ruby 2.2.2 and Rails 4.2.4.
- Download
https://codeload.github.com/catprintlabs/reactive-record/zip/master
Edited reactive-record-master/Gemfile
to read:
gem 'reactive-ruby'
gem 'opal'
gem 'opal-browser'
gem 'react-rails'
cd reactive-record-master/spec/test_app
bundle install
rails server
This seemed to work.
Then, I made a new Rails 4.2.4 project. Adding only gem 'reactive-record'
to the Gemfile resulted in the same error. Then I made the Gemfile read:
gem 'reactive-ruby'
gem 'opal'
gem 'opal-browser'
gem 'react-rails'
gem 'reactive-record'
And voila, rails server
works!
Hope this helps someone else.