Created
May 25, 2014 15:27
-
-
Save kofno/165d77a13e48f3290cbc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% irb | |
irb(main):001:0> require 'opal' | |
=> true | |
irb(main):002:0> Opal.use_gem 'prawn' | |
=> ["/Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/opal", "/Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/stdlib", "/Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib", "/Users/ryan/.gem/ruby/2.0.0/gems/ttfunk-1.1.1/lib", "/Users/ryan/.gem/ruby/2.0.0/gems/pdf-core-0.2.5/lib", "/Users/ryan/.gem/ruby/2.0.0/gems/prawn-1.0.0/lib"] | |
irb(main):003:0> Opal.process 'prawn' | |
RegexpError: invalid multibyte escape: /[\x00-\x19\x80-\xff]/ | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/literal.rb:53:in `initialize' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/literal.rb:53:in `new' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/literal.rb:53:in `compile' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/base.rb:43:in `compile_to_fragments' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/compiler.rb:186:in `process' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/base.rb:103:in `expr' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/arglist.rb:14:in `block in compile' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/arglist.rb:12:in `each' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/arglist.rb:12:in `compile' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/base.rb:43:in `compile_to_fragments' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/compiler.rb:186:in `process' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/base.rb:103:in `expr' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/call.rb:51:in `compile' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/base.rb:43:in `compile_to_fragments' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/compiler.rb:186:in `process' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/nodes/base.rb:103:in `expr' | |
... 143 levels... | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:93:in `build_asset' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:287:in `find_asset' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:61:in `find_asset' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/bundled_asset.rb:16:in `initialize' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:377:in `new' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:377:in `build_asset' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:94:in `block in build_asset' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/caching.rb:51:in `cache_asset' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:93:in `build_asset' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:287:in `find_asset' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:61:in `find_asset' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/environment.rb:75:in `find_asset' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:295:in `[]' | |
from /Users/ryan/.gem/ruby/2.0.0/gems/opal-0.6.2/lib/opal/sprockets/environment.rb:10:in `process' | |
from (irb):3 | |
from /Users/ryan/.rubies/ruby-2.0.0-p353/bin/irb:12:in `<main>'irb(main):004:0> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem 'opal' | |
gem 'prawn' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment