[問題] mogilefs-client 在 ror 3.2.9
環境:
e.g. Ruby 1.8.7 Rails 3.2.9
狀況:
我長期以來在 rails 2.3.11 下使用 mogilefs-client 都沒什麼問題
昨天想要試著使用 rails 3.2.9
我裝上了許多 gem 都沒什麼問題,如 rmagick hpricot mysql2 ....
但是在我安裝 mogilefs-client 後,卻無法使用。
我照著網路上的手冊
bash > gem install mogilefs-client
接著我的 GEMFILE
gem 'mogilefs-client', '3.5.0'
啟動時發生了狀況…,不知道有沒有人可以幫幫忙~
/Users/nora/.rvm/gems/ruby-1.8.7-p371/gems/mogilefs-client-3.5.0/lib/
mogilefs/client.rb:7: uninitialized constant MogileFS (NameError)
from /Users/nora/.rvm/gems/ruby-1.8.7-p371/gems/bundler-1.2.3/lib/
bundler/runtime.rb:74:in `require'
from /Users/nora/.rvm/gems/ruby-1.8.7-p371/gems/bundler-1.2.3/lib/
bundler/runtime.rb:74:in `require'
from /Users/nora/.rvm/gems/ruby-1.8.7-p371/gems/bundler-1.2.3/lib/
bundler/runtime.rb:55:in `each'
from /Users/nora/.rvm/gems/ruby-1.8.7-p371/gems/bundler-1.2.3/lib/
bundler/runtime.rb:55:in `require'
from /Users/nora/.rvm/gems/ruby-1.8.7-p371/gems/bundler-1.2.3/lib/
bundler.rb:128:in `require'
from /Users/nora/Sites/fms_3/config/application.rb:7
from /Users/nora/.rvm/gems/ruby-1.8.7-p371/gems/railties-3.2.9/lib/
rails/commands.rb:53:in `require'
from /Users/nora/.rvm/gems/ruby-1.8.7-p371/gems/railties-3.2.9/lib/
rails/commands.rb:53
from /Users/nora/.rvm/gems/ruby-1.8.7-p371/gems/railties-3.2.9/lib/
rails/commands.rb:50:in `tap'
from /Users/nora/.rvm/gems/ruby-1.8.7-p371/gems/railties-3.2.9/lib/
rails/commands.rb:50
from script/rails:6:in `require'
from script/rails:6
附錄:
e.g. 程式、連結、參考資料等
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.21.214.253
→
12/10 21:22, , 1F
12/10 21:22, 1F
→
12/11 09:08, , 2F
12/11 09:08, 2F
討論串 (同標題文章)
完整討論串 (本文為第 1 之 4 篇):
Ruby 近期熱門文章
PTT數位生活區 即時熱門文章