Sha256: bedd4742004b20acb6040cbdc5a48bc625a352a03e96d919814193fa35207587

Contents?: true

Size: 1.41 KB

Versions: 84

Compression:

Stored size: 1.41 KB

Contents

Ruby CoffeeScript
=================

Ruby CoffeeScript is a bridge to the official CoffeeScript compiler.

    CoffeeScript.compile File.read("script.coffee")


Installation
------------

    gem install coffee-script

*Note: This compiler library has replaced the original CoffeeScript
 compiler that was written in Ruby.*


Dependencies
------------

This library depends on the `coffee-script-source` gem which is
updated any time a new version of CoffeeScript is released. (The
`coffee-script-source` gem's version number is synced with each
official CoffeeScript release.) This way you can build against
different versions of CoffeeScript by requiring the correct version of
the `coffee-script-source` gem.

In addition, you can use this library with unreleased versions of
CoffeeScript by setting the `COFFEESCRIPT_SOURCE_PATH` environment
variable:

    export COFFEESCRIPT_SOURCE_PATH=/path/to/coffee-script/extras/coffee-script.js

### JSON

The `json` library is also required but is not explicitly stated as a
gem dependency. If you're on Ruby 1.8 you'll need to install the
`json` or `json_pure` gem. On Ruby 1.9, `json` is included in the
standard library.

### ExecJS

The [ExecJS](https://github.com/sstephenson/execjs) library is used to automatically choose the best JavaScript engine for your platform. Check out its [README](https://github.com/sstephenson/execjs/blob/master/README.md) for a complete list of supported engines.

Version data entries

84 entries across 84 versions & 16 rubygems

Version Path
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/coffee-script-2.4.1/README.md
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/coffee-script-2.4.1/README.md
arcabouco-0.2.13 vendor/bundle/gems/coffee-script-2.4.1/README.md
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/coffee-script-2.4.1/README.md
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/coffee-script-2.4.1/README.md
classiccms-0.7.5 vendor/bundle/gems/coffee-script-2.2.0/README.md
classiccms-0.7.4 vendor/bundle/gems/coffee-script-2.2.0/README.md
classiccms-0.7.3 vendor/bundle/gems/coffee-script-2.2.0/README.md
solidus_backend-1.0.0.pre3 vendor/bundle/gems/coffee-script-2.4.1/README.md
solidus_backend-1.0.0.pre2 vendor/bundle/gems/coffee-script-2.4.1/README.md
scoot-0.0.4 .bundle/gems/ruby/2.2.0/gems/coffee-script-2.4.1/README.md
solidus_backend-1.0.0.pre vendor/bundle/gems/coffee-script-2.4.1/README.md
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/coffee-script-2.2.0/README.md
coffee-script-2.4.1 README.md
coffee-script-2.4.0 README.md
coffee-script-2.3.0 README.md
coffee-react-0.2.0 README.md
mango-0.8.0 vendor/bundler/ruby/2.1.0/gems/coffee-script-2.2.0/README.md
mango-0.7.1 vendor/bundler/ruby/2.0.0/gems/coffee-script-2.2.0/README.md
mango-0.7.0 vendor/bundler/ruby/2.0.0/gems/coffee-script-2.2.0/README.md