Browse the Ruby on Rails Community.

You are here: Forums Ask a Rails expert gem install mysql issue...

Replytotopic

gem install mysql issue

Posted in Forums : Ask a Rails expert

 
Profile

Authority 12
Posting Rating 0
Sign in to rate this post

Hi,
I have a question:

I’m reinstalling Rails and when I try to install the MySql adapter gives me the following bug:

C: \ ruby> gem install mysql
Successfully installed mysql-2.8.1-x86-mingw32
1 gem installed
Installing ri documentation for mysql-2.8.1-x86-mingw32 …

No definition for next_result

No definition for field_name

No definition for field_table

No definition for field_def
...

and later failed to install the gem
(it’s not in gem list)
I have MySql installed properly because I was using the same version of Ruby
Any ideas?

thank you very much

 
Profile

Authority 62
Posting Rating 90
Sign in to rate this post

what is the final error that you get?

 
Profile

Authority 0
Posting Rating 0
Sign in to rate this post

Have a look here:
http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/

 
Profile

Authority 0
Posting Rating 79
Sign in to rate this post

I have had luck with the following:

The devkit lets you compile the native gem extensions.

Good Luck!

 
Foto

Authority 37
Posting Rating 94
Sign in to rate this post

Hi Tom,

U can try with:

gem install mysql —no-ri —no-rdoc

 
Profile

Authority 12
Posting Rating 0
Sign in to rate this post

thank you all! , I could solve the issue:

I download the Ruby Installer from http://rubyinstaller.org/ Ruby (v 1.8.7).
Then install Rails (gem install rails) and then gem install mysql-no-ri-no-rdoc

thank you very much for the cooperation, I appreciate your time.

 
Profile

Authority 0
Posting Rating 2
Sign in to rate this post

my friend Candyed hardy clothes voiced her opinion that she would not go to see the torch. And she told me the reason for her idea was that she was not attrue religion all hopeful ultimately the world of various races and nationalities would unite the way we wanted it to, making torch relay of such magnitude nonsensical and unnecessary. She has a point here, and she might be true. But, I have to say that i do see something of tremendous importance here and would make no bones about being right there supporting the torched hardy. If I don’t go, i bet my life that I will feel deeply contrite afterwards. Personally, this is an opportunity once in a blue moon. Life should have some special events to mark each point, just as landmarks to make history memorial. I am not going to miss out on louis vuitton handbagsthis moment. I will take lots of pictures and share them with my friends.

Replytotopic

Other Recent Topics

Ask a Rails expert : nested application ApplicationController get called intead of children::ApplicationController

Ask a Rails expert : Best way to structure a database for a large/static dataset

Ask a Rails expert : Ruby Developer (ROR) - Scottish based (Remote working from within the UK)

Ask a Rails expert : Above Ground Pool Supplies

Ask a Rails expert : How to get url params in observer or model in Rails 3.1

Ask a Rails expert : What can persuade you to hire Junior Ruby devs with significant PHP experience?

Ask a Rails expert : What industry value does the Ruby or Rails Certification currently have?

Ask a Rails expert : Louis Vuitton Damier Azur Canvas specially sale ( www.salecheaplouisvuitton.com )

Ask a Rails expert : ·How to check errors/puts statements from ruby files which are under cronob

Ask a Rails expert : Louis Vuitton cheap Soft Sided Luggagespecial offer( www.salecheaplouisvuitton.com )

Formatting Help
  • *bold*       _italics_      
    bq. (quotes)
  • "DSC":http://www.dsc.net
  • * or # (lists)
or cancel