[LRUG] Help with mish-mash rails install

Jonathan Conway jonathan at agileevolved.com
Fri Aug 18 04:25:27 PDT 2006


The REST'y stuff is currently only on edge. I'd recommend freezing to  
4727 as the rewritten dependencies stuff has a few
issues if you're using certain plugins (its the rewritten  
dependencies fault not the plugins fault.. honest:))

Cheers

Jonathan

On 18 Aug 2006, at 12:13, Tom Medhurst wrote:

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20060818/6c3eaa0b/attachment.html>


More information about the Chat mailing list