Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

unable to install on existing project #14

Description

@34code

gems/hyper-operation-0.5.12/lib/hyper-operation/call_by_class_name.rb:57:in `method_missing': undefined method `find_asset' for nil:NilClass (NoMethodError)

when trying: rails g hyperloop:install

I was trying to follow the webpacker tutorial on the website but failed..

Activity

  1. 34code commented on Nov 5, 2017

    @34code
    Author

    I ran into a few issues since I'm not relying on active_record..

    Seems like hyperloop has a strong an active_record dependency and I wasn't able to install individual gems like hyper-component either.

    My fallback was to install the JS files and follow the JS import guides instead of the Rails guides..

  2. fzingg commented on Nov 6, 2017

    @fzingg
    Member

    For the error method_missing you got , it is a config error.
    You should have set config.eager_load = false in config/development.rb or remove hyperloop dir from eager_load.

    What do you mean by not relying on active_record and what are the issues you got.

  3. 34code commented on Nov 13, 2017

    @34code
    Author

    I tried the tutorial after updating all my gems and it appears to be working now..
    Tutorial link: http://ruby-hyperloop.org/tutorials/hyperlooprails/helloworld/

    I get some warnings but loading the components seems to be working:

    .gem/ruby/2.4.2/gems/hyper-react-0.12.7/lib/reactive-ruby/serializers.rb:1: warning: constant ::Bignum is deprecated
    .gem/ruby/2.4.2/gems/hyper-react-0.12.7/lib/reactive-ruby/serializers.rb:1: warning: constant ::Fixnum is deprecated
    
  4. catmando commented on Nov 15, 2017

    @catmando
    Contributor

    Okay lets explore having the hyperloop gem be a bit "smarter" such that if it does not detect active-record, it drops hyper-model, likewise for any other dependencies. I.e. it auto-adapts to whatever...

  5. added this to the Release 0.15 milestone on Nov 15, 2017
  6. janbiedermann commented on Nov 20, 2017

    @janbiedermann
    Contributor

    i would first favour a config.require_hyper_model = true by default, likewise for other dependencies. later on this can then be made autodetect on app start.

  7. janbiedermann commented on Nov 20, 2017

    @janbiedermann
    Contributor

    also we could make the gems not depend on each other and let the gem ‘hyperloop’ then instead include the complete set.

  8. catmando commented on Nov 20, 2017

    @catmando
    Contributor

    auto detect is no harder just do it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions