-
Notifications
You must be signed in to change notification settings - Fork 14
unable to install on existing project #14
Comments
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 My fallback was to install the JS files and follow the JS import guides instead of the Rails guides.. |
For the error What do you mean by not relying on active_record and what are the issues you got. |
I tried the tutorial after updating all my gems and it appears to be working now.. I get some warnings but loading the components seems to be working:
|
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... |
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. |
also we could make the gems not depend on each other and let the |
auto detect is no harder just do it... |
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..
The text was updated successfully, but these errors were encountered: