similar to: Trouble getting Mysql and Ruby to talk

Displaying 20 results from an estimated 20000 matches similar to: "Trouble getting Mysql and Ruby to talk"

2011 Aug 24
3
How to connect Ruby with MySQL (XAMPP)?
*Dear All:* I need your help on following points. 1. Can I connect Ruby with MySQL in XAMPP server? 2. Could someone tell me that how to connect MySQL with Ruby? I have XAMPP server installed and want to connect with ruby. I am using Ruby1.8.7. I tried following code: require ''rubygems'' require ''mysql'' begin # connect to the MySQL server
2006 Jan 29
4
ruby can''t open library: /Library/MySQL/lib/mysql/libmysqlcl
When I try to start a Rails app, I get the following error: ruby can''t open library: /Library/MySQL/lib/mysql/libmysqlclient.12.dylib I''m on OS X and was previously using Complete MySQL. Recently, I upgraded to MySQL 4.1 using the regular MySQL installer. I think that this problem probably occurred after that upgrade, as I have not used Rails after upgrading (about a couple
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
Hi, My system has the following : MacOs Leopard Rails 3 Ruby 1.9 Mysql 5.1.58 mysql2 ruby gems My problem is that when i give "rails server", the task aborts with the foll error rails server/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/ railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
2009 Sep 10
2
passenger with ruby enterprise edition
Hi I am failing to start apache2 with ruby enterprise edition and passenger 2.2.5 [Wed Sep 09 17:38:20 2009] [notice] Apache/2.2.11 (Ubuntu) mod_ssl/2.2.11 OpenSSL/0.9.8g Phusion_Passenger/2.2.5 configured -- resuming normal operations *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- puppet) (process 16544): from
2009 Mar 25
0
RMagick LoadError
I installed RMagick 2.9.1 and tried to test RMagick code below. irb -rubygems -r RMagick But I got an error like below. /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick2.so: libMagickCore.so.2: cannot open shared object file: No such file or directory - /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick2.so (LoadError) from
2010 Feb 26
0
ruby script/cucumber -tags producing a gem error
When I do "ruby script/cucumber" the tests run no issues. When I do the same thing but -tags tag_name I get a gem version error: Where is it coming from and why?? Using the default profile... RubyGem version error: rack(1.0.1 not = 1.1.0) (Gem::LoadError) F:/BACKUP/Backup/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:827:in `report_activate_error''
2008 Jul 02
3
undefined method `name' for nil:NilClass
I''m a new puppet user. I can''t puppetmasterd to start. I searched this group for the error message I get, but found nothing. Any ideas? [root@puppet ~]# puppetmasterd undefined method `name'' for nil:NilClass Using the --debug switch and ruby''s --debug option shows the following: [root@puppet ~]# puppetmasterd --debug debug: Parsing /etc/puppet/puppet.conf
2007 Jun 04
1
Ferret install on WinXP fails - procedure entry point rb_w32
Hello. I''m trying to use the ''acts_as_ferret'' gem with Rails. Rails: 1.1.4 and 1.2.3 OS: WinXP I''ve installed both Ferret and the plugin using Ruby Gems: C:\>gem install ferret Successfully installed ferret-0.11.4-mswin32 Installing ri documentation for ferret-0.11.4-mswin32... Installing RDoc documentation for ferret-0.11.4-mswin32... C:\>gem install
2006 Jan 12
2
Can''t install rubygems on Debian 3.1
Hi all, When I try to install rubygems I get this: install security.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems install gem_openssl.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems <--- lib/rubygems <--- lib /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- zlib (LoadError) from
2007 Dec 10
0
mysql error with rails 2.0.1
Hello Friends, Sorry for my bad english.I am a rails novice. I successfully install rails 2.0.1 and activerecord 2.0.1 in my windows Xp sevice pack 2 system. I am trying to develop simple rails application which does not require database. 1st i type from my command prompt: rails myapp then I create a controler : myapp/script>ruby generate controler hi index after that i start the webbrick
2007 Aug 08
6
What ruby/rails componet do I need?
I stole a script from the archives which shows how to launch an https version of webrick. However I am getting an error that indicates that my ruby/rails isntallation is missing a component to support ssl as called from webrick. The script line in question is: 6 require ''webrick/https'' and the error stack generated is:
2006 May 12
2
Problems installing on Fedora
Hello everyone, I am new to Ferret and new to this mailing list. I am having a problem installing. sudo gem install ferret Attempting local installation of ''ferret'' Local gem file not found: ferret*.gem Attempting remote installation of ''ferret'' Updating Gem source index for: http://gems.rubyforge.org Building native extensions. This could take a while...
2007 Apr 11
1
error about "gem install mysql -r "?
ruby 1.8.6 (2007-03-13 patchlevel 0) [i486-linux] Rails 1.2.3 ------------------------------------------------------- debian:/home/ror# gem list -l *** LOCAL GEMS *** Service layer for easy email delivery and testing. actionpack (1.13.3) Web-flow and rendering framework putting the VC in MVC. actionwebservice (1.2.3) Web service support for Action Pack. activerecord (1.15.3)
2007 Apr 13
1
mongrel on linux error - custom_require.rb:27:in `gem_original_require'': no such file to load -- (LoadErro
We''re deploying mongrel with Apache on CentOS. I have installed mongrel but when I try to run it, I get the following error. Can someone tell my why and how to fix it. Also does anyone have experience in deploying mongrel on CentOS ? mongrel_rails start -d /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- (LoadError)
2006 Aug 02
1
unable to "require" installed gems
Hi, I''ve installed sqlite3 (via the instructions at http://wiki.rubyonrails.org/rails/pages/HowtoUseSQLite), and all went well OSX 10.4.7 ruby 1.8.4 (2005-12-24) [powerpc-darwin8.6.0] and sqlite3.rb is in /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib but I can''t <require ''sqlite3''> caw$ irb irb(main):001:0> require
2006 Mar 31
6
Install rubygems error
I made the mistake of trying to upgrade to 1.8.4 from 1.8.2 and had intended to upgrade to rails 1.1. I have now completely borked my ruby gems installation. After installing ruby I get the following error when trying to execute gem: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- zlib (LoadError) from
2010 Apr 23
3
rails-3.0.0.beta3 install error on ri 'lib' ENOENT
Hi, I was getting an odd error installing rails-3.0.0.beta3 on a fresh Ubuntu 10.04 install. The same exact error was occurring on my Ubuntu 9.10 install, so I''m sure it isn''t something specific to the Ubuntu version (nor beta for that matter). This is the error: mike@ubuntu:~/rubygems-1.3.6$ sudo gem1.9.1 install rails --pre Successfully installed activesupport-3.0.0.beta3
2007 Mar 07
1
missing openssl ruby bindings on Fedora Core 5
Hi, I''ve been reading about the many openssl ruby bindings problems on Ubuntu and Debian and their solutions to the following problem: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- openssl (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `require''
2013 Oct 07
0
ruby script/plugin install ...
I am trying to migrate a rails app from the rails 2.x world (which was the last time I worked with rails) and I''m trying to run the command: ruby script/plugin install git://github.com/activescaffold/active_scaffold.git --force which returns: /home/user/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'': cannot load such
2005 Dec 27
2
Error when starting WebBrick after installing Login Engine.
I''ve installed and configured my app according to the instructions of the README file. When I try to start WebBrick i get the following error: ./script/../config/../config/environment.rb:55: undefined method `config'' for LoginEngine:Module (NoMethodError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'' from