- 81
- Posts
- 9
- Years
- Seen Sep 7, 2019
So I get this error when I try to run it heres error 1 from Main.rb
C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': 193: %1 is not a valid Win32 application. - C:/Users/BlackOutG5/Desktop/Essentials BW V3.1.1/beta 2/server/bin/2.0/mysql_api.so (LoadError)
heres error from Command Consle-Ruby
C:\Users\BlackOutG5>Ruby
"C:\Users\BlackOutG5\Desktop\Essentials BW V3.1.1\beta 2\server\Main.rb"
-:1: Invalid escape character syntax
...tials BW V3.1.1\beta 2\server\Main.rb"
...
so when I take out the MySQL_api in Main.rb I get a new error
Starting Server on 127.0.0.1:5000
Opening TCP Server
Connecting to MySQL Server
C:/Users/BlackOutG5/Desktop/Essentials BW V3.1.1/beta 2/server/mysql.rb:4:in `initialize': uninitialized constant SQL::Mysql (NameError)
from C:/Users/BlackOutG5/Desktop/Essentials BW V3.1.1/beta 2/server/server.rb:15:in `new'
from C:/Users/BlackOutG5/Desktop/Essentials BW V3.1.1/beta 2/server/server.rb:15:in `run'
from C:/Users/BlackOutG5/Desktop/Essentials BW V3.1.1/beta 2/server/
C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': 193: %1 is not a valid Win32 application. - C:/Users/BlackOutG5/Desktop/Essentials BW V3.1.1/beta 2/server/bin/2.0/mysql_api.so (LoadError)
heres error from Command Consle-Ruby
C:\Users\BlackOutG5>Ruby
"C:\Users\BlackOutG5\Desktop\Essentials BW V3.1.1\beta 2\server\Main.rb"
-:1: Invalid escape character syntax
...tials BW V3.1.1\beta 2\server\Main.rb"
...
so when I take out the MySQL_api in Main.rb I get a new error
Starting Server on 127.0.0.1:5000
Opening TCP Server
Connecting to MySQL Server
C:/Users/BlackOutG5/Desktop/Essentials BW V3.1.1/beta 2/server/mysql.rb:4:in `initialize': uninitialized constant SQL::Mysql (NameError)
from C:/Users/BlackOutG5/Desktop/Essentials BW V3.1.1/beta 2/server/server.rb:15:in `new'
from C:/Users/BlackOutG5/Desktop/Essentials BW V3.1.1/beta 2/server/server.rb:15:in `run'
from C:/Users/BlackOutG5/Desktop/Essentials BW V3.1.1/beta 2/server/
Last edited by a moderator: