摘要:
bundle installrails server (默认为开发环境) rails server -p80 -e production (指定为生产环境 ,并自定义指定站点端口) rake RAILS_ENV=production assets:precompile --trace (预编译) >... 阅读全文
posted @ 2015-02-06 16:11 且行且思 阅读(589) 评论(0) 推荐(0)
|
|||
|
摘要:
bundle installrails server (默认为开发环境) rails server -p80 -e production (指定为生产环境 ,并自定义指定站点端口) rake RAILS_ENV=production assets:precompile --trace (预编译) >... 阅读全文
posted @ 2015-02-06 16:11 且行且思 阅读(589) 评论(0) 推荐(0)
摘要:
rake aborted! You have already activated rake 10.1.0, but your Gemfile requires rake 10.0.3. Using bundle exec may solve this. wyy@wyy:~/moumentei-mas... 阅读全文
posted @ 2015-02-06 14:13 且行且思 阅读(794) 评论(0) 推荐(0)
摘要:
article = nilarticle.nil? # => trueempty? checks if an element - like a string or an array f.e. - is empty:# Array[].empty? #=> true# String"".empt... 阅读全文
posted @ 2015-02-06 11:50 且行且思 阅读(923) 评论(0) 推荐(0) |
|||