Last active
May 1, 2019 01:23
-
-
Save bjfish/5418c723e27b68183dd13c4316d519fc to your computer and use it in GitHub Desktop.
Rails & MySql2 rails error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActionController::RoutingError (uninitialized constant ApplicationController): | |
app/controllers/welcome_controller.rb:2:in `<top (required)>' | |
ActionController::RoutingError: uninitialized constant ApplicationController | |
from /Users/bfish/Documents/railstest/skip_active_record/app/controllers/welcome_controller.rb:2:in `<top (required)>' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/activesupport-4.2.9/lib/active_support/inflector/methods.rb:261:in `const_get' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/activesupport-4.2.9/lib/active_support/inflector/methods.rb:261:in `block in constantize' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/activesupport-4.2.9/lib/active_support/inflector/methods.rb:259:in `inject' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/activesupport-4.2.9/lib/active_support/inflector/methods.rb:259:in `constantize' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/actionpack-4.2.9/lib/action_dispatch/routing/route_set.rb:70:in `controller_reference' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/actionpack-4.2.9/lib/action_dispatch/routing/route_set.rb:60:in `controller' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/actionpack-4.2.9/lib/action_dispatch/routing/route_set.rb:39:in `serve' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/actionpack-4.2.9/lib/action_dispatch/journey/router.rb:43:in `block in serve' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/actionpack-4.2.9/lib/action_dispatch/journey/router.rb:30:in `each' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/actionpack-4.2.9/lib/action_dispatch/journey/router.rb:30:in `serve' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/actionpack-4.2.9/lib/action_dispatch/routing/route_set.rb:817:in `call' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/rack-1.6.8/lib/rack/head.rb:13:in `call' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/actionpack-4.2.9/lib/action_dispatch/middleware/params_parser.rb:27:in `call' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/actionpack-4.2.9/lib/action_dispatch/middleware/flash.rb:260:in `call' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context' | |
from /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call' | |
C stack trace: | |
mysql2_mysql_enc_name_to_rb in mysql_enc_name_to_ruby.h:163:49 (LLVM IR Function @mysql2_mysql_enc_name_to_rb in /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/mysql2-0.4.9/lib/mysql2/mysql2.su@59aa142b85c8ef5e69a303cd43463f51da6f19cd_client.bc in Block {id: 5 name: implicit21}) | |
set_charset_name in <unavailable source>:1281:56 (LLVM IR Function @set_charset_name in /Users/bfish/Documents/gem_homes/nokogiri_gem_home/gems/mysql2-0.4.9/lib/mysql2/mysql2.su@59aa142b85c8ef5e69a303cd43463f51da6f19cd_client.bc in Block {id: 0 name: implicit2}) | |
caused by Unexpected values provided for LLVMStrCmpNodeGen@6436e9da: [com.oracle.truffle.llvm.runtime.LLVMTruffleObject@3ce499b2(offset=1), 0x7fb4bca58061], [LLVMTruffleObject,LLVMAddress] UnsupportedSpecializationException com.oracle.truffle.llvm.nodes.intrinsics.c.LLVMTruffleOnlyIntrinsicsFactory$LLVMStrCmpNodeGen.executeAndSpecialize(LLVMTruffleOnlyIntrinsicsFactory.java:304) | |
com.oracle.truffle.llvm.nodes.intrinsics.c.LLVMTruffleOnlyIntrinsicsFactory$LLVMStrCmpNodeGen.executeI32(LLVMTruffleOnlyIntrinsicsFactory.java:187) | |
com.oracle.truffle.llvm.nodes.intrinsics.c.LLVMTruffleOnlyIntrinsicsFactory$LLVMStrCmpNodeGen.executeGeneric(LLVMTruffleOnlyIntrinsicsFactory.java:192) | |
com.oracle.truffle.llvm.nodes.intrinsics.llvm.LLVMIntrinsicRootNodeFactory$LLVMIntrinsicExpressionNodeGen.execute(LLVMIntrinsicRootNodeFactory.java:36) | |
com.oracle.truffle.api.impl.DefaultCallTarget.callDirectOrIndirect(DefaultCallTarget.java:64) | |
com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:43) | |
com.oracle.truffle.llvm.nodes.func.LLVMDispatchNode.doDirectIntrinsic(LLVMDispatchNode.java:114) | |
com.oracle.truffle.llvm.nodes.func.LLVMDispatchNodeGen.executeDispatch(LLVMDispatchNodeGen.java:63) | |
com.oracle.truffle.llvm.nodes.func.LLVMLookupDispatchNode.doDirect(LLVMLookupDispatchNode.java:70) | |
com.oracle.truffle.llvm.nodes.func.LLVMLookupDispatchNodeGen.executeDispatch(LLVMLookupDispatchNodeGen.java:45) | |
com.oracle.truffle.llvm.nodes.func.LLVMCallNode.executeGeneric(LLVMCallNode.java:75) | |
caused by <no message> TruffleStackTrace): | |
mysql2 (0.4.9) lib/mysql2/client.rb:47:in `execute' | |
mysql2 (0.4.9) lib/mysql2/client.rb:47:in `execute_with_locals' | |
mysql2 (0.4.9) lib/mysql2/client.rb:47:in `execute_with_mutex' | |
mysql2 (0.4.9) lib/mysql2/client.rb:47:in `charset_name=' | |
mysql2 (0.4.9) lib/mysql2/client.rb:47:in `initialize' | |
activerecord (4.2.9) lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `new' | |
activerecord (4.2.9) lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `mysql2_connection' | |
activerecord (4.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in `send' | |
activerecord (4.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in `new_connection' | |
activerecord (4.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `checkout_new_connection' | |
activerecord (4.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection' | |
activerecord (4.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout' | |
/Users/bfish/Documents/truffleruby/lib/mri/monitor.rb:214:in `mon_synchronize' | |
activerecord (4.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout' | |
activerecord (4.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in connection' | |
/Users/bfish/Documents/truffleruby/lib/mri/monitor.rb:214:in `mon_synchronize' | |
activerecord (4.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in `connection' | |
activerecord (4.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:571:in `retrieve_connection' | |
activerecord (4.2.9) lib/active_record/connection_handling.rb:113:in `retrieve_connection' | |
activerecord (4.2.9) lib/active_record/connection_handling.rb:87:in `connection' | |
activerecord (4.2.9) lib/active_record/query_cache.rb:51:in `restore_query_cache_settings' | |
activerecord (4.2.9) lib/active_record/query_cache.rb:43:in `call' | |
activerecord (4.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment