I am trying to execute the command "jspec install envjs" and this
returns a 404 error for me. I was wondering if and how I can solve
this so I get the correct env.js file for rhino to do jQuery testing.
Cheers,
-Mark
What is the error?
Thanks..
- Rune
Sorry for the late reply, this is what I get:
mac:FW4.me marknijhof$ jspec install envjs --trace
Installing envjs (========.................) %33
/opt/local/lib/ruby/1.8/open-uri.rb:277:in `open_http': 404 Not Found
(OpenURI::HTTPError)
from /opt/local/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
from /opt/local/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
from /opt/local/lib/ruby/1.8/open-uri.rb:162:in `catch'
from /opt/local/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
from /opt/local/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
from /opt/local/lib/ruby/1.8/open-uri.rb:518:in `open'
from /opt/local/lib/ruby/1.8/open-uri.rb:30:in `open'
from /opt/local/lib/ruby/gems/1.8/gems/jspec-4.2.0/src/installables.rb:71:in
`install'
from /opt/local/lib/ruby/gems/1.8/gems/jspec-4.2.0/src/installables.rb:70:in
`open'
from /opt/local/lib/ruby/gems/1.8/gems/jspec-4.2.0/src/installables.rb:70:in
`install'
from /opt/local/lib/ruby/gems/1.8/gems/jspec-4.2.0/src/project.rb:68:in `send'
from /opt/local/lib/ruby/gems/1.8/gems/jspec-4.2.0/src/project.rb:68:in
`install'
from /opt/local/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/user_interaction.rb:227:in
`progress'
from /opt/local/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/user_interaction.rb:227:in
`each'
from /opt/local/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/user_interaction.rb:227:in
`progress'
from /opt/local/lib/ruby/gems/1.8/gems/jspec-4.2.0/src/project.rb:65:in
`install'
from /opt/local/lib/ruby/gems/1.8/gems/jspec-4.2.0/bin/jspec:70
from /opt/local/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:180:in
`call'
from /opt/local/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:180:in
`call'
from /opt/local/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:155:in
`run'
from /opt/local/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/runner.rb:385:in
`run_active_command'
from /opt/local/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/runner.rb:74:in
`run!'
from /opt/local/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/delegates.rb:7:in
`run!'
from /opt/local/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/import.rb:10
-Mark
> --
> JSpec thanks you for your interest and support! To post simply reply
> to this email.
>
> documentation: http://jspec.info
> unsubscribe: jspec+un...@googlegroups.com
> group: http://groups.google.com/group/jspec
>
--
Mark Nijhof
Cre8ive Thought
m: 0047 95 00 99 37
e: mark....@cre8ivethought.com
w: www.cre8ivethought.com
Cheers,
-Mark
-Mark
On Tue, Apr 13, 2010 at 2:04 PM, Mark Nijhof
To unsubscribe, reply using "remove me" as the subject.
-Mark
-Mark
On Tue, Apr 13, 2010 at 6:54 PM, Mark Nijhof
So to automate that I would use the --server option? Or is manual the
preferred option?
When I try running the server I get the following error:
mac:FW4.me marknijhof$ jspec run --server --port 9753 --trace
Use server.rb to alter anything you like, provide routes, browser support, etc
error: undefined local variable or method `host' for
Sinatra::Application:Class. Use --trace to view backtrace
I tried adding --host, but that wasn't it :) any pointers would be appreciated.
-Mark
On Tue, Apr 13, 2010 at 7:58 PM, vision media [ Tj Holowaychuk ]