The official rom-rb website.
-
Install gem dependencies:
bundle install
-
Install node dependencies:
npm install
or
yarn
-
Serve locally at http://localhost:4567:
bundle exec middleman server
or build to
/build
:bundle exec middleman build
If you're getting the following error:
Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
or features such as Live Reload are not working then it's because the C extension for eventmachine needs to be installed.
gem uninstall eventmachine
take note of the version being used. (At the time of writing '1.2.0.1')
gem install eventmachine -v '[VERSION]' --platform=ruby
If you have a proper environment with DevKit installed then eventmachine with its C extension will be installed and everything will work fine.