Jump to content

Cannot run Commend such as "rails new app"...Cannot set the right PATH...


Recommended Posts

Back in v1, I can set command as:

uncheck the Silent checkbox, and use iterm run this commend:

cd ~/rails/project;
rails new {query};
 
this command can generate new rails app~~
 
However, when I use the same script in v2, it just tell me rails is not installed....
 
I cannot find a way to run commend without using Silent mode...
 
So I have no idea how to deal with this problem..
 
It makes me very depressed,because I wrote lots extensions using this feature....
Edited by dqaria
Link to comment

Back in v1, I can set command as:

uncheck the Silent checkbox, and use iterm run this commend:

cd ~/rails/project;
rails new {query};
 
this command can generate new rails app~~
 
However, when I use the same script in v2, it just tell me rails is not installed....
 
I cannot find a way to run commend without using Silent mode...
 
So I have no idea how to deal with this problem..
 
It makes me very depressed,because I wrote lots extensions using this feature....

 

Instead of the "Run Script" action, try using the "Terminal Command" action which will open a terminal and run your command :)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...