Closed zw963 closed 6 years ago
This issue is caused by react-rails
version 2.2.0, seem like this gem
only worked in react-rails
1.9 serious
After replace react-rails
into 1.9.0
, still not worked.
##########################################################################
HYPERLOOP LIBRARIES PRECOMPILING AND MINIFYING
FIRST TIME BOOTING YOUR APP IT CAN TAKE 1 OR 2 MINUTES
NB: You can force precompiling again by cleaning cache: rm -rf tmp/cache
##########################################################################
Compiling the system assets for hyperloop-loader-system-code
require 'opal'
require 'browser' # CLIENT ONLY
require 'hyperloop-config'
require 'hyper-store'
require 'react/react-source-browser'
require 'opal-jquery' # CLIENT ONLY
require 'browser/delay' # CLIENT ONLY
require 'react_ujs' # CLIENT ONLY
require 'hyper-react'
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/resolve.rb:65:in `resolve!': couldn't find file 'browser' with type 'application/javascript'
Checked in these paths:
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/opal-0.10.4/opal
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/opal-0.10.4/stdlib
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/opal-0.10.4/lib
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/opal-jquery-0.4.2/lib
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/opal-activesupport-0.3.0/opal
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/hyperloop-config-0.9.10/lib
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/hyper-store-0.2.3/lib
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/hyper-react-0.12.7/lib
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/react-rails-1.9.0/lib/assets/react-source/development-with-addons
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/hyper-react-0.12.7/lib/react-sources
/home/zw963/Xthink/sgcn/app/assets/config
/home/zw963/Xthink/sgcn/app/assets/images
/home/zw963/Xthink/sgcn/app/assets/javascripts
/home/zw963/Xthink/sgcn/app/assets/stylesheets
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/jquery-rails-4.3.1/vendor/assets/javascripts
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/opal-rails-0.9.3/lib/assets/javascripts
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/coffee-rails-4.2.2/lib/assets/javascripts
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/font-awesome-rails-4.7.0.2/app/assets/fonts
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/font-awesome-rails-4.7.0.2/app/assets/stylesheets
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/actioncable-5.1.1/lib/assets/compiled
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/actionview-5.1.1/lib/assets/compiled
/home/zw963/Xthink/sgcn/app/hyperloop
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/turbolinks-source-5.0.3/lib/assets/javascripts
/home/zw963/Xthink/sgcn/app/views
/home/zw963/Xthink/sgcn/node_modules
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/react-rails-1.9.0/lib/assets/react-source/development
/home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/react-rails-1.9.0/lib/assets/javascripts (Sprockets::FileNotFound)
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/context.rb:88:in `resolve'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:259:in `resolve_with_compat'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/context.rb:142:in `require_asset'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/opal-0.10.4/lib/opal/sprockets/processor.rb:69:in `block in process_requires'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/opal-0.10.4/lib/opal/sprockets/processor.rb:67:in `each'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/opal-0.10.4/lib/opal/sprockets/processor.rb:67:in `process_requires'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/opal-0.10.4/lib/opal/sprockets/processor.rb:48:in `evaluate'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/tilt-2.0.7/lib/tilt/template.rb:109:in `render'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/legacy_tilt_processor.rb:25:in `call'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/bundle.rb:23:in `block in call'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/utils.rb:200:in `dfs'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/bundle.rb:24:in `call'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/base.rb:66:in `find_asset'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/environment.rb:30:in `find_asset'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/base.rb:92:in `[]'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/hyperloop-config-0.9.10/lib/hyperloop/imports.rb:105:in `compile_and_compress'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/hyperloop-config-0.9.10/lib/hyperloop-loader-system.js.erb:1:in `_evaluate_template'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/erb_processor.rb:26:in `call'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/erb_processor.rb:13:in `call'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/bundle.rb:23:in `block in call'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/utils.rb:200:in `dfs'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/bundle.rb:24:in `call'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/base.rb:66:in `find_asset'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/sprockets-3.7.1/lib/sprockets/environment.rb:30:in `find_asset'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/hyperloop-config-0.9.10/lib/hyperloop/rail_tie.rb:57:in `block in <class:Railtie>'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:43:in `execute_hook'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:51:in `each'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/railties-5.1.1/lib/rails/application/finisher.rb:73:in `block in <module:Finisher>'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/railties-5.1.1/lib/rails/initializable.rb:30:in `instance_exec'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/railties-5.1.1/lib/rails/initializable.rb:30:in `run'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/railties-5.1.1/lib/rails/initializable.rb:59:in `block in run_initializers'
from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/tsort.rb:347:in `each'
from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/tsort.rb:347:in `call'
from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/railties-5.1.1/lib/rails/initializable.rb:58:in `run_initializers'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/railties-5.1.1/lib/rails/application.rb:353:in `initialize!'
from /home/zw963/Xthink/sgcn/config/environment.rb:5:in `<top (required)>'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:292:in `require'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:292:in `block in require'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:258:in `load_dependency'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:292:in `require'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/spring-2.0.2/lib/spring/application.rb:102:in `preload'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/spring-2.0.2/lib/spring/application.rb:153:in `serve'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/spring-2.0.2/lib/spring/application.rb:141:in `block in run'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/spring-2.0.2/lib/spring/application.rb:135:in `loop'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/spring-2.0.2/lib/spring/application.rb:135:in `run'
from /home/zw963/.rvm/gems/ruby-2.3.3@sgcn/gems/spring-2.0.2/lib/spring/application/boot.rb:19:in `<top (required)>'
from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `<main>'
Add opal-browser
resolve previous error.
I think we need more document ... : )
Because not worked with react-rails version 2.2.0
, so keep this issue opened.
@zw963 Instead of using only the hyper-react GEM, could you try to only use the Hyperloop GEM ? It will install all dependent GEMs needed. https://github.com/ruby-hyperloop/hyperloop
@fzingg , Sure, I know, I try Hyperloop in another project, it worked.
I just hope step to step introduce all we need in my exists project, with ease, and understood more underground details about react. Anywhy, we current use Rails 5.1.1 for server, And just want to taste React/Hyperloop in client, without change more.
And another reason not to use hyperloop is Seem like dependent some old gem, e.g. eventmachine.
I still understood a little about those tech, perhaps after a while, when more familiar with those tech, we will switch to hyperloop completely.
@zw963 Ok, great. If you need any help you can post messages in this gitter chat: https://gitter.im/ruby-hyperloop/chat
I will keep this issue open before add more document
Seem like not live development ?
Hi @zw963 its very much a live project, just a little hard to see what has gone wrong for you to help you. I have pasted my gemfile.loc below for you to fee what versions work together.
If you can post your project I am happy to have a look? Alternativly, if you joing the Gitter chat there is always someone there to help.
actioncable (5.1.1)
actionpack (= 5.1.1)
nio4r (~> 2.0)
websocket-driver (~> 0.6.1)
actionmailer (5.1.1)
actionpack (= 5.1.1)
actionview (= 5.1.1)
activejob (= 5.1.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.1.1)
actionview (= 5.1.1)
activesupport (= 5.1.1)
rack (~> 2.0)
rack-test (~> 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.1.1)
activesupport (= 5.1.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.1.1)
activesupport (= 5.1.1)
globalid (>= 0.3.6)
activemodel (5.1.1)
activesupport (= 5.1.1)
activerecord (5.1.1)
activemodel (= 5.1.1)
activesupport (= 5.1.1)
arel (~> 8.0)
activesupport (5.1.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.1)
public_suffix (~> 2.0, >= 2.0.2)
arel (8.0.0)
babel-source (5.8.35)
babel-transpiler (0.7.0)
babel-source (>= 4.0, < 6)
execjs (~> 2.0)
bindex (0.5.0)
builder (3.2.3)
byebug (9.0.6)
capybara (2.14.3)
addressable
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
childprocess (0.7.0)
ffi (~> 1.0, >= 1.0.11)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
connection_pool (2.2.1)
cookiejar (0.3.3)
daemons (1.2.4)
em-http-request (1.1.5)
addressable (>= 2.3.4)
cookiejar (!= 0.3.1)
em-socksify (>= 0.3)
eventmachine (>= 1.0.3)
http_parser.rb (>= 0.6.0)
em-socksify (0.3.1)
eventmachine (>= 1.0.0.beta.4)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
erubi (1.6.0)
eventmachine (1.2.3)
execjs (2.7.0)
ffi (1.9.18)
foreman (0.84.0)
thor (~> 0.19.1)
globalid (0.4.0)
activesupport (>= 4.2.0)
hike (1.2.3)
http_parser.rb (0.6.0)
httpclient (2.8.3)
hyper-component (0.12.3)
hyper-react (>= 0.12.3)
hyperloop-config (>= 0.9.2)
opal-rails (~> 0.9.0)
react-rails (< 1.10.0)
hyper-mesh (0.6.0)
activerecord (>= 0.3.0)
hyper-component (>= 0.12.3)
hyper-operation (>= 0.5.0)
hyper-model (0.6.0)
hyper-mesh
hyper-operation (0.5.9)
activerecord (>= 0.3.0)
hyper-component (>= 0.12.2)
hyperloop-config (>= 0.9.7)
mutations
opal-activesupport
pusher
pusher-fake
hyper-react (0.12.7)
hyper-store (>= 0.2.1)
hyperloop-config (>= 0.9.7)
opal (>= 0.8.0)
opal-activesupport (>= 0.2.0)
hyper-router (4.1.1)
hyper-component
hyper-react (~> 0.12.7)
opal-browser
hyper-store (0.2.3)
hyperloop-config (>= 0.9.2)
hyperloop (0.5.6)
hyper-model
hyper-router (>= 4.0.0)
opal-browser
opal-rails (>= 0.8.1)
rails (>= 4.0.0)
react-rails (~> 1.9.0)
therubyracer
hyperloop-config (0.9.10)
opal
opal-browser
i18n (0.8.4)
jbuilder (2.7.0)
activesupport (>= 4.2.0)
multi_json (>= 1.2)
jquery-rails (4.3.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
libv8 (3.16.14.19)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.6)
mime-types (>= 1.16, < 4)
method_source (0.8.2)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_portile2 (2.2.0)
minitest (5.10.2)
multi_json (1.12.1)
mutations (0.8.1)
activesupport
mysql2 (0.4.6)
nio4r (2.1.0)
nokogiri (1.8.0)
mini_portile2 (~> 2.2.0)
opal (0.10.4)
hike (~> 1.2)
sourcemap (~> 0.1.0)
sprockets (~> 3.1)
tilt (>= 1.4)
opal-activesupport (0.3.0)
opal (>= 0.5.0, < 1.0.0)
opal-browser (0.2.0)
opal
paggio
opal-jquery (0.4.2)
opal (>= 0.7.0, < 0.11.0)
opal-rails (0.9.3)
jquery-rails
opal (>= 0.8.0, < 0.11)
opal-activesupport (>= 0.0.5)
opal-jquery (~> 0.4.0)
opal-sprockets (~> 0.4.1)
rails (>= 4.1, < 6.0)
sprockets-rails (>= 2.3.3, < 4.0)
opal-sprockets (0.4.1.0.10.4.3.1.0)
opal (~> 0.10.4)
sprockets (~> 3.1)
tilt (>= 1.4)
paggio (0.2.6)
public_suffix (2.0.5)
puma (3.9.1)
pusher (1.3.1)
httpclient (~> 2.7)
multi_json (~> 1.0)
pusher-signature (~> 0.1.8)
pusher-fake (1.8.0)
em-http-request (~> 1.1)
em-websocket (~> 0.5)
multi_json (~> 1.6)
thin (~> 1.5)
pusher-signature (0.1.8)
rack (2.0.3)
rack-test (0.6.3)
rack (>= 1.0)
rails (5.1.1)
actioncable (= 5.1.1)
actionmailer (= 5.1.1)
actionpack (= 5.1.1)
actionview (= 5.1.1)
activejob (= 5.1.1)
activemodel (= 5.1.1)
activerecord (= 5.1.1)
activesupport (= 5.1.1)
bundler (>= 1.3.0, < 2.0)
railties (= 5.1.1)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
railties (5.1.1)
actionpack (= 5.1.1)
activesupport (= 5.1.1)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (12.0.0)
rb-fsevent (0.9.8)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
react-rails (1.9.0)
babel-transpiler (>= 0.7.0)
coffee-script-source (~> 1.8)
connection_pool
execjs
railties (>= 3.2)
tilt
ref (2.0.0)
ruby_dep (1.5.0)
rubyzip (1.2.1)
sass (3.4.24)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
selenium-webdriver (3.4.3)
childprocess (~> 0.5)
rubyzip (~> 1.0)
sourcemap (0.1.1)
spring (2.0.2)
activesupport (>= 4.2)
spring-watcher-listen (2.0.1)
listen (>= 2.7, < 4.0)
spring (>= 1.2, < 3.0)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
therubyracer (0.12.3)
libv8 (~> 3.16.14.15)
ref
thin (1.7.1)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thor (0.19.4)
thread_safe (0.3.6)
tilt (2.0.7)
tzinfo (1.2.3)
thread_safe (~> 0.1)
uglifier (3.2.0)
execjs (>= 0.3.0, < 3)
web-console (3.5.1)
actionview (>= 5.0)
activemodel (>= 5.0)
bindex (>= 0.4.0)
railties (>= 5.0)
webpacker (2.0)
activesupport (>= 4.2)
multi_json (~> 1.2)
railties (>= 4.2)
websocket (1.2.4)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.2)
xpath (2.1.0)
nokogiri (~> 1.3)
PLATFORMS ruby
DEPENDENCIES byebug capybara (~> 2.13) coffee-rails (~> 4.2) foreman hyperloop jbuilder (~> 2.5) listen (>= 3.0.5, < 3.2) mysql2 opal_hot_reloader! puma (~> 3.7) rails (~> 5.1.1) sass-rails (~> 5.0) selenium-webdriver spring spring-watcher-listen (~> 2.0.0) tzinfo-data uglifier (>= 1.3.0) web-console (>= 3.3.0) webpacker
BUNDLED WITH 1.14.6
@ barriehadfield , in fact, my issue is resolved after create this issue.
but, hyper-react
need more document to write or some issue to fix.
following is a list about this issue:
react-rails
and hyper-react
into Gemfile is not worked.
we must to use: `gem react-rails '~>1.9'
I think this maybe need add to document.opal-browser
as a dependency, is
install with bundle, but, when run project, could not found js files
so, we need add gem opal-browser
into Gemfile to make it work.Thanks
@barriehadfield, if a project is not worked, it will make many guys give up to try, right? I just hope, we can startup to hack with README.
@barriehadfield , I just publish issued projet here: https://github.com/zw963/test_rails_5.1_project
please read last commit diff.
as we see, when I remove reactor-rails version limit, bundle update
my react-rails
2.2.1.
I think we should add runtime dependency into gemspec, or, just document this limit in README.
commit b81625e992fa4c7a8468bfc51b18077b756890a7
Author: Billy.Zheng <zw963@163.com>
Date: Sat Jul 8 16:41:15 2017 +0800
remove react-rails version limit. (this will result in server start failed)
diff --git a/Gemfile b/Gemfile
index af635e3..d15db54 100644
--- a/Gemfile
+++ b/Gemfile
@@ -53,5 +53,5 @@ end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
[-gem 'react-rails', '1.9.0'-]
gem 'hyper-react'
{+gem 'react-rails'+}
diff --git a/Gemfile.lock b/Gemfile.lock
index f9c9570..0f84b61 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -148,9 +148,8 @@ GEM
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
react-rails [-(1.9.0)-]{+(2.2.1)+}
babel-transpiler (>= 0.7.0)
[- coffee-script-source (~> 1.8)-]
connection_pool
execjs
railties (>= 3.2)
@@ -218,7 +217,7 @@ DEPENDENCIES
listen (>= 3.0.5, < 3.2)
puma (~> 3.7)
rails (~> 5.1.1)
react-rails[-(= 1.9.0)-]
sass-rails (~> 5.0)
selenium-webdriver
spring
close if not reproducible in 0.15
react-rails abondend sprockets renderer in favor of bundle renderer, this is fixed in sachsenring, works with react-rails 2.3 and 2.4
When run
rails c
, got following error msg:Following is some info:
Rails 5.1.1 default Gemfile, with add
react-rails
andhyper-react
.run bundle install, and keep
app/assets/javascripts/application.js
not changed it not worked.