<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>315046509 (ROR程序源)</title>
    <link>https://ruby-china.org/315046509</link>
    <description/>
    <language>en-us</language>
    <item>
      <title>rake assets:precompile 报错</title>
      <description>&lt;p&gt;求大神帮忙看看！这里是怎么了！我用 production 环境启动服务 报错！
网上查了很久，都没有类似的错误！
rake aborted!
Asset logical path has no extension: pa
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/asset.rb:36:in &lt;code&gt;initialize'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/base.rb:380:in&lt;/code&gt;new'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/base.rb:380:in &lt;code&gt;build_asset'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/index.rb:94:in&lt;/code&gt;block in build_asset'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/caching.rb:58:in &lt;code&gt;cache_asset'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/index.rb:93:in&lt;/code&gt;build_asset'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/base.rb:287:in &lt;code&gt;find_asset'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/index.rb:61:in&lt;/code&gt;find_asset'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:211:in &lt;code&gt;block in find_asset'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:257:in&lt;/code&gt;benchmark'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:210:in &lt;code&gt;find_asset'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:119:in&lt;/code&gt;block in compile'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:118:in &lt;code&gt;each'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:118:in&lt;/code&gt;compile'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-rails-2.0.1/lib/sprockets/rails/task.rb:60:in &lt;code&gt;block (3 levels) in define'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-2.11.0/lib/rake/sprocketstask.rb:146:in&lt;/code&gt;with_logger'
/home/sc/.rvm/gems/ruby-2.0.0-p353/gems/sprockets-rails-2.0.1/lib/sprockets/rails/task.rb:59:in &lt;code&gt;block (2 levels) in define'
/home/sc/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in&lt;/code&gt;eval'
/home/sc/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `&lt;/p&gt;'
Tasks: TOP =&amp;gt; assets:precompile
(See full trace by running task with --trace)&lt;p&gt;&lt;/p&gt;</description>
      <author>315046509</author>
      <pubDate>Wed, 23 Apr 2014 10:34:11 +0800</pubDate>
      <link>https://ruby-china.org/topics/18787</link>
      <guid>https://ruby-china.org/topics/18787</guid>
    </item>
    <item>
      <title>bundle 报错，大神们求救，</title>
      <description>&lt;p&gt;bundle 报错，大神们救救我，非常非常感谢
帮小弟看看这是怎么回事！找了很多人都不知道怎么解决
重新安装了 ruby，还是这样！
ruby 版本是：ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]
gem 版本是：2.2.2
Gemfile 加入新的 gem，bundle 后会报：
Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at &lt;a href="http://bit.ly/bundler-issues" rel="nofollow" target="_blank"&gt;http://bit.ly/bundler-issues&lt;/a&gt;. Thanks!&lt;/p&gt;

&lt;p&gt;/home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/net/http.rb:878:in &lt;code&gt;initialize': No such file or directory - getaddrinfo (Errno::ENOENT)
    from /home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/net/http.rb:878:in&lt;/code&gt;open'
    from /home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/net/http.rb:878:in &lt;code&gt;block in connect'
    from /home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/timeout.rb:52:in&lt;/code&gt;timeout'
    from /home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/net/http.rb:877:in &lt;code&gt;connect'
    from /home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/net/http.rb:862:in&lt;/code&gt;do_start'
    from /home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/net/http.rb:857:in &lt;code&gt;start'
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
    from /home/sc/.rvm/gems/ruby-2.0.0-p353@global/bin/bundle:23:in&lt;/code&gt;load'
    from /home/sc/.rvm/gems/ruby-2.0.0-p353@global/bin/bundle:23:in &lt;code&gt;&amp;lt;main&amp;gt;'
    from /home/sc/.rvm/gems/ruby-2.0.0-p353@global/bin/ruby_executable_hooks:15:in&lt;/code&gt;eval'
    from /home/sc/.rvm/gems/ruby-2.0.0-p353@global/bin/ruby_executable_hooks:15:in `&lt;/p&gt;'&lt;p&gt;&lt;/p&gt;</description>
      <author>315046509</author>
      <pubDate>Mon, 31 Mar 2014 14:30:21 +0800</pubDate>
      <link>https://ruby-china.org/topics/18279</link>
      <guid>https://ruby-china.org/topics/18279</guid>
    </item>
  </channel>
</rss>
