Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
uninitialized constant MysqlCompat::MysqlRes
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rick  
View profile  
 More options Dec 9 2010, 5:39 pm
From: Rick <jetfo...@gmail.com>
Date: Thu, 9 Dec 2010 14:39:55 -0800 (PST)
Local: Thurs, Dec 9 2010 5:39 pm
Subject: uninitialized constant MysqlCompat::MysqlRes
I'm having some difficulty setting up the Potion store on my Mac:

$ rake db:migrate --trace
(in /Users/rmann/Downloads/potionstore-0.5.0)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
uninitialized constant MysqlCompat::MysqlRes
/Users/rmann/Downloads/potionstore-0.5.0/vendor/rails/activesupport/
lib/active_support/dependencies.rb:442:in `load_missing_constant'
/Users/rmann/Downloads/potionstore-0.5.0/vendor/rails/activesupport/
lib/active_support/dependencies.rb:77:in `const_missing'
/Users/rmann/Downloads/potionstore-0.5.0/vendor/rails/activerecord/lib/
active_record/connection_adapters/mysql_adapter.rb:9:in
`define_all_hashes_method!'
...

Any idea what I'm doing wrong? Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Kim  
View profile  
 More options Dec 9 2010, 5:48 pm
From: Andy Kim <a...@potionfactory.com>
Date: Thu, 9 Dec 2010 14:48:53 -0800
Local: Thurs, Dec 9 2010 5:48 pm
Subject: Re: [Potion Store] uninitialized constant MysqlCompat::MysqlRes
It looks like it's not finding the mysql library.

Did you do a "sudo gem install mysql"?

- Andy Kim

On Dec 9, 2010, at 2:39 PM, Rick wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rick Mann  
View profile  
 More options Dec 9 2010, 5:52 pm
From: Rick Mann <rm...@latencyzero.com>
Date: Thu, 9 Dec 2010 14:52:08 -0800
Local: Thurs, Dec 9 2010 5:52 pm
Subject: Re: [Potion Store] uninitialized constant MysqlCompat::MysqlRes

On Dec 9, 2010, at 14:48:53, Andy Kim wrote:

> It looks like it's not finding the mysql library.

> Did you do a "sudo gem install mysql"?

Sure did (got a different complaint before I did). It complained during the install, but seemed to be complaining about docs:

$ sudo gem install mysql
Password:
Building native extensions.  This could take a while...
Successfully installed mysql-2.8.1
1 gem installed
Installing ri documentation for mysql-2.8.1...

No definition for next_result

No definition for field_name

No definition for field_table

No definition for field_def

No definition for field_type

No definition for field_length

No definition for field_max_length

No definition for field_flags

No definition for field_decimals

No definition for time_inspect

No definition for time_to_s

No definition for time_get_year

No definition for time_get_month

No definition for time_get_day

No definition for time_get_hour

No definition for time_get_minute

No definition for time_get_second

No definition for time_get_neg

No definition for time_get_second_part

No definition for time_set_year

No definition for time_set_month

No definition for time_set_day

No definition for time_set_hour

No definition for time_set_minute

No definition for time_set_second

No definition for time_set_neg

No definition for time_set_second_part

No definition for time_equal

No definition for error_errno

No definition for error_sqlstate
Installing RDoc documentation for mysql-2.8.1...

No definition for next_result

No definition for field_name

No definition for field_table

No definition for field_def

No definition for field_type

No definition for field_length

No definition for field_max_length

No definition for field_flags

No definition for field_decimals

No definition for time_inspect

No definition for time_to_s

No definition for time_get_year

No definition for time_get_month

No definition for time_get_day

No definition for time_get_hour

No definition for time_get_minute

No definition for time_get_second

No definition for time_get_neg

No definition for time_get_second_part

No definition for time_set_year

No definition for time_set_month

No definition for time_set_day

No definition for time_set_hour

No definition for time_set_minute

No definition for time_set_second

No definition for time_set_neg

No definition for time_set_second_part

No definition for time_equal

No definition for error_errno

No definition for error_sqlstate


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Kim  
View profile  
 More options Dec 9 2010, 6:12 pm
From: Andy Kim <a...@potionfactory.com>
Date: Thu, 9 Dec 2010 15:12:32 -0800
Local: Thurs, Dec 9 2010 6:12 pm
Subject: Re: [Potion Store] uninitialized constant MysqlCompat::MysqlRes
It's been a while since I've tried running Potion Store on my Mac so perhaps others can help better, but a brief Google search yields two links that look promising. You probably saw these already, but I'm not sure what else I can give you at the moment.

- Andy Kim

http://stackoverflow.com/questions/1332207/uninitialized-constant-mys...

http://stackoverflow.com/questions/1946182/problem-installing-mysql-g...

On Dec 9, 2010, at 2:52 PM, Rick Mann wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »