Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
吕小荣
@xiaoronglv
Admin
NO. 1638 / 2012-03-29

上海
200 Topics / 1627 Replies
237 Followers
0 Following
17 Favorites
社区清洁工
GitHub Public Repos
  • xiaoronglv.github.io 4

    Ryan's Blog

  • thoughts 1

    Engineering lessons learned: Ryan Lyu's tech blog

  • surge-rules 0

  • golang-ent-playground-... 0

    https://entgo.io/docs/getting-started

  • docs.nestjs.com 0

    The official documentation https://docs.nestjs.com 📕

  • clash-rules 0

  • chinese-independent-blogs 0

    中文独立博客列表

  • express_projects_with_... 0

    Good open source projects powered by express.js

  • xiaoronglv 0

  • CKA-Exercises 0

    Practice for the Certified Kubernetes Administrator (CKA) Exam

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • [已解决] what's 'bundle exec' used for ? at August 24, 2013

    #1 楼 @jjym

    gem 版本号不同,导致编译资源异常,最常见于那种情况?

  • [已解决] what's 'bundle exec' used for ? at August 24, 2013

    stackoverflow 上有个不错的回答

    http://stackoverflow.com/questions/6588674/what-does-bundle-exec-rake-mean

    You're running bundle exec on a program. The program's creators wrote it when certain versions of gems were available. The program Gemfile specifies the versions of the gems the creators decided to use. That is, the script was made to run correctly against these gem versions.

  • Rails 4 报错 ActionDispatch::Session::EncryptedCookieStore at August 23, 2013

    #4 楼 @huacnlee

    确实是这个原因。

    非常感谢啊。

    😄

  • Rails 4 报错 ActionDispatch::Session::EncryptedCookieStore at August 23, 2013

    #2 楼 @huacnlee

    谢谢华顺指点。

    我在本地也跑不起来,看来和 capistrano 没啥关系。

    config/environments/production.rb

    
    Chalkboard::Application.configure do
      # Settings specified here will take precedence over those in config/application.rb.
    
      # Code is not reloaded between requests.
      config.cache_classes = true
    
      # Eager load code on boot. This eager loads most of Rails and
      # your application in memory, allowing both thread web servers
      # and those relying on copy on write to perform better.
      # Rake tasks automatically ignore this option for performance.
      config.eager_load = true
    
      # Full error reports are disabled and caching is turned on.
      config.consider_all_requests_local       = false
      config.action_controller.perform_caching = true
    
      # Enable Rack::Cache to put a simple HTTP cache in front of your application
      # Add `rack-cache` to your Gemfile before enabling this.
      # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
      # config.action_dispatch.rack_cache = true
    
      # Disable Rails's static asset server (Apache or nginx will already do this).
      config.serve_static_assets = false
    
      # Compress JavaScripts and CSS.
      config.assets.js_compressor  = :uglifier
      # config.assets.css_compressor = :sass
    
      # Whether to fallback to assets pipeline if a precompiled asset is missed.
      config.assets.compile = false
    
      # Generate digests for assets URLs.
      config.assets.digest = true
    
      # Version of your assets, change this if you want to expire all your assets.
      config.assets.version = '1.0'
    
      # Specifies the header that your server uses for sending files.
      # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
      # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
    
      # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
      # config.force_ssl = true
    
      # Set to :debug to see everything in the log.
      config.log_level = :info
    
      # Prepend all log lines with the following tags.
      # config.log_tags = [ :subdomain, :uuid ]
    
      # Use a different logger for distributed setups.
      # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
    
      # Use a different cache store in production.
      # config.cache_store = :mem_cache_store
    
      # Enable serving of images, stylesheets, and JavaScripts from an asset server.
      # config.action_controller.asset_host = "http://assets.example.com"
    
      # Precompile additional assets.
      # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
      # config.assets.precompile += %w( search.js )
    
      # Ignore bad email addresses and do not raise email delivery errors.
      # Set this to true and configure the email server for immediate delivery to raise delivery errors.
      # config.action_mailer.raise_delivery_errors = false
    
      # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
      # the I18n.default_locale when a translation can not be found).
      config.i18n.fallbacks = true
    
      # Send deprecation notices to registered listeners.
      config.active_support.deprecation = :notify
    
      # Disable automatic flushing of the log to improve performance.
      # config.autoflush_log = false
    
      # Use default logging formatter so that PID and timestamp are not suppressed.
      config.log_formatter = ::Logger::Formatter.new
    end
    
    
  • Rails 4 报错 ActionDispatch::Session::EncryptedCookieStore at August 23, 2013

    附上官方的 guide

    https://github.com/capistrano/capistrano/wiki/Upgrading-to-Rails-4

  • [求指点] 有谁买过那种破解 wifi 密码的路由器?怎么操作的? at August 22, 2013

    你们这些邪恶的小怪兽。

  • [上海] "英语流利说"诚聘 Rails 开发工程师 at August 21, 2013

    @benzheren

    一般多久能收到答复。

  • 推荐基于 Rails 的 ERP 系统 at August 21, 2013

    Hi ,@kgen
    我们公司的管理不乱。
    我发这个帖子的初衷:如果公司能实现无纸化审批,大家不会被这些琐事打断工作,效率可能更高。

  • 推荐基于 Rails 的 ERP 系统 at August 21, 2013

    #4 楼 @40hood 明白了,我再找找 oa 的相关资料

  • 推荐基于 Rails 的 ERP 系统 at August 20, 2013

    OpenERP 不错,但不是 rails 的

  • 问一个简单的 rails 问题 at August 20, 2013

    #1 楼 @hanluner

    Rails 4 使用了 strong params,应该不需要加 attar_accessible 了吧。

  • 今年 Ruby Conference 什么时候公开票价 at August 20, 2013

    出来后,吼一嗓子。

  • 看到好多不懂技术,做 niche 站月收入比普通 rails 年收入还高。。。 at August 18, 2013

    又一个搞不清自己想要什么的人

  • [已解决] mina deploy 时出现 locale 问题 at August 17, 2013

    我也出现这个问题了,之所以出现这个问题,是不是因为:

    ssh 远程登录时想将我客户端的 locale 用在 server 上。结果 server 段没有 en_US,就报了错?

    right?

  • [解决] 无密码登陆 VPS at August 17, 2013

    记得把.ssh 文件夹的权限改为 744,authorized_keys 改为 644

    为了安全,顺便把密码登录关掉。

  • 如何开始你的 SOHO 之旅 (1) at August 16, 2013

    是不是只有中级以上的程序员才适合做 freelancer?

  • Ruby 的机器学习项目 at August 15, 2013

    不错不错。

  • 国内程序员与国外程序员最大的差别是什么? at August 14, 2013

    #2 楼 @blacktulip

    你是基督徒吗?😄

  • 今天在 3W 咖啡,如果坛子里有人也在,欢迎过来聊聊 at August 13, 2013

    照片呢?

  • 今天在 3W 咖啡,如果坛子里有人也在,欢迎过来聊聊 at August 13, 2013

    #3 楼 @jarorwar 记得上照片

  • 有类似车库那样的工作地方,又没有那么多活动的么?哇哈哈 at August 12, 2013

    上海图书馆,学习的不二选择。

  • 有类似车库那样的工作地方,又没有那么多活动的么?哇哈哈 at August 12, 2013

    图书馆

  • 一个 codeschool.com 可以免费入学 48 小时的链接 at August 10, 2013

    这种 promotion 的帖子,建议管理员直接删除。 @rei

  • [上海][2013年8月10日] Ruby Tuesday 活动召集 (周六) at August 10, 2013

    一次安排到周中,一次安排到周末

    支持 👍

  • [上海][2013年8月10日] Ruby Tuesday 活动召集 (周六) at August 10, 2013

    Kevin 好帅啊 gene_wu 好黑啊

    今天好欢乐。

  • Prev
  • 1
  • 2
  • …
  • 34
  • 35
  • 36
  • 37
  • 38
  • …
  • 47
  • 48
  • Next
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English