<on my knees now> :S

Im not comfortable uninstalling everything and installing it from
scratch again. Dont want to lose my existing setup. Pointers from
anyone at all?

On Jun 15, 1:52 pm, Ram <yourstruly.vi...@gmail.com> wrote:
> I also get this warning in the very beginning of the gem install. Does
> it have any relevance?
>
> WARNING:  Installing to ~/.gem since /Library/Ruby/Gems/1.8 and
>           /usr/bin aren't both writable.
> WARNING:  You don't have /Users/Ram/.gem/ruby/1.8/bin in your PATH,
>           gem executables will not run.
>
> On Jun 15, 1:41 pm, Ram <yourstruly.vi...@gmail.com> wrote:
>
>
>
> > Hello all,
>
> > Ive got Mac OS X Leopard (10.5.8), ruby 1.8.6 (2009-06-08 patchlevel
> > 369) [universal-darwin9.0] and mysql 5.0.67 installed and working fine
> > with Rails 2.1.0.
>
> > "which ruby" outputs /usr/bin/ruby. I can see the mysql symlink in /
> > usr/local/mysql. I can also see the mysql-5.0.67-osx10.5-x86 folder
> > in /usr/local .
>
> > Im trying to upgrade my Rails apps to 2.3.5 but when i try to install
> > the mysql gem, I get "ERROR: Failed to build gem native extension." I
> > tried all the following commands with and without sudo and get the
> > same error everytime
>
> > > env ARCHFLAGS="-arch i386" gem install mysql -- 
> > > --with-mysql-config=/usr/local/mysql/bin/mysql_config
> > > env ARCHFLAGS="-arch i386" gem install mysql -- 
> > > --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib 
> > > --with-mysql-include=/usr/local/mysql/include
> > > env ARCHFLAGS="-arch i386" gem install mysql -- 
> > > --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib 
> > > --with-mysql-include=/usr/local/mysql/include 
> > > --with-mysql-config=/usr/local/mysql/bin/mysql_config
> > > env ARCHFLAGS="-arch i386" gem install mysql 
> > > --with-mysql-dir=/usr/local/mysql
> > > gem install mysql -- --with-mysql-dir=/usr/local/mysql
> > > gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
>
> > Im not sure what Im doing wrong. Am I supposed to uninstall the
> > existing mysql and reinstall the latest (5.1.x) before I install the
> > mysql gem? Or are my ruby and mysql paths screwed up? Ive googled a
> > lot and tried all the suggestions (as you can see above) but none
> > work.
>
> > I raised this issue already in the group but no replies yet. So I've
> > reframed it in a simpler fashion. Even if noone knows the solution
> > right away, I'd really appreciate any inputs at all.
>
> > Thanks!

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to