2012-06-22 50 views
1

在應用程序中要求r18n文件後,我得到TypeError: can't convert Pathname to StringTypeError:無法將路徑名轉換爲字符串

myapp.rb

require 'sinatra/r18n' 

這是我的Gemfile:

gem 'sinatra-r18n' 

任何想法?

+1

您使用的是什麼版本的紅寶石? 'myapp.rb'還有什麼?你打電話給'require'bundler/setup''嗎? 'Gemfile'還有什麼? Bundler不會在沒有'source'行的情況下運行。 –

回答

2

更新sinatra-r18n,這是老問題。

相關問題