I am new to all of this so bare with me. I just did a complete setup on a OS X machine in my directory. Then I tried to access everything from a different directory and couldn''t get any of it. In my directory I have the newer version of rails, etc. In the other directory it only shows the older version of ruby and no rails. My question: Is there a way to access everything I did from any personal directory or do I have to do the same installation again for each directory? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, 2007/8/4, railsfid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <railsfid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> I just did a complete setup > on a OS X machine in my directory.What do you mean by this? Did you set up RoR as gems? Did you create a RoR application using something like "$ rails myapp"? Lutz --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, if you followed the instructions, then you should have added the directory that contains the executables to you path. For example, in the .profile, I have something like this export PATH=<the_name_of_the_directory_that_contains_ruby_executable>:$PATH Good luck, -Conrad On 8/5/07, Lutz Horn <lutz.georg.horn-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> > > Hi, > > 2007/8/4, railsfid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <railsfid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > I just did a complete setup > > on a OS X machine in my directory. > > What do you mean by this? Did you set up RoR as gems? Did you create > a RoR application using something like "$ rails myapp"? > > Lutz > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, please follow one of the setups in Chapter 3 of AWDwRv2 for Mac OS X. Here''s one that I have used in the past: http://hivelogic.com/narrative/articles/ruby_rails_lighttpd_mysql_tiger Good luck, -Conrad On 8/5/07, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, if you followed the instructions, then you should have added the > directory that contains the executables to you path. For example, in the > .profile, I have something like this > > export PATH=<the_name_of_the_directory_that_contains_ruby_executable > >:$PATH > > > Good luck, > > > -Conrad > > On 8/5/07, Lutz Horn <lutz.georg.horn-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > > > Hi, > > > > 2007/8/4, railsfid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <railsfid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > I just did a complete setup > > > on a OS X machine in my directory. > > > > What do you mean by this? Did you set up RoR as gems? Did you create > > a RoR application using something like "$ rails myapp"? > > > > Lutz > > > > --~--~---------~--~----~------------~-------~--~----~ > > 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@googlegroups<rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > > .com <rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@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 > > -~----------~----~----~----~-- ----~----~------~--~--- > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yes, I installed everything as indicated at http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx but I can only access everything from one directory only. Is it suppose to work this way? On Aug 5, 1:06 am, "Lutz Horn" <lutz.georg.h...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Hi, > > 2007/8/4, rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > I just did a complete setup > > on a OS X machine in my directory. > > What do you mean by this? Did you set up RoR as gems? Did you create > a RoR application using something like "$ rails myapp"? > > Lutz--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Already did all this. My question is am I only able to run all of this from the directory I installed it all in? Because I can''t access it anywhere else. On Aug 5, 1:20 am, "Conrad Taylor" <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, please follow one of the setups in Chapter 3 of AWDwRv2 for Mac OS X. > Here''s one that I have used in the past:http://hivelogic.com/narrative/articles/ruby_rails_lighttpd_mysql_tiger > > Good luck, > > -Conrad > > On 8/5/07, Conrad Taylor <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hi, if you followed the instructions, then you should have added the > > directory that contains the executables to you path. For example, in the > > .profile, I have something like this > > > export PATH=<the_name_of_the_directory_that_contains_ruby_executable > > >:$PATH > > > Good luck, > > > -Conrad > > > On 8/5/07, Lutz Horn <lutz.georg.h...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > Hi, > > > > 2007/8/4, rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > I just did a complete setup > > > > on a OS X machine in my directory. > > > > What do you mean by this? Did you set up RoR as gems? Did you create > > > a RoR application using something like "$ rails myapp"? > > > > Lutz > > > > --~--~---------~--~----~------------~-------~--~----~ > > > 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@googlegroups<rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > > > .com <rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > > > To unsubscribe from this group, send email to > > > rubyonrails-talk-unsubscribe @googlegroups.com > > > For more options, visit this group athttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
yes I did this exactly as stated in the instructions. It all works fine but am I only suppose to be able to access rails and this updated ruby in my directory only? Because when I go to any other directory I cannot access anything but the Ruby version (older) that came with OS X 10.4 On Aug 5, 1:16 am, "Conrad Taylor" <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, if you followed the instructions, then you should have added the > directory that contains the executables to you path. For example, in the > .profile, I have something like this > export PATH=<the_name_of_the_directory_that_contains_ruby_executable>:$PATH > > Good luck, > > -Conrad > > On 8/5/07, Lutz Horn <lutz.georg.h...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > > Hi, > > > 2007/8/4, rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > I just did a complete setup > > > on a OS X machine in my directory. > > > What do you mean by this? Did you set up RoR as gems? Did you create > > a RoR application using something like "$ rails myapp"? > > > Lutz--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
As someone stated previously the problem is probably that you don''t have the executable''s for rails and ruby in your path BEFORE the default versions. Here is line from my .bash_profile (my ruby and rails are in /usr/ local/bin-- the others are for mysql an lighttpd): export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin: $PATH" You will need to type ". ~/.bash_profile" after you add this for this session but for future sessions it should be run automatically. On Aug 5, 5:32 pm, "rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> yes I did this exactly as stated in the instructions. It all works > fine but am I only suppose to be able to access rails and this updated > ruby in my directory only? Because when I go to any other directory I > cannot access anything but the Ruby version (older) that came with OS > X 10.4 > > On Aug 5, 1:16 am, "Conrad Taylor" <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi, if you followed the instructions, then you should have added the > > directory that contains the executables to you path. For example, in the > > .profile, I have something like this > > export PATH=<the_name_of_the_directory_that_contains_ruby_executable>:$PATH > > > Good luck, > > > -Conrad > > > On 8/5/07, Lutz Horn <lutz.georg.h...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > Hi, > > > > 2007/8/4, rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > I just did a complete setup > > > > on a OS X machine in my directory. > > > > What do you mean by this? Did you set up RoR as gems? Did you create > > > a RoR application using something like "$ rails myapp"? > > > > Lutz--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Finally got it. Thanks so much. I am a pure beginner and I didn''t realize that I had to make the PATH change in each user directory. On Aug 5, 9:25 pm, MonkeyLice <jec5...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> As someone stated previously the problem is probably that you don''t > have the executable''s for rails and ruby in your path BEFORE the > default versions. > > Here is line from my .bash_profile (my ruby and rails are in /usr/ > local/bin-- the others are for mysql an lighttpd): > > export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin: > $PATH" > > You will need to type ". ~/.bash_profile" after you add this for this > session but for future sessions it should be run automatically. > > On Aug 5, 5:32 pm, "rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > yes I did this exactly as stated in the instructions. It all works > > fine but am I only suppose to be able to access rails and this updated > > ruby in my directory only? Because when I go to any other directory I > > cannot access anything but the Ruby version (older) that came with OS > > X 10.4 > > > On Aug 5, 1:16 am, "Conrad Taylor" <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Hi, if you followed the instructions, then you should have added the > > > directory that contains the executables to you path. For example, in the > > > .profile, I have something like this > > > export PATH=<the_name_of_the_directory_that_contains_ruby_executable>:$PATH > > > > Good luck, > > > > -Conrad > > > > On 8/5/07, Lutz Horn <lutz.georg.h...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > > Hi, > > > > > 2007/8/4, rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <rails...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > > I just did a complete setup > > > > > on a OS X machine in my directory. > > > > > What do you mean by this? Did you set up RoR as gems? Did you create > > > > a RoR application using something like "$ rails myapp"? > > > > > Lutz--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Quoting "railsfid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <railsfid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, who spaketh thusly:> > Finally got it. Thanks so much. I am a pure beginner and I didn''t > realize that I had to make the PATH change in each user directory.You can also make the change to /etc/profile and it will be global to all accounts across the machine. -- Mitch --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---