我是比較新的導軌和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
嘗試'捆綁安裝'。 – Pavan
*請參閱上面的編輯 –
,您的'Gemfile'中有語法錯誤。張貼 –