These are chat archives for opal/opal

24th
Jun 2015
Forrest Chang
@fkchang
Jun 24 2015 03:11
@jaredcwhite awesome, what's the new cutoff time, coz I sure can use it. SOrry about the sickness
Pierre-Alexandre Kofron
@kofronpi
Jun 24 2015 10:06
Hi, I'd like to give a try to Opal. I could install it with rvm and ruby 2.2.1 but not ruby 2.2.2
@ λ ~ (master)$ gem install opal
ERROR: Error installing opal:
invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /home/*/.rvm/gems/ruby-2.2.2/cache/opal-0.7.2.gem
Elia Schito
@elia
Jun 24 2015 10:07
@kofronpi seems a rubygems problem
try removing the cache: cd ~/.rvm/gems/ruby-2.2.2/cache; rm opal-0.7.2.gem
Pierre-Alexandre Kofron
@kofronpi
Jun 24 2015 11:17
@elia thanks that did the trick !
Elia Schito
@elia
Jun 24 2015 11:17
:+1:
Jared White
@jaredcwhite
Jun 24 2015 14:39
@fkchang Been getting to bed earlier these days (kids, work, etc. takes its toll) so probably around 8pm PT tonight.
CJ Lazell
@cj
Jun 24 2015 20:52
do source maps work now?
setting the opal server debug to true doesn’t appear to do anything
Adam Beynon
@adambeynon
Jun 24 2015 20:56
@cj running master branch? or gem release?
CJ Lazell
@cj
Jun 24 2015 20:56
yep
I’m running off of master
@adambeynon here’s my middleware https://gist.github.com/42d8ea8c5bc4653b9f56
Elia Schito
@elia
Jun 24 2015 21:13
@cj here's an example on how to use the server with sourcemaps in a more low-level way: https://github.com/opal/opal/blob/master/examples/sinatra/config.ru
@adambeynon you had a chance to see this yet? opal/opal-rails#51
I ran with opal collapsed to a single file during the last months and it's great for development, I'm wondering if it's worth supporting it in opal-rails or in the opal processor directly
CJ Lazell
@cj
Jun 24 2015 21:16
@elia thank you
@elia @adambeynon roda has great asset handling, you might get some good ideas from it https://github.com/jeremyevans/roda/blob/master/lib/roda/plugins/assets.rb