similar to: Installation C-based MySQL library

Displaying 20 results from an estimated 20000 matches similar to: "Installation C-based MySQL library"

2008 Jul 02
1
MySQL gem vs RoR default library
I have Rails v 2.0.2 Ruby v 1.8.6 MySQL db v 5.x I am confused as to whether we should use the MySQL gem or the RoR default MySQL support library. The consultants that had worked on the initial phase of the project had me remove the gem saying that it is better to use the RoR library, that the gem was necessary in earlier version of Rails. BUT, I get the WARNING below which says the opposite.
2009 Aug 18
7
** Removing all instances of mysql on mac osx **
I am trying to switch from sqllite3 to mysql on Ruby on Rails. Whenever I try to install the mysql gem, i get an error: *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. I cd''d into my usr/local/bin directory and saw i have several
2009 Dec 06
5
Using MySQL with Rails
If I want to use MySQL instead of sqlite3 when creating a Rails application, apart from creating the application with the -d mysql and configuring the config/database.yml file is there anything else I did to do/download? 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
2010 Jan 03
9
ferret search in production
Hi there, after recently deploying my app, I have noticed that the search results are not being displayed... When I look in my app, I also notice that the apps content (search criterea) is not being indexed, so I dont have an index folder being created. I read on a google post that it may be that the ferret.yml server isn''t started (or perhaps the content of this file are not right) I
2009 Aug 15
10
** PLEASE HELP A NEWBIE ** Status: 500 Internal Server Error no such file to load -- mysql
Hello All, I have managed to upgrade ruby to 1.8.7. However, when I use Terminal and ''cd'' to the app and run ''ruby script/ server'' ... I get an error when i click the link ''about your applications environment''. When I look into Terminal, it suggests Status: 500 Internal Server Error no such file to load -- mysql How do I overcome this?
2008 Feb 19
0
Rubycas-server installation
Hi, I''m not sure if i''m here in the right place but i have some questions about installing the rubycas-server. I have found some good documentation on how to install ''ruby'' and ''ruby on rails'' and that works fine :). So i moved on to the rubycas-server part. I tried to follow the instructions on this site:
2008 Dec 20
9
Upgrade to Rails 2 - problem with "save" (MySQL boolean issue?)
I have been working through an upgrade of my 1.2.6 application to 2.2.2. I am almost there but I have hit a problem with ActiveRecord. Before the upgrade, the following code was working fine. def create_root(administrator) root = create_root_collection(self.pingee_name, administrator,
2008 Dec 14
0
Newbee met problems when do some i18n on rails
1. I have download the zh-CN.yml file from http://github.com/svenfuchs/rails-i18n/tree/master/rails locale 2. I have put this zh-CN.yml in to my locales folder. 3. I have modified the enviorment.rb like follow: config.i18n.load_path << Dir[File.join(RAILS_ROOT, ''my'', ''locales'', ''*. {rb,yml}'')] config.i18n.default_locale =
2012 Jan 05
4
mySQL: ERROR 1045: Access denied for user 'root'@'localhost' (using password: NO)
Hello, I am using InstantRails 2.0 on windows. When building an app,I get this error when hit the browser(Action ControllerException caught): Access denied for user ''root''@''localhost'' (using password: NO) ----------------------------------------------------------------------------------------------- The database.yml file is configured like this: # MySQL.
2007 Jul 02
3
list box poupulation using php,mysql and ptototype
I have some problems with php and Prototype.I am trying to implement listbox population (second dropdown box values depend on first dropdown) using php,Mysql and Prototype.But i have no idea how to implement . I hope you all have sucessfully done this, please show me an example --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2007 Dec 04
37
Can`t connect to MySQL Database with Netbeans 6 for RoR ?
Hello, I am just yes fighting is the right word through the Netbeans 6.0 for RoR guidance: [quote]1.gem install mysql 2.Choose the win32 build. 3.Install MySQL and put its /bin directory on your path.[/quote] did the first 2 steps but what means step 3 ??? Your path? What is my path and which path? The connection to the MySQL database is also not working, why? what do i wrong? Please help :)
2008 Jan 26
2
empty Model creates DangerousAttributeError and connection is defined by ActiveRecord
Dear list, The following situation drives me crazy. I have one model called AlumniMember and one AlumniData. Both filled with code. I developed both on Rails 1.2.3. Now I update the App to Rails 2.0.2. Now the following happens, always when I call AlumniData.new I get the DangerousAttributeError. First I cleaned out the Model, the only line I left is "has_one :alumni_member". Same
2011 Feb 20
2
Problem with mysql2 gem and Debian
Hi Guys, I''m having an issue with deploying my application and the mysql2 gem. I am developing on Windows 7 with Ruby 1.9.2 and Rails 3.0.3. On my local machine in development environment the application runs just fine. But when I want to deploy it on our production server I get an error message from passenger. "Please install the mysql2 adapter: `gem install activerecord-mysql2-
2011 Sep 23
4
Could not find a valid gem 'activerecord-mysql-adapter' (>= 0) in any repository
Hi, since upgrading my gems from activerecord-3.0.10 to activerecord-3.1.0 my scripts using activerecord don''t work anymore. I get an error message Error Please install the mysql adapter: `gem install activerecord- mysql-adapter` (Could not find RubyGem mysql (~> 2.8.1) ) but gem does not find such a package: ERROR: Could not find a valid gem
2010 Mar 26
6
Rake argument error
Hi, I''m having a problem loading a sample data with simple rake command. rake db:fixtures:load When I run the above command,I get the following error $rake db:fixtures:load (in /home/raghu/www/photos) rake aborted! a YAML error occurred parsing /home/raghu/www/photos/test/fixtures/photos.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Please
2009 Aug 01
23
Hi doubt in unit testing
def test_check_for_validity post=County.new(:name=>"myname",:description=>"mydesc") assert post.save end above is the method and when i run unit test it is saying as 1) Failure: test_check_for_validity(CountyTest) [/test/unit/county_test.rb:10]: <false> is not true. what does it say i cannot under stand please help -- Karthik.k Mobile -
2010 Dec 30
2
unexpected input in rpart
Hi all, I'm a newbee using R. I need to do a classification tree using the rpart package. Basically I have a set of birds of known sex and several morphological measurements and we want to predict the sex using the morphology. I read my csv file and it shows up in R no problem, looks fine but when I execute the following rpart command
2008 May 21
2
Replacing ActiveRecordStore::Session with a custom model
Has anyone managed to replace ActiveRecordStore::Session with their own model? In the source (http://dev.rubyonrails.org/browser/trunk/actionpack/lib/ action_controller/session/active_record_store.rb) it says you can override the default by setting CGI::Session::ActiveRecordStore.session_class = MySessionClass I have tried doing this in a number of ways but I get all kinds of weird errors, as
2007 Jun 18
2
mysql-5.0.41 and mysql native gem
Has anyone else had problems with the mysql native gem when using MySQL 5.0.41. It appears that this version of MySQL has moved some depended library files. I rolled back to MySQL 5.0.37 and all seems to be working now. But, just wanted to know if anyone else has experienced this issue. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed
2009 Jul 31
8
Would like include model association in to_xml
i have: class Library << ActiveRecord::Base has_many :books end class Book << ActiveRecord::Base belongs_to :library end in my controller i have: render :xml=> Library.find(:all).to_xml(:include=>books) but, i would like put a condition in the books ( e.: pages >= 100 ) i would like to create a xml with all Libraries, but books with pages more than 100) How to