Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
stephen
@stephen
VIP
NO. 445 / 2011-12-11

广东云浮新兴
249 Topics / 675 Replies
6 Followers
1 Following
173 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 大家升级到 xcode4.3.1 了吗?还有大家用 macport 还是 homebrew?? at March 14, 2012

    恩恩,尝试下 xcode 最新的,

  • 发觉这里很多人用 Devise,谁能分享比较 Devise 和 Sorcery at March 12, 2012

    @huacnlee 我现在也用 socery,之前用 devise,是因为定制麻烦,socery 是别人推荐的!

  • 用 Bootstrap,IE6 下悲催了 at March 11, 2012

    @ivice 太牛了

  • 用 Bootstrap,IE6 下悲催了 at March 11, 2012

    唉但是怎能保证呢特别站点用户群大,年龄大的`连 win7 都不知道是什么

  • Endless Scroll 更新了:) at March 11, 2012

    IE9 没效果?@fredwu

  • 求一个摄影社区的程序 at March 11, 2012

    业余空闲,3000,以为拿来练练手,但一看功能描述!石化了!

  • [上海] 创业公司招 ruby 攻城狮 at March 11, 2012

    @adventurelw @ywencn 这些攻城的不是雄狮,是雌狮,雄狮是坐在最高,然后观望,最后分享成果的那个!

  • 请允许我拿 ruby-china 开刀 - web 界面 at March 11, 2012

    @kgen 恩恩,美洲狮公母一个样的,其实不是狮子,是猫!

  • falcon, punch, perf, p0, p125,各位在用哪个? at March 10, 2012

    @cqpx 你的问题是否是这个http://ruby-china.org/topics/105

  • falcon, punch, perf, p0, p125,各位在用哪个? at March 10, 2012

    p125

  • 请允许我拿 ruby-china 开刀 - web 界面 at March 10, 2012

    @kgen Mountain Lion 作为母狮?美洲狮,公母一个样的吧!

  • KissyEditor 有做成 gem? KissyEditor 是怎样实现所见所得的? at March 09, 2012

    @huacnlee 恩恩,看过官方文档,是没必要做成 GEM·····

  • KissyEditor 有做成 gem? KissyEditor 是怎样实现所见所得的? at March 09, 2012

    @huobazi 好的,我去看看

  • 尝试 Rails,问个比较随便的问题。 at March 08, 2012

    其实@kevin__liu 的意思是想这里的高手,写一篇详细的教程,从部署,到开发,甚至来个大项目的示例讲解???

  • 各位是因为什么事件和原因接触到 Ruby at March 06, 2012

    @ywencn 记错了吗?忘记了,哈哈,因为我用了没几天,就升级到 3.0 了,然后一出新的就升级

  • 各位是因为什么事件和原因接触到 Ruby at March 06, 2012

    @poshboytl 因为 DHH 本人的 15 分钟 blog screencast.... 就深深爱上无法自拔.... 当时版本应该是 2.9。

  • 卡在 assets:precompile 了 at March 06, 2012

    @linjunhalida app 是自己写的,用 coffeescript,其他都是插件了

  • 卡在 assets:precompile 了 at March 06, 2012

    @linjunhalida

    // This is a manifest file that'll be compiled into including all the files listed below.
    // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
    // be included in the compiled file accessible from http://example.com/assets/application.js
    // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
    // the compiled file.
    //
    //= require jquery
    //= require jquery_ujs
    //= require jquery-ui
    //= require autocomplete-rails
    //= require jquery.form
    //= require jquery.remotipart
    //= require jquery.autogrow-textarea
    //= require jquery.caret
    //= require rails.validations
    //= require bootstrap.min
    //= require app
    
    
  • cap deploy Could not find rake-0.9.2.2 in any of the sources at March 02, 2012

    deploy.rb

    $:.unshift(File.expand_path('./lib', ENV['rvm_path']))
    require "rvm/capistrano"
    
    set :user, "stephen"
    set :runner, "apps"
    set :group, "apps"
    
    set :application, "blog"
    set :rvm_ruby_string, "ruby-1.9.2-p290@global"
    set :rvm_path, "/home/stephen/.rvm"
    set :rvm_bin_path, "/home/stephen/.rvm/bin"
    set :rvm_trust_rvmrcs_flag, 1
    set :normalize_asset_timestamps, false
    
    set :scm, :git
    set :domain, "vm-192-168-11-11.shengyun.grandcloud.cn"
    set :repository,  "git://github.com/85636682/blog.git"
    set :branch, "master"
    
    set :deploy_to, "/home/apps/#{application}"
    set :deploy_via, :remote_cache
    set :git_shallow_clone, 1
    set :deploy_env, "production"
    set :rails_env, "production"
    set :scm_verbose, true
    set :use_sudo, false
    
    
    
    role :web, domain                          # Your HTTP server, Apache/etc
    role :app, domain                          # This may be the same as your `Web` server
    role :db,  domain, :primary => true # This is where Rails migrations will run
    
    namespace :deploy do
    
      task :init_shared_path, :roles => :web do
        run "mkdir -p #{deploy_to}/shared/log"
        run "mkdir -p #{deploy_to}/shared/pids"
        run "mkdir -p #{deploy_to}/shared/assets"
      end
    
      task :link_shared_files, :roles => :web do
        run "ln -sf #{deploy_to}/shared/config/database.yml #{deploy_to}/current/config/database.yml"
        run "ln -s #{deploy_to}/shared/assets #{deploy_to}/current/public/assets"
      end
    
      task :install_gems, :roles => :web do
        run "cd #{deploy_to}/current/; bundle install --without development test"
      end
    
      task :compile_assets, :roles => :web do
        run "cd #{deploy_to}/current/; bundle exec rake assets:precompile"
      end
    
    end
    
    # if you're still using the script/reaper helper you will need
    # these http://github.com/rails/irs_process_scripts
    
    # If you are using Passenger mod_rails uncomment this:
    # namespace :deploy do
    #   task :start do ; end
    #   task :stop do ; end
    #   task :restart, :roles => :app, :except => { :no_release => true } do
    #     run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}"
    #   end
    # end
    
  • Prev
  • 1
  • 2
  • …
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • Next
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English