Envjs rubygem 0.1.1

envjs rubygem version 0.1.1 has been released!

The envjs rubygem is a port of the env.js project based on the Johnson
gem. The env.js project provides a mostly pure javascript implementation
of the browser environment (e.g., the HTML DOM objects). More details on
env.js are available at GitHub - thatcher/env-js: A pure-JavaScript browser environment..

The original target of env.js was the Rhino javascript interpreter
written in Java. The envjs gem uses the SpiderMonkey interpreter written
in C/C++ via the Johnson gem.

The 0.1 release branch of the envjs gem is not integrated with the Java
version. The 1.0 release branch will be.

To install envjs, you may need to manually install a prerelease of the
johnson gem, e.g.,

gem install johnson --prerelease

Because it’s a prerelease version of the gem, you may need to manually
install gem dependencies. The gem install will tell you if you need to.
After that, you can install envjs with a normal “gem install envjs”.

Simple examples are in the README at GitHub - smparkes/env-js: A pure-JavaScript browser environment with early rubygem support..

Hi, does johnson prerelease still not compile with 1.9,1?

Thanks,

Cheers,
Ed

Ed Howland

http://twitter.com/ed_howland

Hi,

Works great if you change
require ‘johnson/tramonkey’ to
require ‘johnson/tracemonkey’

in the REASME file.

Cheers,
Ed

Ed Howland

http://twitter.com/ed_howland

Works great if you change
require ‘johnson/tramonkey’ to
require ‘johnson/tracemonkey’

Fixed. Thanks.

On Feb 12, 2010, at Feb 12,7:35 PM , Ed Howland wrote:

Hi, does johnson prerelease still not compile with 1.9,1?

No, it doesn’t. It’s pretty dependent at this point on C extension stuff
that changed a fair amount between 1.8 and 1.9.