我有要运行的文件:
我写的时候:
wraith capture configs/config.yaml
我有下一个:
/Users/lvlmd/wraith/lib/wraith/wraith.rb:172:in `[]': no implicit conversion of String into Integer (TypeError)
from /Users/lvlmd/wraith/lib/wraith/wraith.rb:172:in `verbose'
from /Users/lvlmd/wraith/lib/wraith/wraith.rb:11:in `initialize'
from /Users/lvlmd/wraith/lib/wraith/validate.rb:10:in `new'
from /Users/lvlmd/wraith/lib/wraith/validate.rb:10:in `initialize'
from /Users/lvlmd/wraith/lib/wraith/cli.rb:132:in `new'
from /Users/lvlmd/wraith/lib/wraith/cli.rb:132:in `block in capture'
from /Users/lvlmd/wraith/lib/wraith/cli.rb:28:in `within_acceptable_limits'
from /Users/lvlmd/wraith/lib/wraith/cli.rb:131:in `capture'
from /Users/lvlmd/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Users/lvlmd/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Users/lvlmd/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /Users/lvlmd/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /Users/lvlmd/.rvm/gems/ruby-2.2.1@global/gems/wraith-3.1.2/bin/wraith:5:in `<top (required)>'
from /Users/lvlmd/.rvm/rubies/ruby-2.2.1/bin/wraith:23:in `load'
from /Users/lvlmd/.rvm/rubies/ruby-2.2.1/bin/wraith:23:in `<main>'
from /Users/lvlmd/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
from /Users/lvlmd/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'
如何解决这个问题?如何开始流程?我无法理解这个问题。
答案 0 :(得分:0)
答案 1 :(得分:0)
问题解决了。
已编辑.bash_profile 添加
export PATH=/Users/User_Name/.rvm/gems/ruby-2.3.0/bin/wraith:$PATH