GithubHelp home page GithubHelp logo

Comments (12)

fkchang avatar fkchang commented on September 27, 2024 1

@zw963 True. Haven't been working with opal for a while - are you still working with it? Might start again as an app that uses Opal might need updating

from opal-irb.

zw963 avatar zw963 commented on September 27, 2024

Following is error messge:

Bundler could not find compatible versions for gem "opal":
  In snapshot (Gemfile.lock):
    opal (= 0.10.3)

  In Gemfile:
    opal-rails was resolved to 0.9.2, which depends on
      opal-activesupport (>= 0.0.5) was resolved to 0.3.0, which depends on
        opal (< 1.0.0, >= 0.5.0)

    opal-irb was resolved to 0.8.1, which depends on
      opal (~> 0.8.0)

    opal-irb was resolved to 0.8.1, which depends on
      opal-jquery (~> 0.4.0) was resolved to 0.4.2, which depends on
        opal (< 0.11.0, >= 0.7.0)

    opal-rails was resolved to 0.9.2, which depends on
      opal (< 0.11, >= 0.8.0)

    opal-rails was resolved to 0.9.2, which depends on
      opal-sprockets (~> 0.4.0) was resolved to 0.4.0.0.10.0.3.0.0, which depends on
        opal (~> 0.10.0)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

from opal-irb.

fkchang avatar fkchang commented on September 27, 2024

Hi @zw963 - I'll try to get to this as soon as possible

from opal-irb.

zw963 avatar zw963 commented on September 27, 2024

Thanks, maybe I could help you about refactor some ruby code.

compare to ruby community style, this project is a little specially ... : )

from opal-irb.

fkchang avatar fkchang commented on September 27, 2024

@zw963 it would be appreciated, opal-irb is due for a lot of maintenance, I just haven't been able to find time

from opal-irb.

zw963 avatar zw963 commented on September 27, 2024

@fkchang , I try to create a PR to refine Ruby code.

It should be safe, could work as well as before.

from opal-irb.

fkchang avatar fkchang commented on September 27, 2024

@zw963 wow, that's fast. Thanks. On rubocop, I'm generally fine w/many of the defaults. The one that don't agree with is that blocks should always be do end when > than one line. While I follow the '' vs "" rule, I don't particularly like it, I've been bitten in changing strings to have interpolation or not, to think it doesn't really bring value to me

from opal-irb.

zw963 avatar zw963 commented on September 27, 2024

@fkchang ,

he one that don't agree with is that blocks should always be do end when > than one line.

Fine, I agree a lot, especially, write many js forks. (though, I write js less)

I don't particularly like it, I've been bitten in changing strings to have interpolation or not, to think it doesn't really bring value to me

Because opal-irb support emacs binding, so I think you use emacs? with some library, change this
, just one hotkey, I binding to Ctrl+', If you don't like , we can keep no changed, tough, escape things some a little anoise ...

BTW: If you don't like some config, you can create ~/.rubocop, to disabled or change it default value.

from opal-irb.

zw963 avatar zw963 commented on September 27, 2024

Oh, for this issue, I have make opal-irb worked with my Rails 5.0.2 project production with some simple hack, so, i think just some gemspec to update dependency version things.

from opal-irb.

fkchang avatar fkchang commented on September 27, 2024

@zw963 yeah, I have the quotes changing binding, I accept rubocop suggestion because it's easy to toggle in emacs, but I have been bitten in that I forgot to change it back to double quotes and then don't get the interpolation desired. Again, I think I prepare consistency here, don't think, just always do "", but I've gotten used to it. I should make a project .rubocop

from opal-irb.

fkchang avatar fkchang commented on September 27, 2024

@zw963 Re: gettting it to work w/Rails 5.0.2 -it's likely that is all that's needed, what I'll end up doing is changing the gemspec and then testing. Unfortunately, I need more tests, and some things I could not figure out how to test (like require_js) short of trying by hand. I guess I could add some selenium type tests. If lucky, it's just a gemspec update, I have needed to change code between opal versions

from opal-irb.

zw963 avatar zw963 commented on September 27, 2024

Oops, this repo never updated since 2017 ...

from opal-irb.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.