heroku 创建时出错,rails 2.3.8

发布于 2024-11-09 06:31:08 字数 1359 浏览 0 评论 0原文

我在 Windows XP 上运行 Rails 2.3.8,并第一次尝试在 Heroku 上部署。开发中一切正常,但是当我执行 heroku create 时,我得到以下信息,有什么想法吗?谢谢。

C:/Ruby/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:50: warning: parenthesize argument(s) for future version
C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command/base.rb:130:in `extract_description': wrong argument type Symbol (expected Proc) (TypeError)
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command/base.rb:126:in `extract_summary'
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command/base.rb:64:in `method_added'
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command/addons.rb:14
        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command.rb:17:in `load'
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command.rb:16:in `each'
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command.rb:16:in `load'
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/bin/heroku:13
        from C:/Ruby/bin/heroku:19:in `load'
        from C:/Ruby/bin/heroku:19

I'm running rails 2.3.8 on Windows XP and trying for my first time to deploy on Heroku. Everything works fine in development but when I do heroku create, I get the following, any ideas? Thanks.

C:/Ruby/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:50: warning: parenthesize argument(s) for future version
C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command/base.rb:130:in `extract_description': wrong argument type Symbol (expected Proc) (TypeError)
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command/base.rb:126:in `extract_summary'
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command/base.rb:64:in `method_added'
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command/addons.rb:14
        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command.rb:17:in `load'
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command.rb:16:in `each'
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/lib/heroku/command.rb:16:in `load'
        from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-2.1.4/bin/heroku:13
        from C:/Ruby/bin/heroku:19:in `load'
        from C:/Ruby/bin/heroku:19

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文