1. RAILS_ENV=production rails s启动服务器 2. RAILS_ENV=production rails generate controller ProductionArray 3. RAILS_ENV=production rails generate migratio Read More
在执行rails 命令时出现: diudiugirl@DIUs:~/ashelf$ rails s /home/diudiugirl/.rvm/gems/ruby-1.9.3-p545/gems/json-1.8.0/lib/json/common.rb:67: [BUG] Segmentation Read More
`block in replace_gem': Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter`
在执行rails s时出现“`block in replace_gem': Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter`”错误: diudiugirl@DIUs:/var/www/ashelf Read More
在运行 bundle install时遇到下面问题: diudiugirl@DIUs:/var/www/ashelf$ bundle install Fetching gem metadata from https://ruby.taobao.org/........... Fetching ver Read More
diudiugirl@DIUs:/var/www/ashelf$ RAILS_ENV=production rails s Usage: rails new APP_PATH [options] Options: -r, [--ruby=PATH] # Path to the Ruby binary Read More