Displaying 20 results from an estimated 20000 matches similar to: "Trouble getting Mysql and Ruby to talk"
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
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
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 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
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...
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
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
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
2011 Sep 07
2
Installing the openssl on CentOS
Hi, all
Please look my error message ,
$ which openssl
/usr/bin/openssl
$ whereis openssl
openssl: /usr/bin/openssl /usr/lib/openssl
/usr/share/man/man1/openssl.1ssl.gz
$ openssl version
OpenSSL 1.0.0-fips 29 Mar 2010
$ irb
irb(main):001:0> require ''openssl''
LoadError: no such file to load -- openssl
from
2010 Jan 18
1
Cannot use openssl, undefined symbol: d2i_ECPKParameter
I have this undefined symbol d2i_ECPKParameters
I have already compiled and installed openssl
irb(main):001:0> require ''openssl''
LoadError: /usr/local/lib/ruby/site_ruby/1.8/i686-linux/openssl.so:
undefined symbol: d2i_ECPKParameters - /usr/local/lib/ruby/site_ruby/
1.8/i686-linux/openssl.so
from /usr/local/lib/ruby/site_ruby/1.8/i686-linux/openssl.so
from
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 Jun 03
1
Require not working
Hi,
I installed the require ruby gems and it is there in the lib
directory ..
but when i tried to call it using require its not working
1) with irb: i tired require ''rubygems'' its throwing me false
and for require ''scrubyt'' its throwing the below given error message
LoadError: no such file to load -- parse_tree_reloaded
from
2009 Oct 30
2
wxRuby on Ubuntu 9.10
Installing the gem from rubygems, along with the available wxwidgets
packages from synaptic, I'd recieve this error:
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so:
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so:
symbol _ZN13wxAuiNotebook14ShowWindowMenuEv, version WXU_2.8.5 not
defined in file libwx_gtk2u_aui-2.8.so.0 with link time reference -
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 Mar 15
1
Console load failure on windows
I had a very odd problem recently that manifested itself like this..
C:\rails_apps\cookbook>ruby script/console
Loading development environment.
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'': no such file to load -- ./script/../config/
../config/environment (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21:in
2006 May 30
1
Apache can''t load/require rubygems
Hi,
I have rubygems installed in my home directory as I''d like to have
control over gems without requiring root access. I''m trying to deploy
a known working rails app on this machine but it falls down at the
"require ''rubygems''" line in boot.rb. I have added the path to
rubygems to LOAD_PATH in environment.rb; this is confirmed by dumping
$: to a
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)