# Jsc 0.2.2 released

**URL:** <https://www.ruby-forum.com/t/jsc-0-2-2-released/184401>\
**Category:** Ruby\
**Created:** [March 1, 2010, 11:19pm UTC](https://www.ruby-forum.com/t/jsc-0-2-2-released/184401 "2010-03-01T23:19:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davide\_Saurino](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ed655f/32.png) [@Davide\_Saurino](https://www.ruby-forum.com/u/Davide_Saurino)\
**Post date:** [March 1, 2010, 11:19pm UTC](https://www.ruby-forum.com/t/jsc-0-2-2-released/184401/1 "2010-03-01T23:19:27Z")

</div>

Hello everybody!

I’m happy to announce jsc, the Javascript Compiler.

With jsc you can compile your JavaScript code throught Google Closure  
Compiler REST service[1].

== Install

Run:

[sudo] gem install jsc

or get source from [GitHub - sub/jsc: Ruby API to Google Closure Compiler Web service](http://github.com/sub/jsc)

== Samples of usage

Get compiled code, if no errors are found:  
jsc compiled\_code.js

Just check for errors:  
jsc errors.js -e

Run jsc --help for more info about allowed options.

== Flymake

For GNU Emacs users, jsc provides a flymake[2] compatible output. So you  
can use  
jsc+flymake to have a syntax check tool running in the background while  
editing  
javascript files:

- how-to configure emacs: [http://wiki.github.com/sub/jsc/flymake](http://wiki.github.com/sub/jsc/flymake)
- screenshot: [http://img130.imageshack.us/img130/8382/jscflymake.png](http://img130.imageshack.us/img130/8382/jscflymake.png)

Feedback and suggestions are welcome 🙂

## Cheers,

Davide Saurino  
Fork me on GitHub [sub (Davide Saurino) · GitHub](http://github.com/sub/)  
Follow me on [http://twitter.com/fitzkarraldo](http://twitter.com/fitzkarraldo)

[1] [Closure Compiler &nbsp;|&nbsp; Google for Developers](http://code.google.com/closure/compiler/)  
[2] [EmacsWiki: Fly Make](http://www.emacswiki.org/emacs/FlyMake)
