我看了这篇关于rake命令的文章,但是不知道RAILS_ENV在哪里。在某个特定的文件里吗?db:create Creates the database for the current RAILS_ENV environment.If RAILS_ENV is not specified it defaults to the development and test databases.
Mina无法加载database.yml文件中的环境变量,如下所述:task :deploy => :environment do # Put thingshome/user_name/.rvm/gems/ruby-2.0.0-p247/gems/mysql2-0.3.16/lib/mysql2/client.rb:70:in `connect'