Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
小菜鸟
@sige
会员
第 4901 位会员 / 2012-12-07

2 篇帖子 / 9 条回帖
0 关注者
0 正在关注
0 收藏
未设置 GitHub 信息。
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 重启 thin 遇到这样的错误,求解答啊 at 2012年12月09日

    #9 楼 @sige
    ubuntu@li494-179:~/www$ RAILS_ENV=production bundle exec rake assets:precompile /home/ubuntu/.rvm/rubies/ruby-1.9.2-p320/bin/ruby /home/ubuntu/.rvm/gems/ruby-1.9.2-p320/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets

    这是执行结果,上面那个按照你说的执行是没有问题的

  • 重启 thin 遇到这样的错误,求解答啊 at 2012年12月09日

    http://rabelapp.com/t/80,就是按照这个升级的时候

  • 重启 thin 遇到这样的错误,求解答啊 at 2012年12月09日

    #6 楼 @lgn21st RAILS_ENV=production rake assets:precompile 接下里的这一步,我可不可以也仿照你的改成 RAILS_ENV=production bundle exec rake assets:precompile 昵 问题比较多,估计也问的你烦,不过折腾了很久,上次成功,这次就不行了

  • 重启 thin 遇到这样的错误,求解答啊 at 2012年12月08日

    #3 楼 @lgn21st

    ubuntu@li494-179:~/wwww$ RAILS_ENV=production rake db:migrate
    rake aborted!
    You have already activated rake 10.0.2, but your Gemfile requires rake 0.9.2.2. Using bundle exec may solve this.
    /home/ubuntu/.rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.2.0/lib/bundler/runtime.rb:31:in `block in setup'
    /home/ubuntu/.rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.2.0/lib/bundler/runtime.rb:17:in `setup'
    /home/ubuntu/.rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.2.0/lib/bundler.rb:116:in `setup'
    /home/ubuntu/.rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.2.0/lib/bundler/setup.rb:7:in `<top (required)>'
    /home/ubuntu/dream-vyy/config/boot.rb:6:in `<top (required)>'
    /home/ubuntu/dream-vyy/config/application.rb:1:in `<top (required)>'
    /home/ubuntu/dream-vyy/Rakefile:5:in `<top (required)>'
    (See full trace by running task with --trace)
    

    就是我执行 RAILS_ENV=production rake db:migrate 的时候提升这个。所以一直不成功不知道为什么啊,求解答

  • 重启 thin 遇到这样的错误,求解答啊 at 2012年12月08日

    #3 楼 @lgn21st 我自己再试试,多 google 下。我记起来了,昨天 bundle install 的时候不成功,我把整个/home/ubuntu/下面的所有文件夹全部 chmod -R 777 了,我现在可以把这个目录全部改成 755 么,ubuntu 是我的用户

  • 重启 thin 遇到这样的错误,求解答啊 at 2012年12月08日

    #1 楼 @lgn21st 但是网站总是显示 502,不能运行起来啊

  • bundle install 出现 cloud not 的错误,求指导啊 at 2012年12月08日

    #5 楼 @guyanbiao 貌似已经 bundle install 已经解决了,就是目录没有读写权限的问题。

  • bundle install 出现 cloud not 的错误,求指导啊 at 2012年12月08日

    #2 楼 @googya 是使用 bundle install 的时候显示 unfortunate 什么的

  • bundle install 出现 cloud not 的错误,求指导啊 at 2012年12月08日

    #1 楼 @guyanbiao mysql 啊 多谢啊

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