The official async-std
website. Based on the rom-rb website, originally created by @angeloashmore.
Feel free to send content pull requests without building the page, if you don't have Ruby installed. We're going to take it from there.
Changes to the book should directly go to async-std.
-
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.