Skip to content
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

Not worked with Rails 5.0.2 (Ruby 2.3.3) #11

Open
zw963 opened this issue May 3, 2017 · 0 comments
Open

Not worked with Rails 5.0.2 (Ruby 2.3.3) #11

zw963 opened this issue May 3, 2017 · 0 comments

Comments

@zw963
Copy link

zw963 commented May 3, 2017

following is backtrace: (server could not start correctly because into a endless loop)

WARNING: Nokogiri was built against LibXML version 2.9.1, but has dynamically loaded 2.9.4
Invalid Reference - probably recycled
/home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:42:in `inspect'
/home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:42:in `inspect'
/home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:42:in `block (4 levels) in <module:PrettyBacktrace>'
/home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:40:in `each'
/home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:40:in `inject'
/home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:40:in `block (3 levels) in <module:PrettyBacktrace>'
/home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:31:in `map'
/home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:31:in `with_index'
/home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:31:in `block (2 levels) in <module:PrettyBacktrace>'
/home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:25:in `open'
/home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:25:in `block in <module:PrettyBacktrace>'
/home/zw963/Dropbox/common/ruby/lib/binding_of_caller/mri2.rb:25:in `frame_binding'
/home/zw963/Dropbox/common/ruby/lib/binding_of_caller/mri2.rb:25:in `block (2 levels) in callers'
/home/zw963/Dropbox/common/ruby/lib/binding_of_caller/mri2.rb:23:in `loop'
/home/zw963/Dropbox/common/ruby/lib/binding_of_caller/mri2.rb:23:in `block in callers'
/home/zw963/Dropbox/common/ruby/lib/binding_of_caller/mri2.rb:21:in `open'
/home/zw963/Dropbox/common/ruby/lib/binding_of_caller/mri2.rb:21:in `callers'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/better_errors-2.1.1/lib/better_errors/exception_extension.rb:7:in `set_backtrace'
/home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/weakref.rb:95:in `raise'
/home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/weakref.rb:95:in `__getobj__'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/weak.rb:24:in `object'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/weak.rb:66:in `access'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/weak.rb:61:in `weakcell'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/conversion/class.rb:6:in `to_template'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/conversion/code.rb:6:in `to_v8'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/conversion/fundamental.rb:8:in `to_v8'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/conversion/indentity.rb:15:in `to_v8'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/conversion.rb:11:in `to_v8'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/context.rb:168:in `to_v8'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/conversion/reference.rb:6:in `construct!'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/conversion/object.rb:4:in `to_v8'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/conversion/fundamental.rb:8:in `to_v8'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/conversion/indentity.rb:15:in `to_v8'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/conversion.rb:11:in `to_v8'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/context.rb:168:in `to_v8'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:13:in `block (3 levels) in methodcall'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:13:in `map'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:13:in `block (2 levels) in methodcall'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/error.rb:84:in `block in try'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/error.rb:83:in `TryCatch'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/error.rb:83:in `try'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:13:in `block in methodcall'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/context.rb:206:in `enter'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:11:in `methodcall'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:19:in `block in call'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/context.rb:206:in `enter'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:18:in `call'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/commonjs-0.2.7/lib/commonjs/environment.rb:18:in `require'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/commonjs-0.2.7/lib/commonjs/module.rb:18:in `block in require_function'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/access/invocation.rb:16:in `methodcall'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/access/invocation.rb:4:in `methodcall'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/conversion/code.rb:33:in `block in call'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/error.rb:96:in `protect'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/conversion/code.rb:23:in `call'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:13:in `Call'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:13:in `block (2 levels) in methodcall'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/error.rb:84:in `block in try'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/error.rb:83:in `TryCatch'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/error.rb:83:in `try'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:13:in `block in methodcall'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/context.rb:206:in `enter'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:11:in `methodcall'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:19:in `block in call'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/context.rb:248:in `block (2 levels) in lock_scope_and_enter'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/context.rb:245:in `HandleScope'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/context.rb:245:in `block in lock_scope_and_enter'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/context.rb:244:in `Locker'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/context.rb:244:in `lock_scope_and_enter'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/context.rb:204:in `enter'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/therubyracer-0.12.3/lib/v8/function.rb:18:in `call'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/commonjs-0.2.7/lib/commonjs/environment.rb:18:in `require'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-2.6.0/lib/less/loader.rb:28:in `require'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-2.6.0/lib/less.rb:15:in `<module:Less>'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-2.6.0/lib/less.rb:9:in `<top (required)>'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-rails-2.7.1/lib/less/rails.rb:6:in `require'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-rails-2.7.1/lib/less/rails.rb:6:in `<top (required)>'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-rails-2.7.1/lib/less-rails.rb:1:in `require'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-rails-2.7.1/lib/less-rails.rb:1:in `<top (required)>'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-rails-semantic_ui-2.2.3.0/lib/less/rails/semantic_ui.rb:1:in `require'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-rails-semantic_ui-2.2.3.0/lib/less/rails/semantic_ui.rb:1:in `<top (required)>'
/home/zw963/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/runtime.rb:105:in `require'
/home/zw963/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/runtime.rb:105:in `rescue in block in require'
/home/zw963/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/runtime.rb:82:in `block in require'
/home/zw963/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in `each'
/home/zw963/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in `require'
/home/zw963/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler.rb:107:in `require'
/home/zw963/Xthink/ershou_web/config/application.rb:7:in `<top (required)>'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application.rb:82:in `require'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application.rb:82:in `preload'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application.rb:143:in `serve'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application.rb:131:in `block in run'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application.rb:125:in `loop'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application.rb:125:in `run'
/home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application/boot.rb:19:in `<top (required)>'
/home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
-e:1:in `<main>'
/home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:42:in `inspect': PrettyBacktrace BUG (V8::Error)
	from /home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:42:in `inspect'
	from /home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:42:in `block (4 levels) in <module:PrettyBacktrace>'
	from /home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:40:in `each'
	from /home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:40:in `inject'
	from /home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:40:in `block (3 levels) in <module:PrettyBacktrace>'
	from /home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:31:in `map'
	from /home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:31:in `with_index'
	from /home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:31:in `block (2 levels) in <module:PrettyBacktrace>'
	from /home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:60:in `rescue in block in <module:PrettyBacktrace>'
	from /home/zw963/Dropbox/common/ruby/lib/pretty_backtrace.rb:18:in `block in <module:PrettyBacktrace>'
	from /home/zw963/Dropbox/common/ruby/lib/binding_of_caller/mri2.rb:25:in `frame_binding'
	from /home/zw963/Dropbox/common/ruby/lib/binding_of_caller/mri2.rb:25:in `block (2 levels) in callers'
	from /home/zw963/Dropbox/common/ruby/lib/binding_of_caller/mri2.rb:23:in `loop'
	from /home/zw963/Dropbox/common/ruby/lib/binding_of_caller/mri2.rb:23:in `block in callers'
	from /home/zw963/Dropbox/common/ruby/lib/binding_of_caller/mri2.rb:21:in `open'
	from /home/zw963/Dropbox/common/ruby/lib/binding_of_caller/mri2.rb:21:in `callers'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/better_errors-2.1.1/lib/better_errors/exception_extension.rb:7:in `set_backtrace'
	from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/weakref.rb:95:in `raise'
	from /home/zw963/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/weakref.rb:95:in `__getobj__'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/commonjs-0.2.7/lib/commonjs/environment.rb:18:in `require'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/commonjs-0.2.7/lib/commonjs/module.rb:18:in `block in require_function'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/commonjs-0.2.7/lib/commonjs/environment.rb:18:in `require'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-2.6.0/lib/less/loader.rb:28:in `require'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-2.6.0/lib/less.rb:15:in `<module:Less>'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-2.6.0/lib/less.rb:9:in `<top (required)>'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-rails-2.7.1/lib/less/rails.rb:6:in `require'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-rails-2.7.1/lib/less/rails.rb:6:in `<top (required)>'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-rails-2.7.1/lib/less-rails.rb:1:in `require'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-rails-2.7.1/lib/less-rails.rb:1:in `<top (required)>'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-rails-semantic_ui-2.2.3.0/lib/less/rails/semantic_ui.rb:1:in `require'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-rails-semantic_ui-2.2.3.0/lib/less/rails/semantic_ui.rb:1:in `<top (required)>'
	from /home/zw963/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/runtime.rb:105:in `require'
	from /home/zw963/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/runtime.rb:105:in `rescue in block in require'
	from /home/zw963/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/runtime.rb:82:in `block in require'
	from /home/zw963/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in `each'
	from /home/zw963/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in `require'
	from /home/zw963/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler.rb:107:in `require'
	from /home/zw963/Xthink/ershou_web/config/application.rb:7:in `<top (required)>'
	from at /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/less-2.6.0/lib/less/js/lib/less/index.js:8:13
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application.rb:103:in `rescue in preload'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application.rb:115:in `preload' (e = #<V8::Error: PrettyBa..., secrets_path = nil)
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application.rb:143:in `serve' (client = #<UNIXSocket:fd 11>, stdout = #<IO:fd 12>, stderr = #<IO:fd 13>, stdin = #<IO:fd 14>, streams = [#<IO:fd 12>, #<IO:fd..., args = nil, env = nil, command = nil, pid = nil, e = nil)
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application.rb:131:in `block in run'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application.rb:125:in `loop'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application.rb:125:in `run'
	from /home/zw963/.rvm/gems/ruby-2.3.3@ershou_web/gems/spring-2.0.1/lib/spring/application/boot.rb:19:in `<top (required)>' (app = #<Spring::Application...)
	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' (path = "spring/application/b..., spec = nil, found_specs = nil, names = nil, valid = nil, le = nil, load_error = nil, require_again = nil)
	from -e:1:in `<main>'
WARNING: Nokogiri was built against LibXML version 2.9.1, but has dynamically loaded 2.9.4
=> Booting Puma
=> Rails 5.0.2 application starting in development on http://0.0.0.0:8628
=> Run `rails server -h` for more startup options

This bug only happen if run PrettyBacktrace.enable before start server.
if just require 'pretty_backtrace' without enable it, rails server worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant