opal / opal-browser

Browser support for Opal.
MIT License
115 stars 36 forks source link

Can't require opal-browser #30

Closed jikkujose closed 9 years ago

jikkujose commented 9 years ago

Am getting the following error while trying to build with the gem:

rake aborted!
Opal::Builder::MissingRequire: A file required by "application" wasn't found.
can't find file: "opal/browser" in ["/Users/jikku/.rvm/gems/ruby-2.1.1/gems/opal-0.7.0/opal", "/Users/jikku/.rvm/gems/ruby-2.1.1/gems/opal-0.7.0/stdlib", "/Users/jikku/.rvm/gems/ruby-2.1.1/gems/opal-0.7.0/lib", "/Users/jikku/.rvm/gems/ruby-2.1.1/gems/opal-jquery-0.3.0/lib", "/Users/jikku/.rvm/gems/ruby-2.1.1/gems/opal-browser-0.1.0.beta1/opal", "/Users/jikku/.rvm/gems/ruby-2.1.1/gems/paggio-0.2.4/lib", "/Users/jikku/Opal/conway/app"]
jikkujose commented 9 years ago

Resolved: I was able to do require 'browser' instead of require 'opal-browser'