Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Rei
@Rei
Admin
NO. 1 / 2011-10-28

[email protected]
深圳
182 Topics / 9132 Replies
727 Followers
0 Following
11 Favorites
中下水平 Rails 程序员
Reward
GitHub Public Repos
  • writings 940

    [Closed] Source code of writings.io

  • alipay 732

    Unofficial alipay ruby gem

  • code_campo 291

    [Closed] Source code of http://codecampo.com

  • asciidoctor-pdf-cjk-ka... 101

    **no longer maintained**

  • asciidoctor-htmlbook 31

    Asciidoctor HTMLBook is an Asciidoctor backend for converting AsciiDoc documents to HTMLBook docu...

  • material-ui 17

  • rich-text-editor 12

  • htmlrenderer 12

  • rails-chatgpt-demo 8

  • rails-app 7

    A Rails project template lets me start new projects quickly.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 关于 sprockets 中的 require 和 scss 中 @import 的一些疑问。 at April 21, 2014

    CSS 的 import 是 CSS 的 import,SCSS 的 import 是 SCSS 的 import。

  • 关于 sprockets 中的 require 和 scss 中 @import 的一些疑问。 at April 21, 2014

    https://github.com/chloerei/campo/blob/master/app/assets/stylesheets/application.css.scss

  • 部署完成后访问出现:We're sorry, but something went wrong at April 21, 2014

    应用内错误,检查项目文件夹下的 log/production.log

  • RVM 安装和使用 at April 20, 2014

    http://ruby-china.org/notes 笔记功能

  • deploy rails4 with nginx and passenger need run "bundle exec rake assets:precompile"? at April 20, 2014

    #48 楼 @yehualiu 把代码 push 到 github。

  • 部署完成后访问 403 Forbidden at April 20, 2014

    系统、版本完全不一样,不要说参考 wiki 啊……

  • cap 部署时,releases 中生成的目录名是时间戳,但是不是东八区,而是 0 时区 at April 20, 2014

    我也觉得 UTC 好。

  • cap 部署时,releases 中生成的目录名是时间戳,但是不是东八区,而是 0 时区 at April 20, 2014

    #4 楼 @ericguo 你可以打个 monkey patch。

  • cap 部署时,releases 中生成的目录名是时间戳,但是不是东八区,而是 0 时区 at April 20, 2014

    这得去看源码了。

  • passenger-install-nginx 编译 Nginx 出错 at April 20, 2014

    #14 楼 @lonre 现在有 RSync 方式挂载可以解决,但是测试了一下响应事件有 2 秒延迟,所以我还是在本机开发了。

  • passenger-install-nginx 编译 Nginx 出错 at April 20, 2014

    #12 楼 @xautjzd Linode 或者 digitalocean

    CentOS 给我的感觉就是各种编译(和问题),用 Ubuntu 基本都有编译好的包。

  • passenger-install-nginx 编译 Nginx 出错 at April 20, 2014

    #7 楼 @xautjzd 哈,没留意。用 Ubuntu 吧。

  • passenger-install-nginx 编译 Nginx 出错 at April 20, 2014

    #4 楼 @xautjzd 有可能。建议用 passenger 预编译好的包,就是为了避免这个问题的。

  • passenger-install-nginx 编译 Nginx 出错 at April 20, 2014

    另外我建议错误日志发文本,不要截图。

  • passenger-install-nginx 编译 Nginx 出错 at April 20, 2014

    我感觉错误提示在下一行。

  • Gemfile syntax error compile error on line 19: syntax error, unexpected ':', expecting $end gem 'therubyracer', platforms: :ruby ^ (Bundler::GemfileError) at April 20, 2014

    Passenger 3 只支持在全局域设置 passenger_ruby,所以会出现 nginx: [emerg] "passenger_ruby" directive is not allowed here in

    楼主真的要严格按照文档上显示的版本来做的,版本号不是为了好看的。

  • Gemfile syntax error compile error on line 19: syntax error, unexpected ':', expecting $end gem 'therubyracer', platforms: :ruby ^ (Bundler::GemfileError) at April 20, 2014

    #26 楼 @xautjzd 如果你用 centos 源安装,那么就是 centos 的人员维护的版本,会落后 passenger 最新版本很多。

    passenger 有提供他们的 yum 源 http://www.modrails.com/documentation/Users%20guide%20Nginx.html#_installing_or_upgrading_on_red_hat_fedora_centos_or_scientificlinux

    每个发行版的目录结构都有差异的,用你最熟悉或者最容易找到人帮忙那个。

  • 大家看看 iamrubyer.com 这个域名如何 at April 20, 2014

    #5 楼 @chunlea 主楼瞬间贬值。

  • ‘DevOps’ 是如何伤害一个开发者的 at April 20, 2014

    #11 楼 @whhh 求解,国内不可以写代码写到退休吗?

  • 大家看看 iamrubyer.com 这个域名如何 at April 20, 2014

    还行。

  • deploy rails4 with nginx and passenger need run "bundle exec rake assets:precompile"? at April 20, 2014

    #32 楼 @yehualiu 那么你觉得错误的样式是什么,调试看看它的 css 是什么,有没有对应样式。

  • deploy rails4 with nginx and passenger need run "bundle exec rake assets:precompile"? at April 20, 2014

    #29 楼 @yehualiu 那么你要有针对性的查看 zurb foundation 的文件有没有载入:

    1. 打开浏览器调试,看看对应的 css 或其他静态文件有没有载入
    2. 检查 public/assets 下面有没有正确生成静态文件
  • deploy rails4 with nginx and passenger need run "bundle exec rake assets:precompile"? at April 20, 2014

    日志显示 public 目录下没有 /default/logo.png 这个文件。我想不至于导致样式不正常吧。

    其实到现在我都不知道楼主想做什么,发生了什么错误。

  • Ubuntu 14.04 LTS 发布 at April 20, 2014

    #23 楼 @chairy11 :plus1:

  • deploy rails4 with nginx and passenger need run "bundle exec rake assets:precompile"? at April 20, 2014

    #23 楼 @yehualiu 那么你看看 production 下是什么错误。

  • Gemfile syntax error compile error on line 19: syntax error, unexpected ':', expecting $end gem 'therubyracer', platforms: :ruby ^ (Bundler::GemfileError) at April 20, 2014

    #10 楼 @ericguo 现在用 deb 装比较好,不然升级的时候还得自己编译。

  • 使用 vagrant 和 knife-solo 在 AWS 上搭建开发环境 at April 20, 2014

    其实贴链接就好了。

  • Gemfile syntax error compile error on line 19: syntax error, unexpected ':', expecting $end gem 'therubyracer', platforms: :ruby ^ (Bundler::GemfileError) at April 20, 2014

    nginx.conf 里面的 ruby 路径设置不对,按照你的安装目录应该有这一行:

    passenger_ruby /usr/local/rvm/wrappers/ruby-2.0.0-p451/ruby; # 不确定对不对,查下是否有这个文件
    
  • deploy rails4 with nginx and passenger need run "bundle exec rake assets:precompile"? at April 20, 2014

    #20 楼 @yehualiu 这个只是有属性无效的警告,不是错误。

  • tornado 的路由方式似乎更好理解些 at April 20, 2014

    Rails is omakase - 中文版 http://ruby-china.org/topics/7791

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