ruby - Opal is completely broken? -


i've been totally unsuccessful in getting opal work.

when try embed in sinatra server using tutorial here or example code here, undefined method 'source_maps' #<opal::server:0x8b11540>. when use updated code linked @ bottom of this post, uninitialized constant opal::sprockets::sourcemapheaderpatch.

so, abandon sinatra , try using opal in rack app instead, using own example here. , totally blank webpage.

finally, follow tutorial here to letter, , again blank page in browser.

so, doing wrong? or opal broken appears?

(oh, , that's not mentioning 2 serious out-of-bounds bugs in rescue block in parse() in opal/parser.rb kill chance of debugging error)

the documentation needs updated , versioned.

but 0.8 rc1 seems pretty stable , has working examples here (including source maps).

keep in mind source maps kinda hacked sprockets , rack setup them working isn't trivial.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -