设置播放框架的环境变量 [英] Setting an environment variable for play framework

查看:74
本文介绍了设置播放框架的环境变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Ubuntu 12.4上安装了play框架,我希望能够仅从终端调用play而不指定其完整路径.我尝试导出路径等等,但是它不起作用,因为出于某种原因,另一个名为play的应用程序启动了.问题是我在paths文件中找不到该应用程序的路径.我在做什么错了?

I have installed play framework on Ubuntu 12.4 and I want to be able to just call play from terminal without specifying it's full path. I've tried exporting the path and so on, but it does not work because for some reason, another application called play starts instead. Problem is I cannot find that application's path in the paths file. What am I doing wrong?

推荐答案

要查找名为play的路径中的内容,请运行:

To find the thing that is in your path named play run:

which play

这篇关于设置播放框架的环境变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆