rails默认数据库为sqlite3

C:\Ruby\lib\ruby\gems\1.8\gems\rails-2.1.1\lib\rails_generator\generators\applications\app

Line:10 default_options :db => (ENV["RAILS_DEFAULT_DATABASE"] || "sqlite3"),
  Change to: default_options :db => (ENV["RAILS_DEFAULT_DATABASE"] || "mysql"),

你可能感兴趣的:(C++,c,mysql,Ruby,Rails)