Hi, I''m following the instructions from Hivelogic"Building Ruby, Rails, LightTPD, and MySQL on Tiger". I''m trying to install on a MacMini running Tiger(OSX 10.4.6). When I execute the Ruby install by running: ./configure --prefix=/usr/local --enable-pthread --with-readline-dir=/usr/local make sudo make install sudo make install-doc I get no errors, but I''m not sure if it executes correctly since I''m not 100% sure what this is supposed to do. The problem occurs when I try to execute the rubygems install in the next section on this line: sudo /usr/local/bin/ruby setup.rb I get sudo: /usr/local/bin/ruby: command not found. In "/usr/local/bin" there is no directory or executable named "ruby". Should the Ruby make have created this?? Also none of the curl commands in this tutorial work for me. I had to download and untar the ruby files outside of the terminal program. Then use "mv" to move them to the correct directory. I can "curl" the file on the wiki curl website, so I can "curl" from terminal, just not the tutorial files. any ideas what I''m doing wrong?? thanks, Jon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
hi, it sounds like you didnt install ruby in the local area. -- 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-/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 -~----------~----~----~----~------~----~------~--~---
On Oct 20, 2006, at 2:58 PM, Jon wrote:> I get no errors, but I''m not sure if it executes correctly since I''m > not 100% sure what this is supposed to do.I''m assuming you''re getting a slew of messages. When things are compiling correctly they''re just information or warnings that can often times be ignored. Somewhere in the messages should be an indication of the problem.> The problem occurs when I try to execute the rubygems install in the > next section on this line: > sudo /usr/local/bin/ruby setup.rb I get > sudo: /usr/local/bin/ruby: command not found.Not producing a /usr/local directory when it''s invoked in the configure statement is a serious problem. It may indicate you don''t have write permissions in /usr.> > In "/usr/local/bin" there is no directory or executable named "ruby". > Should the Ruby make have created this??Definitely yes.> > Also none of the curl commands in this tutorial work for me. I had to > download and untar the ruby files outside of the terminal program. > Then use "mv" to move them to the correct directory. I can "curl" the > file on the wiki curl website, so I can "curl" from terminal, just not > the tutorial files.Moving things manually is a source of unaccountable problems later. Better to figure what''s wrong with the permissions before trying to fix anything manually. There could be weird problems later. Jose ....................................................... Jose Hales-Garcia UCLA Department of Statistics jose-oNoWckAxTcaFhjwBz98joA@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Oct 20, 2006, at 3:18 PM, Jose Hales-Garcia wrote:>> Also none of the curl commands in this tutorial work for me. I >> had to >> download and untar the ruby files outside of the terminal program. >> Then use "mv" to move them to the correct directory. I can "curl" >> the >> file on the wiki curl website, so I can "curl" from terminal, just >> not >> the tutorial files.I wasn''t reading this statement carefully enough the first time. There are known problems unpacking archives using Stuff-it which can cause bizarre problems. To be kosher according to Hivelogic''s instructions you need to get curl working. That''s a big problem right there. What shell are you using? curl is located in /usr/ bin. Is it there? Jose ....................................................... Jose Hales-Garcia UCLA Department of Statistics jose-oNoWckAxTcaFhjwBz98joA@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi, I was able to get the "curl" command to work in terminal. I added the ""--disable --epsv" option. Once I did this everything worked correctly. When I execute the following: ./configure --prefix=/usr/local --enable-pthread--with-readline-dir=/usr/local make sudo make install sudo make install-doc I get no errors, but ruby is not created in /usr/local/bin. I gave everyone r/w priv''s for these folders, so I don''t believe it is a permissions issue. I searched my entire hard drive with the "find" command in terminal, and ruby is not being created in another directory. I see there is something called "DarwinPorts" that is a package installation for ROR. Have you ever used that?? Any thoughts good or bad?? thanks, Jon> > >> Also none of the curl commands in this tutorial work for me. I > >> had to > >> download and untar the ruby files outside of the terminal program. > >> Then use "mv" to move them to the correct directory. I can "curl" > >> the > >> file on the wiki curl website, so I can "curl" from terminal, just > >> not > >> the tutorial files. > > I wasn''t reading this statement carefully enough the first time. > There are known problems unpacking archives using Stuff-it which can > cause bizarre problems. To be kosher according to Hivelogic''s > instructions you need to get curl working. That''s a big problem > right there. What shell are you using? curl is located in /usr/ > bin. Is it there? > > Jose > > ....................................................... > Jose Hales-Garcia > UCLA Department of Statistics > jose-oNoWckAxTcaFhjwBz98joA@public.gmane.org > > > > > > --Apple-Mail-4-539687520 > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > X-Google-AttachSize: 4601 > > <HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; > -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Oct 20, 2006, > at 3:18 PM, Jose Hales-Garcia wrote:</DIV><BR > class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><SPAN > class=3D"Apple-style-span" style=3D"border-collapse: separate; > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; > font-size: 12px; font-style: normal; font-variant: normal; font-weight: > normal; letter-spacing: normal; line-height: normal; text-align: auto; > -khtml-text-decorations-in-effect: none; text-indent: 0px; > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; > white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BLOCKQUOTE > type=3D"cite"><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; color: rgb(0, > 0, 221); "><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px > Helvetica; color: rgb(0, 0, 221); "><SPAN class=3D"Apple-style-span" > style=3D"color: rgb(0, 0, 221); ">Also none of the curl commands in this > tutorial work for me.</SPAN><SPAN class=3D"Apple-converted-space"><SPAN > class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 221); ">=A0 > </SPAN></SPAN><SPAN class=3D"Apple-style-span" style=3D"color: rgb(0, 0, > 221); ">I had to</SPAN></FONT></P><P style=3D"margin: 0.0px 0.0px 0.0px > 0.0px; color: rgb(0, 0, 221); "><FONT face=3D"Helvetica" size=3D"3" > style=3D"font: 12.0px Helvetica; color: rgb(0, 0, 221); "><SPAN > class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 221); ">download > and untar the ruby files outside of the terminal > program.</SPAN></FONT></P><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; > color: rgb(0, 0, 221); "><FONT face=3D"Helvetica" size=3D"3" > style=3D"font: 12.0px Helvetica; color: rgb(0, 0, 221); "><SPAN > class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 221); ">Then use > "mv" to move them to the correct directory.</SPAN><SPAN > class=3D"Apple-converted-space"><SPAN class=3D"Apple-style-span" > style=3D"color: rgb(0, 0, 221); ">=A0 </SPAN></SPAN><SPAN > class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 221); ">I can > "curl" the</SPAN></FONT></P><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; > color: rgb(0, 0, 221); "><FONT face=3D"Helvetica" size=3D"3" > style=3D"font: 12.0px Helvetica; color: rgb(0, 0, 221); "><SPAN > class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 221); ">file on the > wiki curl website, so I can "curl" from terminal, just > not</SPAN></FONT></P><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; color: > rgb(0, 0, 221); "><FONT face=3D"Helvetica" size=3D"3" style=3D"font: > 12.0px Helvetica; color: rgb(0, 0, 221); "><SPAN > class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 221); ">the > tutorial > files.</SPAN></FONT></P></BLOCKQUOTE></DIV></SPAN></BLOCKQUOTE><BR></DIV><> DIV>I wasn''t reading this statement carefully enough the first time.=A0 > There are known problems unpacking archives using Stuff-it which can > cause bizarre problems.=A0 To be kosher according to Hivelogic''s > instructions you need to get curl working.=A0 That''s a big problem right > there.=A0 What shell are you using?=A0 curl is located in /usr/bin.=A0 > Is it there?</DIV><DIV><BR > class=3D"khtml-block-placeholder"></DIV><DIV>Jose</DIV><BR><DIV> <SPAN > class=3D"Apple-style-span" style=3D"border-collapse: separate; > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; > font-size: 12px; font-style: normal; font-variant: normal; font-weight: > normal; letter-spacing: normal; line-height: normal; text-align: auto; > -khtml-text-decorations-in-effect: none; text-indent: 0px; > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; > white-space: normal; widows: 2; word-spacing: 0px; "><SPAN > class=3D"Apple-style-span" style=3D"border-collapse: separate; > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; > font-size: 12px; font-style: normal; font-variant: normal; font-weight: > normal; letter-spacing: normal; line-height: normal; text-align: auto; > -khtml-text-decorations-in-effect: none; text-indent: 0px; > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; > white-space: normal; widows: 2; word-spacing: 0px; > "><DIV>.......................................................</DIV><DIV>J> ose Hales-Garcia</DIV><DIV>UCLA Department of Statistics</DIV><DIV><A > href=3D"mailto:jose-oNoWckAxTcaFhjwBz98joA@public.gmane.org">jose-oNoWckAxTcaFhjwBz98joA@public.gmane.org</A></DIV><DIV><BR > class=3D"khtml-block-placeholder"></DIV><DIV><BR > class=3D"khtml-block-placeholder"></DIV><BR > class=3D"Apple-interchange-newline"></SPAN></SPAN> > </DIV><BR></BODY></HTML>> > --Apple-Mail-4-539687520----~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
jeanpierre-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Oct-23 22:42 UTC
Re: ROR Hivelogic install problems
On 10/23/06, Jon <jlesher-dBwFz2cl3jDby3iVrkZq2A@public.gmane.org> wrote:> [...] > > I see there is something called "DarwinPorts" that is a package > installation for ROR. Have you ever used that?? Any thoughts good or > bad??James Duncan Davidson''s article, "Sandboxing Rails With MacPorts" (nee darwinports) does a great job walking one through rails development setup on the mac (and explains some advantages of package management vs. install-by-hand). <http://blog.duncandavidson.com/2006/04/sandboxing_rail.html> cheers, jean-pierre --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
jeanpierre-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> On 10/23/06, Jon <jlesher-dBwFz2cl3jDby3iVrkZq2A@public.gmane.org> wrote: > > > [...] > > > > I see there is something called "DarwinPorts" that is a package > > installation for ROR. Have you ever used that?? Any thoughts good or > > bad?? > > James Duncan Davidson''s article, "Sandboxing Rails With MacPorts" (nee > darwinports) does a great job walking one through rails development > setup on the mac (and explains some advantages of package management > vs. install-by-hand). > <http://blog.duncandavidson.com/2006/04/sandboxing_rail.html> > > cheers, > jean-pierreHi, Thanks for all of your input. I was able to get Ruby to compile after I installed the latest X-code(v2.4) off of the Apple devolper website. I am using an Intel based Mac Mini. I believe the X-Code version I installed off a DVD was not compatible with the Intel Mac even though I got no error message indicating that. I also needed to add the following option to the "curl" command "--disable-epsv". Without that option the curl command would not work. Jon Lesher --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---