meh` changed the topic of #opal to: http://opalrb.org - Ruby runtime and library on top of Javascript | 1.0.0 is near | This channel is logged at https://botbot.me/freenode/opal/
adambeynon has quit [Ping timeout: 272 seconds]
lacrosse has quit [Ping timeout: 272 seconds]
adambeynon has joined #opal
lectrick has quit [Ping timeout: 272 seconds]
lacrosse has joined #opal
pebble` has quit [Ping timeout: 272 seconds]
lectrick has joined #opal
pebble` has joined #opal
dimaursu16 has quit [Ping timeout: 264 seconds]
ryanstout_ has joined #opal
ryanstout has quit [Ping timeout: 255 seconds]
ryanstout_ is now known as ryanstout
dimaursu16 has joined #opal
seamon has quit [Quit: Zzzzzzz]
j_mcnally has joined #opal
Zackio has quit [Ping timeout: 264 seconds]
Zackio has joined #opal
e_dub has quit [Quit: It's a hard knock life]
e_dub has joined #opal
ryanstout has quit [Quit: ryanstout]
bcavileer has quit [Ping timeout: 260 seconds]
bcavileer has joined #opal
elia has joined #opal
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wmnnd has joined #opal
wmnnd has quit [Client Quit]
wmnnd_ has joined #opal
wmnnd_ is now known as wmnnd
elia has quit [Read error: Connection reset by peer]
elia has joined #opal
<wmnnd> Hey there, is there any documentation on how to set up source maps with Opal? I have a run Opal::Server.new.source_maps
<wmnnd> in my config.ru but it doesn't seem to do much. When trying to access the .map file, the browser gets a 404 error.
<adambeynon> hi wmnnd
<adambeynon> are you working off master, or a gem release?
<wmnnd> adambeynon: Hey there :-) I am using the latest gem.
meh` has joined #opal
BlapecOool has joined #opal
BlapecOol has quit [Ping timeout: 260 seconds]
BlapecOool is now known as BlapecOol
elia has quit [Quit: Computer has gone to sleep.]
<wmnnd> Trying to figure out how this might work is really frustrating. Time for lunch break!
davispuh has joined #opal
elia has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
<wmnnd> This is how I am currently trying to get the source maps: http://pastebin.com/PqgzAvNr ('client' is the path where my Opal applicatoin resides)
elia has joined #opal
<wmnnd> Opal:Server seems to require debug to be set in order to output sourcemaps. But how do I do that with Opal::Environment?
<wmnnd> Or do you have to use the same Opal::Environment for serving both the JS files and the source maps?
grios has joined #opal
<wmnnd> Now I've also figured out that the Opal::Processors used in my environment have source_map_enabled set to true (which is not surprising because it's the default)
<wmnnd> But how on earth can they be accessed?
<wmnnd> I can also see that $OPAL_SOURCE_MAPS is populated. But they still cannot be accessed.
e_dub has quit [*.net *.split]
e_dub has joined #opal
e_dub has quit [Ping timeout: 244 seconds]
<wmnnd> Now that I have upgraded to the master branch from the gem, it can't even compile my program anymore. This is not a good day.
<wmnnd> requires with relative paths don't seem to work anymore, all of a sudden.
<wmnnd> Now it has become even weirder. With the current master version, there is only one "sourcemap" and it looks like this: http://pastebin.com/SSi5gWGm
wmnnd has quit [Quit: leaving]
_elia has joined #opal
<_elia> wmnnd, I'm here, reading through, will explain in a while
elia has quit [Ping timeout: 268 seconds]
wmnnd has joined #opal
<wmnnd> _elia: Thank you :-) I have to leave now but I'll read the logs if you respond something :-)
wmnnd has quit [Client Quit]
<_elia> k
<_elia> well, basically sourcemaps in 0.6 only works for individual files (sprockets debug mode)
<_elia> in 0.6 all sprockets stuff relies on Opal::Processor flags
<_elia> so in order to have them working you need to both have sprockets in debug mode and source maps enabled in the processor
<_elia> master:
<_elia> in master source maps are WIP (ok, broken)
<_elia> so if you switched to master hoping for better sourcemaps support you're out of luck :)
<_elia> sprockets on the other hand will have sourcemaps support in some future release (4.0 probably) and that would solve everything and also make our sourcemaps support less hackish
j_mcnall_ has joined #opal
_elia has quit [Quit: Computer has gone to sleep.]
j_mcnall_ is now known as j_mcnally
fkchang has joined #opal
seamon has joined #opal
j_mcnally has quit [Ping timeout: 276 seconds]
Insti has quit [Ping timeout: 245 seconds]
j_mcnally has joined #opal
grios has quit [Quit: grios]
seamon has quit [Quit: Zzzzzzz]
fkchang has quit [Ping timeout: 276 seconds]
seamon has joined #opal
seamon has quit [Client Quit]
seamon has joined #opal
seamon has quit [Client Quit]
Insti has joined #opal
dimaursu16 has quit [Remote host closed the connection]
seamon has joined #opal
seamon has quit [Quit: Zzzzzzz]
seamon has joined #opal
Kilo`byte has quit [Ping timeout: 240 seconds]
Kilo`byte has joined #opal
seamon has quit [Quit: Zzzzzzz]
seamon has joined #opal
j_mcnally has quit [Quit: さよなら]
fkchang has joined #opal
seamon has quit [Quit: Zzzzzzz]
meh` has quit [Ping timeout: 245 seconds]
meh` has joined #opal