Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Getting an error in Johnson's env.js
Vikas Maskeri
5/5/2009 6:30:00 AM
Hi,
I am trying to use Johnson gem to run javascript without a browser. But
the env.js gives me an exception which looks like this
/var/lib/gems/1.8/gems/johnson-1.1.0/lib/johnson/spidermonkey/runtime.rb:58:in
`native_compile': illegal character at (none):12 (Johnson::Error)
from
/var/lib/gems/1.8/gems/johnson-1.1.0/lib/johnson/spidermonkey/runtime.rb:58:in
`compile'
from
/var/lib/gems/1.8/gems/johnson-1.1.0/lib/johnson/spidermonkey/runtime.rb:42:in
`evaluate'
from /var/lib/gems/1.8/gems/johnson-1.1.0/lib/johnson/runtime.rb:21:in
`evaluate'
from test1.rb:802
from
/var/lib/gems/1.8/gems/nokogiri-1.2.3/lib/nokogiri/xml/node_set.rb:140:in
`each'
from
/var/lib/gems/1.8/gems/nokogiri-1.2.3/lib/nokogiri/xml/node_set.rb:139:in
`upto'
from
/var/lib/gems/1.8/gems/nokogiri-1.2.3/lib/nokogiri/xml/node_set.rb:139:in
`each'
from /var/lib/gems/1.8/gems/taka-0.0.1/lib/taka/dom/node_list.rb:9:in
`send'
from /var/lib/gems/1.8/gems/taka-0.0.1/lib/taka/dom/node_list.rb:9:in
`method_missing'
from test1.rb:800
Any idea on whats wrong here?
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Getting an error in Johnson's env.js
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password