When I make a new Rails project, add gem 'reactive-record'
, and run rails server
, I get a Bundler error: There was an error while trying to load the gem 'reactive-record'. (Bundler::GemRequireError)
.
What gives? I have Rails 4.2.5 and Ruby 2.1.2.
Cheers!
The latest version of the generator should work very well with the help of Mitch. We collaborated together to make a generator in order to simplify greatly the installation of react.rb and reactive-record.
You should be able to get up and running by adding to your gem file :
gem 'reactive_rails_generator'
Then do a
bundle install
and finally :
rails g reactrb:install --all bundle update
Will install you reactrb, reactive-record and reactive-router. Once installed, you can create components by doing :
rails g reactrb:component Home::Show