-
-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opal::Server|SimpleServer|OpalSprocketsServer examples/ aren't working anymore #1831
Comments
@ozpos you can combine opal and sprockets by using opal-sprockets. For 0.11 should be enough to add:
Let me know if you have hard to solve bundle conflicts (I'll close the issue meanwhile). |
Been there weeks ago, just got depreciation warning saying use Would it not be quicker for all if someone could fix the examples ? |
@ozpos I've updated the example in opal-sprockets, let me know if you encounter any other broken examples (as always PRs are encouraged! 😉) |
Sorry but I do not know what PRs are and sorry but the opal-sprockets example still fails for me with.
Unfortunately I cannot find a single example that works against any version of opal above 0.10.5. This includes opal-jquery that you pointed me to in another issue. Should this be communicated under opal-sprockets #10 and #12 ? |
@ozpos the updated example is on opal-sprockets master and can be tried with these commands:
I'll publish the updated gem in the near future, meanwhile use the instructions above |
Thanks, works now. Still do not know why it did not before. I see that sprockets support has been in and out of opal and opal-sprockets throughout different versions of opal. If in future sprockets are to be used through the opal-sprockets gem then should the opal gemfile also specify
sprockets directly ? |
you should put both gem 'opal', '~> 0.11.0'
gem 'opal-sprockets' similar to the example in the opal-sprockets repo: https://github.com/opal/opal-sprockets/blob/32cde8638159a41ae10fbde2fe06f844451ff540/example/Gemfile ps. by PRs I mean pull-requests, sorry for the confusion |
Hi, Could someone please indicate where opal-11 is going w.r.t. rack/sinatra/config.ru ?
Or should I just stick with 0.10.5 stable ?
Or should I just give up all-together ?
The text was updated successfully, but these errors were encountered: