我試圖運行rspec,但出現以下錯誤。運行麻煩rspec
/Users/xy/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/bundler-1.9.4/lib/bundler.rb:317: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
/Users/xy/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/bundler-1.9.4/lib/bundler.rb:317: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
You are using Curb 0.7.10. WebMock supports version >= 0.7.16.
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from extend at /Users/xy/ht-webapp12/config/initializers/mysql2_column_cache.rb:3)
/Users/xy/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11/lib/mysql2/client.rb:44:in `connect': Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (Mysql2::Error)
有誰知道如何解決它?
你可以用Gemfile和Gemfile.lock的內容更新問題嗎? – rorra