On 4 June 2013 07:24, mark ronay <li...@ruby-forum.com> 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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.


Reply via email to