async-rs / async.rs

Website for async-std

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

async-std Join the chat on Discord

The official async-std website. Based on the rom-rb website, originally created by @angeloashmore.

Editing content

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.

Build Instructions

  1. Install gem dependencies:

    bundle install
  2. Install node dependencies:

    npm install

    or

    yarn
  3. Serve locally at http://localhost:4567:

    bundle exec middleman server

    or build to /build:

    bundle exec middleman build

Windows Instructions

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.

About

Website for async-std


Languages

Language:SCSS 60.6%Language:Ruby 24.2%Language:Slim 12.0%Language:JavaScript 3.1%Language:Shell 0.1%