2015-09-20 111 views
0

我剛跑bundle gem minion來創建一個名爲minion的新寶石。然而,當我嘗試用`ruby來測試它時,它會拋出錯誤Bundler + new gem:無法加載這樣的文件 - minion/version(LoadError)

[~/Documents/minion]$ ruby lib/minion.rb 
    /opt/boxen/rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- minion/version (LoadError) 
     from /opt/boxen/rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' 
     from minion.rb:1:in `<main>' 

??

的lib/minion.rb

require "minion/version" 
# require "yahoo-finance" 

module Minion 
end 

的lib /僕從/ version.rb

module Minion 
    VERSION = "0.1.0" 
end 

我沒有做這個應用程式內容。我在想什麼?

回答

相關問題