提交了一个文件花了 10 分钟,然后用半个小时去想怎么把注释写漂亮
请教个问题,在 Ubuntu 下装了 oh-my-zsh 之后安装了 ruby,然后用 gem 安装了 linner,但是 linner 一直不可以用,是需要配置下 linner 的 path 吗?
错误信息如下:
dupeng@ubuntu ~/Dev/git-repository/linner0test linner new webapp & cd webapp
[1] 96495
cd: 没有那个文件或目录:webapp
✘ dupeng@ubuntu ~/Dev/git-repository/linner0test /home/dupeng/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/dependency.rb:319:in to_specs': Could not find 'linner' (>= 0.a) among 16 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/home/dupeng/.gem/ruby/2.3.0:/home/dupeng/.rvm/rubies/ruby-2.3.0/lib/ruby/gems/2.3.0', execute
gem envfor more information
from /home/dupeng/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/dependency.rb:328:in
to_spec'
from /home/dupeng/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in gem'
from /home/dupeng/.rvm/gems/ruby-2.3.0/bin/linner:22:in
eval'
from /home/dupeng/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in
'
[1] + 96495 exit 1 linner new webapp