Closed html5cat closed 10 years ago
What kind of errors?
If it's the same as me, whichever language I use:
ZeroDivisionError at /
divided by 0
Ruby /Users/jeden/dev/projects/elapsus/meteor/original/DiscoverMeteorStatic/source/index.html.haml: in /, line 32
Web GET localhost/
and these are the first few lines of the traceback:
/Users/jeden/dev/projects/elapsus/meteor/original/DiscoverMeteorStatic/source/index.html.haml: in /
- percentage_done = total_done * 100 / total_todo...
/Users/jeden/dev/projects/elapsus/meteor/original/DiscoverMeteorStatic/source/index.html.haml: in block in singleton class
- percentage_done = total_done * 100 / total_todo...
/Library/Ruby/Gems/2.0.0/gems/tilt-1.4.1/lib/tilt/template.rb: in call
method.bind(scope).call(locals, &block)...
/Library/Ruby/Gems/2.0.0/gems/tilt-1.4.1/lib/tilt/template.rb: in evaluate
method.bind(scope).call(locals, &block)...
/Library/Ruby/Gems/2.0.0/gems/tilt-1.4.1/lib/tilt/haml.rb: in evaluate
OK, just pushed an update to DiscoverMeteorStatic :)
I get the following errors with the recent update:
error tmp/api/index.html
divided by 0
/Users/yurik/code/meteor/DiscoverMeteorStatic/source/api.html.erb:31:in `/'
/Users/yurik/code/meteor/DiscoverMeteorStatic/source/api.html.erb:31:in `block in singletonclass'
/Users/yurik/code/meteor/DiscoverMeteorStatic/source/api.html.erb:65531:in `instance_eval'
/Users/yurik/code/meteor/DiscoverMeteorStatic/source/api.html.erb:65531:in `singletonclass'
/Users/yurik/code/meteor/DiscoverMeteorStatic/source/api.html.erb:65529:in `__tilt_70256563534800'
....
/Users/yurik/.rvm/gems/ruby-1.9.3-p545/bin/middleman:23:in `load'
/Users/yurik/.rvm/gems/ruby-1.9.3-p545/bin/middleman:23:in `<main>'
/Users/yurik/.rvm/gems/ruby-1.9.3-p545/bin/ruby_executable_hooks:15:in `eval'
/Users/yurik/.rvm/gems/ruby-1.9.3-p545/bin/ruby_executable_hooks:15:in `<main>'
identical tmp/404/index.html
There were errors during this build
What if you just don't go to the /api
page?
Genius :+1:
Haha, that was an easy fix ;)
Tried copying contents of
DiscoverMeteor_En
into/source/chapter/en
, but getting some middleman errors. Any guide on setup would be appreciated.Thanks!