bootstrap-rails-startup-site
bootstrap-rails-startup-site copied to clipboard
数据库能改成mysql么?
database我改成mysql2,migrate成功了,但是assets没编译成,报错如下: D:\RailsInstaller\sites\bootstrap-rails-startup-site>rake assets:precompile --tr ace ** Invoke assets:precompile (first_time) ** Execute assets:precompile d:/RailsInstaller/Ruby1.9.3/bin/ruby.exe d:/RailsInstaller/Ruby1.9.3/bin/rake as sets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace ** Invoke assets:precompile:all (first_time) ** Execute assets:precompile:all ** Invoke assets:precompile:primary (first_time) ** Invoke assets:environment (first_time) ** Execute assets:environment ** Invoke environment (first_time) ** Execute environment rake aborted! database configuration does not specify adapter d:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-3.2.14/lib/act ive_record/connection_adapters/abstract/connection_specification.rb:47:in `resol ve_hash_connection'
和数据库没关系,请将railsinstaller装在C盘,然后运行也在C盘上。