<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Thanks Ross!<DIV>When reading from the RoR web-site; The hyphens are stuck together (Georgia strikes again!) so it looked like two hyphens rather than four. Thinking about it; it makes sense, now the first two hyphens mean that any args after them get passed into the install operation.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>After this I also managed to figure out why webBRICK wouldn't boot... I commented out the following line of code from routes.rb:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>map.resources :users</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>and it worked! yay! ..however; I thought that the REST-full plugin was all integrated into the latest release of RoR (1.1.6)? Am I wrong?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Tom Medhurst</DIV><DIV><BR class="khtml-block-placeholder"><DIV><BR><DIV><DIV>On 18 Aug 2006, at 11:58, Ross Lawley wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hi Tom,<BR><BR>I had a simlar issue the other week heres how I fixed it:<BR><BR>gem install mysql -- --with-mysql-config=/PATH/TO/mysql_config<BR> <BR>Seemed simpler than the other route!  And the mysql gem complied a treat. <BR><BR>Ross<BR><BR><DIV><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Message: 4<BR>Date: Fri, 18 Aug 2006 09:36:24 +0100<BR>From: Tom Medhurst < <A href="mailto:tom@tmedhurst.me.uk">tom@tmedhurst.me.uk</A>><BR>Subject: Re: [LRUG] Help with mish-mash rails install<BR>To: London Ruby Users Group <<A href="mailto:chat@lrug.org">chat@lrug.org</A>><BR>Message-ID: < <A href="mailto:7823E03A-DEAB-481E-B305-80D06E40B3DF@tmedhurst.me.uk">7823E03A-DEAB-481E-B305-80D06E40B3DF@tmedhurst.me.uk</A>><BR>Content-Type: text/plain; charset="us-ascii"<BR><BR>Hi Guys<BR>I come to you in a moment of desperation... <BR><BR>...the caveat is I am a humble c# windows developer with little - no<BR>experience with programming for mac, (read a book on objective c once<BR>and ran away!) Although I thought that had changed when I turned to<BR> ruby.. now I could write programs that ported onto any system.. even<BR>better with rails, as I could develop web sites on my pc or one of my<BR>macs, great!<BR><BR>I managed to work out how to install all the prereqs: mysql, ruby- <BR>mysql-adapter, rails and all dependencies via rubygems and get it<BR>working.. yay!<BR><BR>However when it comes to upgrading, when there is a new release of<BR>rails for example; I am in a world of pain! AHHHH! My real underlying <BR>problem is I have no clue how all these apps are tied together and I<BR>am missing some fundamental knowledge of how OSX and even UNIX does<BR>things because I am Bill Gate's bytch. :'-(<BR><BR>So I ran under bash:<BR> <BR>sudo bash<BR>gem update rails --include-dependencies<BR><BR>and it updated everything like a dream.. however when I attempted to<BR>run any rails app, I got an error complaining that it could not login<BR>as no password was being sent. (Access denied for user: <BR>'<A href="mailto:root@127.0.0.1">root@127.0.0.1</A>' (Using password: NO))<BR>So I thought fine; I must need to update the rails-mysql adapter as<BR>it is no longer sending the connection string correctly; but this is <BR>starting to sound like the UNIX equivalent of DLL hell!<BR><BR>So I upgraded to version 2.7 (ruby) using the bash command:<BR><BR>gem update mysql<BR><BR>Which failed instantly, I think something important is missing from <BR>my PATH??<BR>so I went to the mysql2.7 gem directory and ran:<BR><BR>ruby extconf.rb --with-mysql-config<BR>make<BR>ruby test.rb localhost root andmypasswordhere<BR>make install<BR><BR>unfortunately four of the unit tests failed and now web brick won't <BR>even boot. I am sorry to clutter a happy newsgroup with stories of<BR>terror, but I desperately need some guidence, firstly in fixing what<BR>I currently have, and secondly with an upgrade plan to ensure I don't<BR>get my self into this mess everytime I upgrade. <BR><BR>Many Thanks<BR><BR>Tom Medhurst<BR><BR></BLOCKQUOTE></DIV><BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">chat mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:chat@lrug.org">chat@lrug.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>