• 可以写个脚本 用 shell 命令 zip 压缩文件夹,然后整体上传,可以用 httparty 这个 gem,上传服务器后写个脚本 由服务器自动解压缩即可 可能用到的 gem 有 httparty rubyzip httmultiparty 祝你好运

  • @hz_qiuyuanxin pg=postgresql

  • @saberma 问题已解决,真的是空格的事儿,敬仰如滔滔江水啊。。。。

  • @saberma 我运行 bundle exec rake "shopqi:bootstrap[mysql]",突然蹦出的这个错误的

  • @saberma 谢谢你的回复! 应该不是吧。。。我已经安装了 rubychina 和 refinery 的源码 都跑的挺正常的啊,而且我看了 shopqi/data/shops/development/1/themes/1/config/目录下是空的,确实没有 settings_data.json 这个文件

  • 问题已经解决!我没有启动 redis 服务,低级错误啊。。。。

  • @huacnlee 内个。。。有时间的话,能帮看看么,我全都装好了 在 rails s 后,运行 0.0.0.0:3000 后出现的这个错误,先谢谢了!

  • @saberma 在么?能帮忙解决一下么? tar (child): /home/duan/Documents/Aptana:无法 open: 没有那个文件或目录 tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now rake aborted! No such file or directory - /home/duan/Documents/Aptana Studio 3 Workspace/shopqi/data/shops/development/1/themes/1/config/settings_data.json

    Tasks: TOP => db:setup => db:seed => db:seed:development => db:seed:development:shop 不尽感谢啊!

  • 刚刚是截的图片 还是把代码粘上来吧

    SocketError in Home#index

    Showing /home/duan/Documents/Aptana Studio 3 Workspace/ruby-china/app/views/home/index.html.erb where line #1 raised:

    getaddrinfo: No address associated with hostname Extracted source (around line #1):

    1: <%= raw SiteConfig.index_html %> 2: <% content_for :styles do %> 3: <%= stylesheet_link_tag "home" %> 4: <% end %> Rails.root: /home/duan/Documents/Aptana Studio 3 Workspace/ruby-china

    Application Trace | Framework Trace | Full Trace app/models/site_config.rb:48:in find_by_key' app/models/site_config.rb:33:inblock in method_missing' app/models/site_config.rb:32:in rescue in method_missing' app/models/site_config.rb:19:inmethod_missing' app/views/home/index.html.erb:1:in `app_views_home_index_html_erb__375013212_85232000'

  • 我也是这个错误。。。同求。。。

  • 你好 我安装是遇到了问题。 tar (child): /home/duan/Documents/Aptana:无法 open: 没有那个文件或目录 tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now rake aborted! No such file or directory - /home/duan/Documents/Aptana Studio 3 Workspace/shopqi/data/shops/development/1/themes/1/config/settings_data.json

    Tasks: TOP => db:setup => db:seed => db:seed:development => db:seed:development:shop

    这个是怎么回事儿啊?