basic ROR app working in terminal but not in netbeans

128 Views Asked by At

I have just created a basic rails app . It is working fine when I give rails server . But when I tried it in netbeans by creating a Ruby on Rails Application from existing resources and run the project , I am getting the following error

could not connect to the webserver - cannon show http://localhost:3001

Output - WEBrick for myapp on 3001

/usr/local/bin/ruby: No such file or directory -- script/rails (LoadError)

I tried searching online based on the above error message , but It is of no use because , mine is having issue only when I run from netbeans .

0

There are 0 best solutions below