I have just update to ubuntu 11.04. since that I can not create a new Rails project. Mark@Mark-Satellite-A300D:~$ rails new Test Can''t initialize a new Rails application within the directory of another, please change to a non-Rails directory first. Type ''rails'' for help. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, May 24, 2011 at 5:38 PM, hoboy Hoboy <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I have just update to ubuntu 11.04. > since that I can not create a new Rails project. > > Mark@Mark-Satellite-A300D:~$ rails new Test > Can''t initialize a new Rails application within the directory of > another, please change to a non-Rails directory first. > Type ''rails'' for help. > > As the error message says, you are already in a Rails project directory.Go back and try again.> -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
That error message seems pretty clear. You''re already in a directory that is a rails application. Also just as another note, "Test" is not a good name to give your application. You should avoid using keywords like that as the name of your application. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tim Shaffer wrote in post #1000680:> That error message seems pretty clear. You''re already in a directory > that is > a rails application. > > Also just as another note, "Test" is not a good name to give your > application. You should avoid using keywords like that as the name of > your > application.You are telling me that when I login into ubuntu my I go directly on Mark@Mark-Satellite-A300D:~$. you are telling that this is an rails directory ? that does not make a sense -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On May 24, 7:07 pm, hoboy Hoboy <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Tim Shaffer wrote in post #1000680: > > > That error message seems pretty clear. You''re already in a directory > > that is > > a rails application. > > > Also just as another note, "Test" is not a good name to give your > > application. You should avoid using keywords like that as the name of > > your > > application. > > You are telling me that when I login into ubuntu my I go directly on > Mark@Mark-Satellite-A300D:~$. > you are telling that this is an rails directory ? > that does not make a senseWell at least rails thinks it''s a rails app. Maybe you previously generated a rails app in your home directory (rather than in a subfolder) at some previous point in time, or moved the contents of a rails app into your home folder Fred> > -- > Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
This is likely what''s happening. WHat''s the output of the following commands? ls -l which rails -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tim Shaffer wrote in post #1000707:> This is likely what''s happening. WHat''s the output of the following > commands? > > ls -l > which railsluc@luc-Satellite-A300D:~$ ls -l total 21604 drwxr-xr-x 3 luc luc 4096 2011-05-24 20:15 Aptana Studio 3 Workspace drwxr-xr-x 2 luc luc 4096 2011-03-31 15:42 bea drwxr-xr-x 5 luc luc 4096 2011-04-10 12:08 config drwxr-xr-x 2 luc luc 4096 2011-03-04 23:20 db drwxr-xr-x 2 luc luc 4096 2011-05-24 20:25 Desktop drwxr-xr-x 8 luc luc 4096 2011-05-24 18:09 DEVS drwxr-xr-x 2 luc luc 4096 2011-03-19 19:14 doc drwxr-xr-x 3 luc luc 4096 2011-05-22 13:27 Documents drwxr-xr-x 4 luc luc 4096 2011-05-24 18:08 Downloads -rw-r--r-- 1 luc luc 179 2011-02-28 18:13 examples.desktop drwxr-xr-x 8 luc luc 4096 2011-04-21 19:15 glassfish-3.0.1 drwxr-xr-x 8 luc luc 4096 2011-04-21 18:42 glassfish-3.1 drwxr-xr-x 4 luc luc 4096 2011-03-31 14:56 IdeaProjects drwxr-xr-x 3 luc luc 4096 2011-03-31 15:50 jdeveloper drwxr-xr-x 2 luc luc 4096 2011-03-31 09:11 jedit drwxr-xr-x 3 luc luc 4096 2011-03-04 23:20 lib drwxr-xr-x 2 luc luc 4096 2011-03-04 23:20 log drwxr-xr-x 2 luc luc 4096 2011-05-24 20:16 lucRails drwxr-xr-x 3 luc luc 4096 2011-05-24 20:26 lucworkspace drwxr-xr-x 2 luc luc 4096 2011-02-28 18:26 Music drwxr-xr-x 22 luc luc 4096 2011-04-21 19:14 netbeans-6.9.1 drwxr-xr-x 22 luc luc 4096 2011-04-21 18:52 netbeans-7.0 drwxr-xr-x 2 luc luc 4096 2011-05-24 20:29 NetBeansProjects drwxr-xr-x 3 luc luc 4096 2011-03-31 15:39 Oracle drwxr-xr-x 2 luc luc 4096 2011-02-28 18:26 Pictures drwxr-xr-x 5 luc luc 4096 2011-03-04 23:20 public drwxr-xr-x 2 luc luc 4096 2011-02-28 18:26 Public drwxr-xr-x 25 luc luc 12288 2011-05-22 17:49 ruby-1.9.2-p0 -rw-r--r-- 1 luc luc 10787899 2011-05-22 17:07 ruby-1.9.2-p0.tar.gz drwxr-xr-x 24 luc luc 12288 2011-05-22 17:41 ruby-1.9.2-p180 -rw-r--r-- 1 luc luc 11158935 2011-05-22 17:39 ruby-1.9.2-p180.tar.gz drwxr-xr-x 3 luc luc 4096 2011-04-10 12:08 script drwxr-xr-x 2 luc luc 4096 2011-02-28 18:26 Templates drwxr-xr-x 7 luc luc 4096 2011-03-04 23:20 test drwxr-xr-x 6 luc luc 4096 2011-03-04 23:20 tmp drwxr-xr-x 2 luc luc 4096 2011-05-24 20:13 untitled folder drwxr-xr-x 3 luc luc 4096 2011-03-04 23:20 vendor drwxr-xr-x 2 luc luc 4096 2011-02-28 18:26 Videos drwxr-xr-x 3 luc luc 4096 2011-03-04 19:54 workspace drwxr-xr-x 3 luc luc 4096 2011-04-16 17:46 workspaces luc@luc-Satellite-A300D:~$ which rails /home/luc/.rvm/gems/ruby-1.9.2-p180/bin/rails luc@luc-Satellite-A300D:~$ -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 24 May 2011 21:29, hoboy Hoboy <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Tim Shaffer wrote in post #1000707: >> This is likely what''s happening. WHat''s the output of the following >> commands? >> >> ls -l >> which rails > > luc@luc-Satellite-A300D:~$ ls -l > total 21604 > drwxr-xr-x 3 luc luc 4096 2011-05-24 20:15 Aptana Studio 3 > Workspace > drwxr-xr-x 2 luc luc 4096 2011-03-31 15:42 bea > drwxr-xr-x 5 luc luc 4096 2011-04-10 12:08 configThat looks like a bit of Rails project> drwxr-xr-x 2 luc luc 4096 2011-03-04 23:20 dband that> drwxr-xr-x 2 luc luc 4096 2011-05-24 20:25 Desktop > drwxr-xr-x 8 luc luc 4096 2011-05-24 18:09 DEVS > drwxr-xr-x 2 luc luc 4096 2011-03-19 19:14 docyup> drwxr-xr-x 3 luc luc 4096 2011-05-22 13:27 Documents > drwxr-xr-x 4 luc luc 4096 2011-05-24 18:08 Downloads > -rw-r--r-- 1 luc luc 179 2011-02-28 18:13 examples.desktop > drwxr-xr-x 8 luc luc 4096 2011-04-21 19:15 glassfish-3.0.1 > drwxr-xr-x 8 luc luc 4096 2011-04-21 18:42 glassfish-3.1 > drwxr-xr-x 4 luc luc 4096 2011-03-31 14:56 IdeaProjects > drwxr-xr-x 3 luc luc 4096 2011-03-31 15:50 jdeveloper > drwxr-xr-x 2 luc luc 4096 2011-03-31 09:11 jedit > drwxr-xr-x 3 luc luc 4096 2011-03-04 23:20 libcuriouser and curiouser> drwxr-xr-x 2 luc luc 4096 2011-03-04 23:20 logand again> drwxr-xr-x 2 luc luc 4096 2011-05-24 20:16 lucRails > drwxr-xr-x 3 luc luc 4096 2011-05-24 20:26 lucworkspace > drwxr-xr-x 2 luc luc 4096 2011-02-28 18:26 Music > drwxr-xr-x 22 luc luc 4096 2011-04-21 19:14 netbeans-6.9.1 > drwxr-xr-x 22 luc luc 4096 2011-04-21 18:52 netbeans-7.0 > drwxr-xr-x 2 luc luc 4096 2011-05-24 20:29 NetBeansProjects > drwxr-xr-x 3 luc luc 4096 2011-03-31 15:39 Oracle > drwxr-xr-x 2 luc luc 4096 2011-02-28 18:26 Pictures > drwxr-xr-x 5 luc luc 4096 2011-03-04 23:20 publicand again> drwxr-xr-x 2 luc luc 4096 2011-02-28 18:26 Public > drwxr-xr-x 25 luc luc 12288 2011-05-22 17:49 ruby-1.9.2-p0 > -rw-r--r-- 1 luc luc 10787899 2011-05-22 17:07 ruby-1.9.2-p0.tar.gz > drwxr-xr-x 24 luc luc 12288 2011-05-22 17:41 ruby-1.9.2-p180 > -rw-r--r-- 1 luc luc 11158935 2011-05-22 17:39 ruby-1.9.2-p180.tar.gz > drwxr-xr-x 3 luc luc 4096 2011-04-10 12:08 scriptIt is getting mighty suspicious> drwxr-xr-x 2 luc luc 4096 2011-02-28 18:26 Templates > drwxr-xr-x 7 luc luc 4096 2011-03-04 23:20 testyet more> drwxr-xr-x 6 luc luc 4096 2011-03-04 23:20 tmpthat one could be real I suppose> drwxr-xr-x 2 luc luc 4096 2011-05-24 20:13 untitled folder > drwxr-xr-x 3 luc luc 4096 2011-03-04 23:20 vendorThat one is bit of a killer. It certainly looks like you have accidentally created a rails app in the home folder at some point. There is no app directory but perhaps you have already removed that one. I suggest looking in all the directories above to make sure they do not contain useful data and if they do not then removing them. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.