Cannot create a new Rails Project with Aptana Studio 3

前端 未结 3 1915
后悔当初
后悔当初 2021-01-14 08:59

I\'ve installed Aptana Studio 3 today, and been trying to create a new Rails Project.

But nothing is being created...

I can see in the commandline it is runn

相关标签:
3条回答
  • 2021-01-14 09:48

    What I did was from the terminal within aptana IDE, created the folder for the application (as aptana does not do this since 'rails new fails') ran the command below

    alias rails='C:/RailsInstaller/Ruby1.9.3/bin/rails'
    

    and then navigated inside the folder and typed in

    rails new .
    

    alternatively I won't have to create a folder, set the alias and type

    rails new myapp
    

    Hope this helps anybody else looking for the same information.

    0 讨论(0)
  • 2021-01-14 09:51

    Thanks all for your help.

    Eventually problem was that I installed ruby 1.9.2 without removing the old ruby I had on my computer (and the same was for rails). So running ruby -v and rails -v showed the right version, but Aptana was somehow connected to the old version.

    I had to uninstall both ruby and Aptana from my computer, then install the new ruby, new rails and then Aptana.

    0 讨论(0)
  • 2021-01-14 10:00

    This sounds like it thinks you have rails v2 installed, since it's using the old command format. Try testing what version of ruby and rails Aptana is finding on your PATH inside it's Terminal view (Window > Show View > Terminal), by running ruby -v and rails -v.

    0 讨论(0)
提交回复
热议问题