And I introduce the way to run rails 3.0.9 with mysql2 0.2.11 on MariaDB 5.2.7 in Windows.
- Install the MariaDB on Windows into C:/MariaDB
- Install ruby 1.9.x with Ruby DevKit 4.5.1
- Install rails 3.0.9
- Install mysql2 0.2.11
> gem install mysql2 --version=0.2.11 --platform=ruby -- --with-mysql-include=C:/MariaDB/include --with-mysql-lib=C:/MariaDB/lib
- Do rails ways
> rails -d mysql sample > cd sample > rails g scaffold person first_name:string last_name:string > rails s
No comments:
Post a Comment