机子使用 rvm 安装的 ruby,启动速度很慢,用 strace 跟踪了一下发现会加载大量库的 encodeing... 设置为什么? stat("/home/god/.rvm/gems/ruby-2.2.3/gems/sprockets-3.7.1/lib/irb/lc/en_US.UTF-8/encoding_aliases.rb", 0x7ffc68053d60) = -1 ENOENT (No such file or directory) stat("/home/god/.rvm/gems/ruby-2.2.3/gems/sprockets-3.7.1/lib/irb/lc/en_US.UTF-8/encoding_aliases.rb.rb", 0x7ffc68053d60) = -1 ENOENT (No such file or directory) stat("/home/god/.rvm/gems/ruby-2.2.3/gems/sprockets-3.7.1/lib/irb/lc/en_US.UTF-8/encoding_aliases.rb.so", 0x7ffc68053d60) = -1 ENOENT (No such file or directory) stat("/home/god/.rvm/gems/ruby-2.2.3/gems/sprockets-3.7.0/lib/irb/lc/en_US.UTF-8/encoding_aliases.rb", 0x7ffc68053d60) = -1 ENOENT (No such file or directory) stat("/home/god/.rvm/gems/ruby-2.2.3/gems/sprockets-3.7.0/lib/irb/lc/en_US.UTF-8/encoding_aliases.rb.rb", 0x7ffc68053d60) = -1 ENOENT (No such file or directory) stat("/home/god/.rvm/gems/ruby-2.2.3/gems/sprockets-3.7.0/lib/irb/lc/en_US.UTF-8/encoding_aliases.rb.so", 0x7ffc68053d60) = -1 ENOENT (No such file or directory) stat("/home/god/.rvm/gems/ruby-2.2.3/gems/sprockets-3.5.2/lib/irb/lc/en_US.UTF-8/encoding_aliases.rb", 0x7ffc68053d60) = -1 ENOENT (No such file or directory) stat("/home/god/.rvm/gems/ruby-2.2.3/gems/sprockets-3.5.2/lib/irb/lc/en_US.UTF-8/encoding_aliases.rb.rb", 0x7ffc68053d60) = -1 ENOENT (No such file or directory) stat("/home/god/.rvm/gems/ruby-2.2.3/gems/sprockets-3.5.2/lib/irb/lc/en_US.UTF-8/encoding_aliases.rb.so", 0x7ffc68053d60) = -1 ENOENT (No such file or directory) stat("/home/god/.rvm/gems/ruby-2.2.3/gems/sprockets-3.4.1/lib/irb/lc/en_US.UTF-8/encoding_aliases.rb", 0x7ffc68053d60) = -1 ENOENT (No such file or directory) stat("/home/god/.rvm/gems/ruby-2.2.3/gems/sprockets-3.4.1/lib/irb/lc/en_US.UTF-8/encoding_aliases.rb.rb", 0x7ffc68053d60) = -1 ENOENT (No such file or directory) stat("/home/god/.rvm/gems/ruby-2.2.3/gems/sprockets-3.4.1/lib/irb/lc/en_US.UTF-8/encoding_aliases.rb.so", 0x7ffc68053d60) = -1 ENOENT (No such file or directory)