1. RAILS_ENV=production rails s启动服务器 2. RAILS_ENV=production rails generate controller ProductionArray 3. RAILS_ENV=production rails generate migratio Read More
posted @ 2016-02-01 15:05
Sophiawow
Views(284)
Comments(0)
Diggs(0)
在执行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
posted @ 2016-02-01 15:00
Sophiawow
Views(574)
Comments(0)
Diggs(0)
`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
posted @ 2016-02-01 11:28
Sophiawow
Views(1109)
Comments(0)
Diggs(0)
在运行 bundle install时遇到下面问题: diudiugirl@DIUs:/var/www/ashelf$ bundle install Fetching gem metadata from https://ruby.taobao.org/........... Fetching ver Read More
posted @ 2016-02-01 11:18
Sophiawow
Views(3107)
Comments(0)
Diggs(0)
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
posted @ 2016-02-01 11:15
Sophiawow
Views(570)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号