“193: %1 is not a valid Win32 application” bug with a new Rails Application

前端 未结 6 2032
北海茫月
北海茫月 2020-11-29 07:08

I have a new rails application which I have created under Windows 7 by going into a directory and typing \"rails newapp\". The creation went fine, and when I access the root

6条回答
  •  生来不讨喜
    2020-11-29 07:43

    Using Ruby (1.8.7) with MySQL(5.5) on Windows 7 and also getting error 193. Copying the libmySQL.dll to ruby /bin worked fine for me.

    C:\Work\redmine-2.4.1\config\database.yml content:
    
    # Default setup is given for MySQL with ruby1.9. If you're running Redmine
    # with MySQL and ruby1.8, replace the adapter name with `mysql`.
    # Examples for PostgreSQL, SQLite3 and SQL Server can be found at the end.
    # Line indentation must be 2 spaces (no tabs).
    
    production:
      adapter: mysql
      database: redmine
      host: localhost
      username: root
      password: "pwd@123"
      encoding: utf8
    
    

提交回复
热议问题