These are chat archives for opal/opal
Opal.use_gem 'aasm'... while I have been developing this, I just stuck the line in my rails application.rb file. Is there someplace this line should go in the gem so that the gem will work regardless of what is using it?
Opal.use_gem 'aasm' unless RUBY_ENGINE == 'opal'
if RUBY_ENGINE != 'opal'. The body of that
ifblock won't even be compiled. I don't know if using the postfix
unlesshas the same optimization.
opal -Oce 'unless RUBY_ENGINE == "opal"; puts 5; end'