我使用下面是指令将tmuxinator安装到cygwin中。红宝石和那里一样。整个安装都是成功的,但是如果我运行tmuxinator,我会得到以下错误:
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> gem list
*** LOCAL GEMS ***
builder (3.2.3)
did_you_mean (1.0.2)
erubis (2.7.0)
minitest (5.10.3)
psych (2.2.4)
rake (12.1.0)
rdoc (5.1.0)
thor (0.20.0)
tmuxinator (0.12.0)
xdg (2.2.3)
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> tmuxinator
-bash: tmuxinator: command not found更新
我没有在我的路径中找到tmuxinator,但我不知道应该添加哪条路径。
它在我的cygwin中运行,我检查了一些工作人员和版本:
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> echo $SHELL
/bin/bash
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> echo $EDITOR
vim
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> ruby -v
ruby 2.3.6p384 (2017-12-14 revision 9808) [x86_64-cygwin]
last_commit=ruby 2.3.3
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> tmux -V
tmux 2.6
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> gem --version
2.6.13我试着运行我的gem list输出中的另一个宝石,这是我得到的:
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> psych
-bash: psych: command not found
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> builder
-bash: builder: command not found
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> erubis
-bash: erubis: command not found
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> did_you_mean
-bash: did_you_mean: command not found
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> rake
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/share/gems/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
(See full trace by running task with --trace)
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> rdoc
uh-oh! RDoc had a problem:
cannot load such file -- io/console/size
run with --debug for full backtrace
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> thor
-bash: thor: command not found
╔═xakep ▷ DESKTOP-FOIFIIK:[~]:
╚> xdg
-bash: xdg: command not found看起来我的外壳只识别rake和rdoc
发布于 2018-07-24 10:42:55
我在我的主目录中创建了一个文件夹.bin,我在那里复制了文件tmuxinator。
并通过将/home/xakep/.bin添加到我的$PATH Thx @varro中来修正它
╔═xakep ▷ khashashin:[~]:
╚> export PATH=$PATH:/home/xakep/.bin现在起作用了!
╔═xakep ▷ khashashin:[~]:
╚> tmuxinator
tmuxinator commands:
tmuxinator commands # Lists commands available in tmuxinator
tmuxinator completions [arg1 arg2] # Used for shell completion
tmuxinator copy [EXISTING] [NEW] # Copy an existing project to a new project and open it in your editor
tmuxinator debug [PROJECT] [ARGS] # Output the shell commands that are generated by tmuxinator
tmuxinator delete [PROJECT1] [PROJECT2] ... # Deletes given project
tmuxinator doctor # Look for problems in your configuration
tmuxinator help [COMMAND] # Describe available commands or one specific command
tmuxinator implode # Deletes all tmuxinator projects
tmuxinator list # Lists all tmuxinator projects
tmuxinator local # Start a tmux session using ./.tmuxinator.yml
tmuxinator new [PROJECT] [SESSION] # Create a new project file and open it in your editor
tmuxinator start [PROJECT] [ARGS] # Start a tmux session using a project's name (with an optional [ALIAS] for project reuse) or a path to a project config file (via the -p flag)
tmuxinator stop [PROJECT] # Stop a tmux session using a project's tmuxinator config
tmuxinator version # Display installed tmuxinator versionhttps://stackoverflow.com/questions/51481706
复制相似问题