2014-05-18 73 views
0

我是比較新的導軌和Ruby,但是當我嘗試做軌道-s或導軌-v我得到這個錯誤找不到RubyGem國際化

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in `report_activate_error': Could not find RubyGem i18n (>= 0.6.4, ~> 0.6) (Gem::LoadError) 
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in `activate' 
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:246:in `activate' 
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245:in `each' 
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245:in `activate' 
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:246:in `activate' 
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245:in `each' 
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245:in `activate' 
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in `gem' 
from /usr/local/rvm/gems/ruby-2.1.1/bin/rails:22 
from /usr/local/rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15 

不知道是什麼原因引起的,不然怎麼我可以修復它。

編輯

試圖捆綁安裝後我得到這個錯誤:

Gemfile syntax error compile error 
on line 73: syntax error, unexpected ':', expecting $end 
gem 'thin', group: [:production] 
      ^

73號線在我的Gemfile

gem 'thin', group: [:production] 

EDIT 2

Gemfile Gist

+0

嘗試'捆綁安裝'。 – Pavan

+0

*請參閱上面的編輯 –

+0

,您的'Gemfile'中有語法錯誤。張貼 –

回答

0

語法關閉。只要使用這個

group :production do 
    gem 'thin' 
end 
+0

這仍然會引發語法錯誤。我在上面添加了gem文件 –

+0

我可以看到整個gemfile嗎? – sonnyhe2002