Tramp to launch a gaming environment

I use vagrant to run a playframework based java project in ubuntu environment

I set the path to the game installation directory in PATH enviornment varible, but when I run the play command, it shows me an error

vagrant@precise64 :/$ play play: SoX v14.3.2 play FAIL sox: Not enough input filenames specified Usage summary: [gopts] [[fopts] infile]... [fopts] [effect [effopt]]... 

But when I run the team. / play in my installation directory, it works fine

+6
source share
1 answer

This is because you installed one package called sox , which brings the play command.

Therefore, when you run play something , you run this program, not the playback platform.

So you should:

  • Uninstall this package: it is not installed by default in Ubuntu, so if you really do not need it for other purposes, you should uninstall it.

     apt-get remove sox 
  • Add a game frame to your PATH. Suppose your playback setting is in /opt/play , just do something like

     export PATH=/opt/play/bin:$PATH 

You must add these commands to the required file (for example: bootstrap.sh).

+1
source

Source: https://habr.com/ru/post/975125/


All Articles