Im a new user - I just installed rails, following directions here: http://rubyonrails.org/download however, when it came time to make a rails new path/etc/etc I get this message: Can''t initialize a new Rails application within the directory of another, please change to a non-Rails directory first. The only complication during the download was that I had to upgrade from version 1.8.6 to 1.9.3, which I did after installing rails. Otherwise Ive done nothing but follow the very simple directions. I found this very helpful thread http://www.ruby-forum.com/topic/1780147 but when the output of ls -l shows just my usual directories. Any help is greatly appreciated. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/423d62f3592cef90d328e7442490793e%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
Hassan Schroeder
2013-May-31 22:49 UTC
Re: accidentally created a rails app in the home folder
On Fri, May 31, 2013 at 3:28 PM, mark ronay <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Im a new user - I just installed rails, following directions here: > http://rubyonrails.org/download > however, when it came time to make a rails new path/etc/etc I get this > message: > Can''t initialize a new Rails application within the directory of > another, please change to a non-Rails directory first.So, what happens if you make a new directory, cd to it, and run your `rails new blah` command? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCdg-RxmqKr-LVj_BxAfDCaN8tEpR%2BRzi5oQkYrq95Qag%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
exact same thing -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ac44a9a82985e325185d020582ee5035%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
Hassan Schroeder
2013-May-31 23:22 UTC
Re: Re: accidentally created a rails app in the home folder
On Fri, May 31, 2013 at 3:54 PM, mark ronay <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> exact same thingIn an empty directory? Then I''d say you have serious problems.> The only complication during the download was that I had to > upgrade from version 1.8.6 to 1.9.3, which I did after installing rails.Wait, *after* installing Rails? That, in retrospect, sounds bad. What OS/platform are you on? And what do you get from the following commands: ruby -v rails -v gem -v -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yD8Op%2BsGEQEJ%2BEdCz%3Dcx6zXP94xJzK_Xwn8uXQiA1G9sg%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
mark ronay
2013-May-31 23:49 UTC
Re: Re: accidentally created a rails app in the home folder
ruby -v gives ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-linux] rails -v gives Rails 3.2.13 gem -v gives 1.8.25 Im running ubuntu. I had ruby 1.8.6. I installed gem but it gave an error when I was trying to get rails through gem, bc i had the old version of ruby. I got rvm, updated to 1.9.3 and then reinstalled rails. It does indeed give the same " Can''t initialize a new Rails application within the directory of another, please change to a non-Rails directory first" when Im in an empty directory I made from home. Thank you for your help by the way. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/75637d29a81d13ec45466de04c06d152%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
What is the command you are using to create a new rails app? Just to be sure, type the command into a terminal window and copy / paste the command you typed and the output from rails. On Friday, May 31, 2013 7:49:14 PM UTC-4, Ruby-Forum.com User wrote:> > ruby -v gives ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-linux] > rails -v gives Rails 3.2.13 > gem -v gives 1.8.25 > > Im running ubuntu. I had ruby 1.8.6. I installed gem but it gave an > error when I was trying to get rails through gem, bc i had the old > version of ruby. I got rvm, updated to 1.9.3 and then reinstalled rails. > > It does indeed give the same " Can''t initialize a new Rails application > within the directory of another, please change to a non-Rails directory > first" when Im in an empty directory I made from home. > > Thank you for your help by the way. > > -- > 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1e479855-b494-4fbe-935a-a6a7f16762a7%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
Hassan Schroeder
2013-Jun-01 00:38 UTC
Re: Re: Re: accidentally created a rails app in the home folder
On Fri, May 31, 2013 at 4:49 PM, mark ronay <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> ruby -v gives ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-linux] > rails -v gives Rails 3.2.13 > gem -v gives 1.8.25Those seem reasonable, though the result doesn''t :-/ Given that you''re just starting, I''d be inclined to totally remove rvm (rvm implode), make sure that your old system ruby has no trace of rails or related gems, and then reinstall rvm, 1.9.3, and rails. Slash and burn, but ... with a quick look at the source, I don''t see how you''re getting that message... -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCGLUsG_qUVvsEnjKCLG3Av5AjnROcsR%2BQs8bjKRKzTnw%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
There are (at least) two executable ruby scripts named "rails". The first is found in your typical search path and should be the one that gets called when you type "rails new my_app". The second is found, after creating your new application "my_app", in the directory "my_app/script" (rails version 3) or "my_app/bin" (rails version 4). These ruby scripts named "rails" are not the same and, if you call the second with the "new my_app" arguments, "rails" will assume you are running inside an existing application and hurl error chunks at you. Do this 1) type the command "which rails" and you will see the full path to what your current shell assumes to be the true rails command. i.e. on my system 555 > which rails /opt/local/bin/rails 556 > 2) type the command "wc -l `which rails`" -- if you can''t figure out the quoting just use the result of step 1. i.e. on my system "which /opt/local/bin/rails" you should see a result that is somewhere around 23 (lines) but i''m thinking you''ll see 6. the first number is the correct system wide rails script that will let you create a new app, the second number is the rails script that is placed into "my_app/script" (or "my_app/bin") and will be used when you "rails generate ..." or other such inside your new application directory structure. just to beat this horse to death, here''s what i get when, in my home directory, i call an application (6 line) rails with new... 561 > binky/script/rails new boffo Can''t initialize a new Rails application within the directory of another, please change to a non-Rails directory first. Type ''rails'' for help. 562 > look familiar? On Friday, May 31, 2013 6:28:06 PM UTC-4, Ruby-Forum.com User wrote:> > Im a new user - I just installed rails, following directions here: > http://rubyonrails.org/download > however, when it came time to make a rails new path/etc/etc I get this > message: > Can''t initialize a new Rails application within the directory of > another, please change to a non-Rails directory first. > The only complication during the download was that I had to upgrade from > version 1.8.6 to 1.9.3, which I did after installing rails. Otherwise > Ive done nothing but follow the very simple directions. > I found this very helpful thread http://www.ruby-forum.com/topic/1780147 > but when the output of ls -l shows just my usual directories. Any help > is greatly appreciated. > > -- > 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a4accc33-e096-45e0-a966-6a125b6e9939%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
for what it''s worth, the error message is generated in the file: gems/railties-3.2.13/lib/rails/commands.rb On Friday, May 31, 2013 9:09:16 PM UTC-4, Rick wrote:> > There are (at least) two executable ruby scripts named "rails". The first > is found in your typical search path and should be the one that gets called > when you type "rails new my_app". The second is found, after creating your > new application "my_app", in the directory "my_app/script" (rails version > 3) or "my_app/bin" (rails version 4). > > These ruby scripts named "rails" are not the same and, if you call the > second with the "new my_app" arguments, "rails" will assume you are running > inside an existing application and hurl error chunks at you. > > Do this > > 1) type the command "which rails" and you will see the full path to what > your current shell assumes to be the true rails command. > > i.e. on my system > 555 > which rails > /opt/local/bin/rails > 556 > > > 2) type the command "wc -l `which rails`" -- if you can''t figure out the > quoting just use the result of step 1. i.e. on my system "which > /opt/local/bin/rails" > > you should see a result that is somewhere around 23 (lines) but i''m > thinking you''ll see 6. the first number is the correct system wide rails > script that will let you create a new app, the second number is the rails > script that is placed into "my_app/script" (or "my_app/bin") and will be > used when you "rails generate ..." or other such inside your new > application directory structure. > > just to beat this horse to death, here''s what i get when, in my home > directory, i call an application (6 line) rails with new... > > 561 > binky/script/rails new boffo > Can''t initialize a new Rails application within the directory of another, > please change to a non-Rails directory first. > Type ''rails'' for help. > 562 > > > look familiar? > > On Friday, May 31, 2013 6:28:06 PM UTC-4, Ruby-Forum.com User wrote: >> >> Im a new user - I just installed rails, following directions here: >> http://rubyonrails.org/download >> however, when it came time to make a rails new path/etc/etc I get this >> message: >> Can''t initialize a new Rails application within the directory of >> another, please change to a non-Rails directory first. >> The only complication during the download was that I had to upgrade from >> version 1.8.6 to 1.9.3, which I did after installing rails. Otherwise >> Ive done nothing but follow the very simple directions. >> I found this very helpful thread http://www.ruby-forum.com/topic/1780147 >> but when the output of ls -l shows just my usual directories. Any help >> is greatly appreciated. >> >> -- >> 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2163d288-fef7-4b1d-a34c-29e5169c6615%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
mark ronay
2013-Jun-01 03:13 UTC
Re: Re: Re: accidentally created a rails app in the home folder
Hassan Schroeder wrote in post #1110852:> On Fri, May 31, 2013 at 4:49 PM, mark ronay <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: >> ruby -v gives ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-linux] >> rails -v gives Rails 3.2.13 >> gem -v gives 1.8.25 > > Those seem reasonable, though the result doesn''t :-/ > > Given that you''re just starting, I''d be inclined to totally remove rvm > (rvm implode), make sure that your old system ruby has no trace > of rails or related gems, and then reinstall rvm, 1.9.3, and rails. > > Slash and burn, but ... with a quick look at the source, I don''t see > how you''re getting that message... > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > http://about.me/hassanschroeder > twitter: @hassanIm starting to lean that way, thanks 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/551a239e44ce7c2a10fc8f78921b9965%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
Hi Rick, thanks! I tried carrying out those instructions: heres what i got - mwr@mwr-Ubuntu:/home$ which rails /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails mwr@mwr-Ubuntu:/home$ which /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails I suppose im having trouble with step 2 of your directions. However its nice to have a kind of explanation of whats going on. Again, excuse my illiteracy on this, but it look like maybe i do have rails installed in my home directory? **just discovered by accident I can do this: mwr@mwr-Ubuntu:/home$ which /home/mwr/.rvm.gems/ruby-1.9.3-p429/bin/rails mwr@mwr-Ubuntu:/home$ wc -l ''which rails'' wc: which rails: No such file or directory mwr@mwr-Ubuntu:/home$ cd .. mwr@mwr-Ubuntu:/$ which rails /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails mwr@mwr-Ubuntu:/$ which /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails mwr@mwr-Ubuntu:/$ rails new path/here create /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir'': Permission denied - /path (Errno::EACCES) from /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:247:in `fu_mkdir'' from /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:221:in `block (2 levels) in mkdir_p'' from /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:219:in `reverse_each'' from /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:219:in `block in mkdir_p'' from /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:205:in `each'' from /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:205:in `mkdir_p'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:51:in `block in invoke!'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:117:in `call'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:117:in `invoke_with_conflict_check'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:50:in `invoke!'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions.rb:95:in `action'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:15:in `empty_directory'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/generators/app_base.rb:103:in `create_root'' from (eval):1:in `create_root'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `block in invoke_all'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `each'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `map'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `invoke_all'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/group.rb:233:in `dispatch'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/commands/application.rb:38:in `<top (required)>'' from /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'' from /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/cli.rb:15:in `<top (required)>'' from /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'' from /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/bin/rails:7:in `<top (required)>'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails:19:in `load'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails:19:in `<main>'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in `eval'' from /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in `<main>'' mwr@mwr-Ubuntu:/$ ls bin dev initrd.img lib64 mnt root selinux tmp vmlinuz boot etc initrd.img.old lost+found opt run srv usr vmlinuz.old cdrom home lib media proc sbin sys var -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/75aa0fbfb736ab47d1796611463274a4%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
On 31 May 2013 23:28, mark ronay <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Im a new user - I just installed rails, following directions here: > http://rubyonrails.org/download > however, when it came time to make a rails new path/etc/etc I get this > message: > Can''t initialize a new Rails application within the directory of > another, please change to a non-Rails directory first.Rather than specifying a complex path to the new application (my guess is that you have already created a rails app in path/etc/etc, so it will not let you create a new one there) just cd to, for example your home directory using cd ~ then create an app called, for example, myapp rails new myapp Colin> The only complication during the download was that I had to upgrade from > version 1.8.6 to 1.9.3, which I did after installing rails. Otherwise > Ive done nothing but follow the very simple directions. > I found this very helpful thread http://www.ruby-forum.com/topic/1780147 > but when the output of ls -l shows just my usual directories. Any help > is greatly appreciated. > > -- > 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/423d62f3592cef90d328e7442490793e%40ruby-forum.com?hl=en-US. > For more options, visit https://groups.google.com/groups/opt_out. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLui-cwN6doQJf8dBwL%3Dy2WPfd779hvTQx1eLBB9R3aGzw%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
i now see i misstyped the instructions to step 2. here it is, corrected 2) type the command "wc -l `which rails`" -- if you can''t figure out the quoting just use the result of step 1. i.e. on my system "wc -l /opt/local/bin/rails" the idea is to use the wc command to get the number of lined in the rails script you are calling by default. the quoting used in *wc -l `which rails` * an open single quote - on a mac keyboard it''s found on the key to the left of number one. it''s a bit of unix shell magic that causes the quoted text to be evalulated as a command and the results to be handed off the the *wc -l* command as argument(s). thus, on my system, it becomes *wc -l /opt/local/bin/rails*. in your case *wc -l `which rails` *would be equivalent to *wc -l /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails* and i''ll be surprised if the result is much greater than 6. i don''t use rvm so cannot help you troubleshoot rvm specific errors. i can say that you don''t want to be creating your new app anywhere inside the *.../.rvm/...* directory tree. think of this as a managed software repository - anything that gets changed there is done through rvm. make yourself a working directory, cd there and run the *rails new* command. something like: * mkdir /home/mwr/RailsApps* *cd /home/mwr/RailsApps rails new my_new_app * On Friday, May 31, 2013 11:28:19 PM UTC-4, Ruby-Forum.com User wrote:> > Hi Rick, > thanks! I tried carrying out those instructions: heres what i got - > mwr@mwr-Ubuntu:/home$ which rails > /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails > > > mwr@mwr-Ubuntu:/home$ which > /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails > /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails > > I suppose im having trouble with step 2 of your directions. However its > nice to have a kind of explanation of whats going on. Again, excuse my > illiteracy on this, but it look like maybe i do have rails installed in > my home directory? > > **just discovered by accident I can do this: > mwr@mwr-Ubuntu:/home$ which > /home/mwr/.rvm.gems/ruby-1.9.3-p429/bin/rails > mwr@mwr-Ubuntu:/home$ wc -l ''which rails'' > wc: which rails: No such file or directory > mwr@mwr-Ubuntu:/home$ cd .. > mwr@mwr-Ubuntu:/$ which rails > /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails > mwr@mwr-Ubuntu:/$ which /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails > /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails > mwr@mwr-Ubuntu:/$ rails new path/here > create > /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:247:in > `mkdir'': Permission denied - /path (Errno::EACCES) > from > /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:247:in > `fu_mkdir'' > from > /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:221:in > `block (2 levels) in mkdir_p'' > from > /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:219:in > `reverse_each'' > from > /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:219:in > `block in mkdir_p'' > from > /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:205:in > `each'' > from > /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:205:in > `mkdir_p'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:51:in > > `block in invoke!'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:117:in > > `call'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:117:in > > `invoke_with_conflict_check'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:50:in > > `invoke!'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions.rb:95:in > > `action'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:15:in > > `empty_directory'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/generators/app_base.rb:103:in > > `create_root'' > from (eval):1:in `create_root'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/command.rb:27:in > > `run'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:120:in > > `invoke_command'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:127:in > > `block in invoke_all'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:127:in > > `each'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:127:in > > `map'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:127:in > > `invoke_all'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/group.rb:233:in > > `dispatch'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/base.rb:439:in > > `start'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/commands/application.rb:38:in > > `<top (required)>'' > from > /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in > > `require'' > from > /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in > > `require'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/cli.rb:15:in > > `<top (required)>'' > from > /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in > > `require'' > from > /home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in > > `require'' > from > /home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/bin/rails:7:in > `<top (required)>'' > from /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails:19:in `load'' > from /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails:19:in `<main>'' > from /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in > `eval'' > from /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in > `<main>'' > mwr@mwr-Ubuntu:/$ ls > bin dev initrd.img lib64 mnt root selinux tmp > vmlinuz > boot etc initrd.img.old lost+found opt run srv usr > vmlinuz.old > cdrom home lib media proc sbin sys var > > -- > 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7f719f08-98da-4898-ac88-361131c54d49%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
Alright, now its working kind of! After restarting the computer and using which rails i get the much more sensible looking path * /usr/local/bin/rails * running wc -l `which path` I get * 19 /usr/local/bin/rails * so now navigating above my home directory I am able to use rails new like so: * mwr@mwr-Ubuntu:/$ sudo rails new blah/here * and it seems to work. now - i cant access my localhost, but thats a separate issue i think i can work out. Thanks everyone for your 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2643cd5aeb83536a7086ae1ee51efbd9%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2013-Jun-01 19:57 UTC
Re: Re: accidentally created a rails app in the home folder
On 1 June 2013 18:05, mark ronay <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Alright, now its working kind of! After restarting the computer and > using which rails i get the much more sensible looking path * > /usr/local/bin/rails * > running wc -l `which path` I get * 19 /usr/local/bin/rails * > > so now navigating above my home directory I am able to use rails new > like so: * mwr@mwr-Ubuntu:/$ sudo rails new blah/here * and it seems to > work.Don''t use sudo, you will get the wrong ownership on the files Also I recommend using rvm to install ruby and rails.> > now - i cant access my localhost, but thats a separate issue i think i > can work out.Possibly due to using sudo when creating the app. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsBA2x6YUXWQ9S2xZ9sZsWREm5LboypYgwx%3DgB8ap%2B1uA%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
mark ronay
2013-Jun-04 06:24 UTC
Re: Re: accidentally created a rails app in the home folder
just an update/follow up. I can successfully run rails and get a rails server going on my localhost. However, my paths remain totally messed up and I dont know why. I get the error I originally posted about anywhere I go (and I am completely certain I am not inside a path that already has a rails app in it) except, if I go above my home file into my what i call my root file, it looks like this. mwr@mwr-Ubuntu:/home$ cd .. mwr@mwr-Ubuntu:/$ cd .. mwr@mwr-Ubuntu:/$ ls app cdrom initrd.img lost+found proc selinux usr bin dev initrd.img.old media root srv var blah etc lib mnt run sys vmlinuz boot home lib64 opt sbin tmp vmlinuz.old mwr@mwr-Ubuntu:/$ my understanding is this cant really be right. To get a rails project working I have to type sudo for every single command i give, from mkdir to rails new app etc. But there is nowhere else in my system where i can run rails new and this was true from the very first time I tried to run it. I attempted to uninstall rails, but even though it seemed I did, running ''which rails'' would always yield a result. I wound up reinstalling anyways. maybe this is just how it works? or have I made some sort of correctable mistake? -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e4b92d8e1ffffdb9fa1dc547f6d5906a%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2013-Jun-04 06:35 UTC
Re: Re: Re: accidentally created a rails app in the home folder
On 4 June 2013 07:24, mark ronay <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> just an update/follow up. I can successfully run rails and get a rails > server going on my localhost. However, my paths remain totally messed up > and I dont know why. I get the error I originally posted about anywhere > I go (and I am completely certain I am not inside a path that already > has a rails app in it) except, if I go above my home file into my what i > call my root file, it looks like this. > mwr@mwr-Ubuntu:/home$ cd .. > mwr@mwr-Ubuntu:/$ cd .. > mwr@mwr-Ubuntu:/$ ls > app cdrom initrd.img lost+found proc selinux usr > bin dev initrd.img.old media root srv var > blah etc lib mnt run sys vmlinuz > boot home lib64 opt sbin tmp vmlinuz.old > mwr@mwr-Ubuntu:/$ > > my understanding is this cant really be right. To get a rails project > working I have to type sudo for every single command i give, from mkdir > to rails new app etc. But there is nowhere else in my system where i can > run rails new and this was true from the very first time I tried to run > it. > I attempted to uninstall rails, but even though it seemed I did, running > ''which rails'' would always yield a result. I wound up reinstalling > anyways. > > maybe this is just how it works? or have I made some sort of correctable > mistake?That is not how it should work. I suggest starting again using rvm to install rails. You don''t actually need to get rid of anything you have already installed but it will do no harm to do so. The rvm install should take precedence over the existing messed up installation. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtmNuFh8xtkhN%2B%3DjK62XDR%2BxDruCvD4USHQ_fmX-51hsw%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
mark ronay
2013-Jun-04 17:33 UTC
Re: Re: Re: accidentally created a rails app in the home folder
well, i tried rvm implode and a fresh install using these directions: http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/ still same problem: mwr@mwr-Ubuntu:~$ ls app db Documents log Projects script tmp build Desktop Downloads Music Public Templates vendor config doc lib Pictures public test Videos mwr@mwr-Ubuntu:~$ rails new blargh/here Can''t initialize a new Rails application within the directory of another, please change to a non-Rails directory first. Type ''rails'' for help. mwr@mwr-Ubuntu:~$ which rails /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails mwr@mwr-Ubuntu:~$ rails new blog Can''t initialize a new Rails application within the directory of another, please change to a non-Rails directory first. Type ''rails'' for help. mwr@mwr-Ubuntu:~$ Im at a loss, going to try to post to ubuntu specific forums. Thanks everyone for your help and if I fix it I will post here in case it helps someone else. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/40ebf35612678f7d63e929f58e13341c%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
Hassan Schroeder
2013-Jun-04 17:42 UTC
Re: Re: Re: Re: accidentally created a rails app in the home folder
On Tue, Jun 4, 2013 at 10:33 AM, mark ronay <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> still same problem: > mwr@mwr-Ubuntu:~$ ls > app db Documents log Projects script tmp > build Desktop Downloads Music Public Templates vendor > config doc lib Pictures public test Videos > mwr@mwr-Ubuntu:~$ rails new blargh/here > Can''t initialize a new Rails application within the directory of > another, please change to a non-Rails directory first.> Im at a loss?? Your `ls` shows the directories of a standard Rails app, so the message is perfectly understandable. If you don''t want them there, why don''t you *remove* them? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yAayxzPenTqqhhe%3DtWjXtyvE3iut9K6ew_Nw6vCnee%2BCw%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
mark ronay
2013-Jun-04 17:54 UTC
Re: Re: Re: Re: accidentally created a rails app in the home folder
Hassan Schroeder wrote in post #1111345:> On Tue, Jun 4, 2013 at 10:33 AM, mark ronay <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: > >> still same problem: >> mwr@mwr-Ubuntu:~$ ls >> app db Documents log Projects script tmp >> build Desktop Downloads Music Public Templates vendor >> config doc lib Pictures public test Videos >> mwr@mwr-Ubuntu:~$ rails new blargh/here >> Can''t initialize a new Rails application within the directory of >> another, please change to a non-Rails directory first. > >> Im at a loss > > ?? Your `ls` shows the directories of a standard Rails app, so the > message is perfectly understandable. > > If you don''t want them there, why don''t you *remove* them? > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > http://about.me/hassanschroeder > twitter: @hassan:D now i feel really stupid. Problem solved!! I really should have opened with the ls, Im sure I dont know how those get there and didnt know how to recognize them. Thank you all 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c1a9c2378783c6dac927de080e3d7dda%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
Tamara Temple
2013-Jun-05 22:16 UTC
Re: Re: Re: Re: accidentally created a rails app in the home folder
mark ronay <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> well, i tried rvm implode and a fresh install using these directions: > http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/ > > still same problem: > mwr@mwr-Ubuntu:~$ ls > app db Documents log Projects script tmp > build Desktop Downloads Music Public Templates vendor > config doc lib Pictures public test Videos > mwr@mwr-Ubuntu:~$ rails new blargh/here > Can''t initialize a new Rails application within the directory of > another, please change to a non-Rails directory first. > Type ''rails'' for help. > mwr@mwr-Ubuntu:~$ which rails > /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails > mwr@mwr-Ubuntu:~$ rails new blog > Can''t initialize a new Rails application within the directory of > another, please change to a non-Rails directory first. > Type ''rails'' for help. > mwr@mwr-Ubuntu:~$ > > Im at a loss, going to try to post to ubuntu specific forums. Thanks > everyone for your help and if I fix it I will post here in case it helps > someone else.Is there some reason you can''t move or delete the files you created? Does this Rails app you built initially in your home directory have to be there? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/51afb8d8.657a320a.36ed.ffffc213%40mx.google.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
mark ronay
2013-Jun-05 22:46 UTC
Re: Re: Re: Re: accidentally created a rails app in the home folder
Tamara Temple wrote in post #1111488:> mark ronay <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> another, please change to a non-Rails directory first. >> everyone for your help and if I fix it I will post here in case it helps >> someone else. > > > Is there some reason you can''t move or delete the files you created? > Does this Rails app you built initially in your home directory have to > be there?Oh I did delete them and everything is going great now. I was unaware that they had been created in my home directory, as I had not ever run *rails new* successfully and didnt know what to look for. So the whole thread is basically me not knowing I had rails files in my home directory. I assume they got there during the install process somehow. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b9fa243eab42908fd267753303e5387e%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
Tamara Temple
2013-Jun-06 01:11 UTC
Re: Re: Re: Re: Re: accidentally created a rails app in the home folder
mark ronay <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Oh I did delete them and everything is going great now.Yay!! \o/ Welcome to Rails!!> I was unaware > that they had been created in my home directory, as I had not ever run > *rails new* successfully and didnt know what to look for. So the whole > thread is basically me not knowing I had rails files in my home > directory. I assume they got there during the install process somehow.Happens. I have stories.... -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/51afe1d0.0f99320a.04dc.ffffa2a0%40mx.google.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.