I was trying to run another Rails project along with Diaspora.
I used the commands rails server -p 3001
and rails server -p 3002
in the same directory with cd Diaspora
.
I visited http 127.0.0.1:3001 and in project two http 127.0.0.1:3002.
But I could open diaspora server only on both the ports.
I also tried to create a new project folder (Projects) in the directory Diaspora.
cd Diaspora
cd Projects
rails new project2
I got this output:
Can't initialize a new Rails application within the directory of another, please change to a non-Rails directory first.
Type 'rails' for help.
How do I solve this problem?