similar to: mysql-ruby gem using significantly more memory that mysql.rb ?

Displaying 20 results from an estimated 10000 matches similar to: "mysql-ruby gem using significantly more memory that mysql.rb ?"

2006 Jul 07
2
gem install mysql ***extconf.rb failed***
I''ve installed rails (and it works) and now I want to be able to connect to a mysql database. The database.yml file tells me to install the mysql drivers by typing: gem install mysql This is the error I receive: 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
2010 Mar 24
3
How to include a ruby gem environment.rb file?
I''m doing a Web Service Based on a page I found (http://blog.complitech.net/web-services-basics-ruby-on-rails/) using the rails version 2.3.4, the web service is already working, but when working on a version Previous: RAILS_GEM_VERSION = ''2 .0.2 ''unless defined? RAILS_GEM_VERSION I can not run the service. On the previous page, there''s a part that says: 3)
2006 Mar 03
1
starting webrick from ruby (tar2rubyscript.rb)
I am using tar2rubyscript to package up a rails application and run it as one file from the server. If you run script/server and have lighttpd install it will start lighty instead of webrick. So, thanks to Erik Veenstra''s suggestion, I add ARGV.unshift("webrick") to the init.rb file to force webrick to start: ARGV.unshift("webrick") load "script/server"
2011 Nov 27
0
/usr/bin/ld: cannot find -lmysqlclient_r installing ruby gem mysql2.... in Fedora Linux + MySQL 5.5.15...
[dinooz@fedora rails]$ uname -a Linux fedora 2.6.35.10-74.fc14.i686 #1 SMP Thu Dec 23 16:17:40 UTC 2010 i686 i686 i386 GNU/Linux [dinooz@fedora rails]$ [dinooz@fedora rails]$ rpm -qa |grep MySQL MySQL-client-5.5.15-1.linux2.6.i386 MySQL-test-5.5.15-1.linux2.6.i386 MySQL-server-5.5.15-1.linux2.6.i386 MySQL-shared-compat-5.5.15-1.linux2.6.i386 MySQL-devel-5.5.15-1.linux2.6.i386 [dinooz@fedora
2006 Nov 13
0
[737] trunk/wxruby2/rake/rakepackage.rb: Ensure that lib/wx/classes/ .rb files are included in gem and tarball
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2010 Jul 19
0
Forking and integration tests
Hi All, I had a bug in one project, that data get duplicated in the DB due to multiple instances of the application (multiple thins) are accessing the DB at the same time .. The typical mistake. Problem fixed. I just need to write a test code that covers the fixed bug. I need to simulate the concurrent requests that can result in the original bug. I thought of many ideas and decided to go with
2003 Jan 30
4
An "any" host source/destination
Just out of curiosity, I''m running shorewall on a machine that has 4 nic''s and 4 different VPN tunneled subnets. When I want to define a service that is available from any source to a certain destination, instead of making a matrix of all the different combinations possible, is there an easier way? Something like,: ACCEPT any loc tcp ssh Which
2006 Mar 17
2
Installing MySql using Ruby Gems
I''m using Kubuntu Breezy and I''m trying to install MySql using Ruby I''m using ruby 1.8.3 and gem 0.8.11 ##### jimmyb@scooter:~$ sudo gem install mysql Attempting local installation of ''mysql'' Local gem file not found: mysql*.gem Attempting remote installation of ''mysql'' Updating Gem source index for: http://gems.rubyforge.org
2003 Jan 28
2
Port forward and redirect
Hello, I have a server to which is defined with static nat in Shorewall, and on that server, I''m running a http on a non-standard port (lets say, port 1234). I would like to use on of my free IP addresses, and map port 80 on the public side to port 1234 on the private side (forget about binding my services on a separate IP on the server, if it was feasible, I would have done that).
2009 Apr 11
6
Inserting data from 1 table to another by using find_by_sql
Hi All, I am inserting data from one table to another by using following method @data=RoyaltyReportFiles.find_by_sql("insert into royalty_reports (artist_name, album_name) select artist_name, album_name from temp_royalty_reports where id=328417") it saves the data into royalty_reports table but it gives following error and application crashes. i am using rails 1.2.5 You have a nil
2010 Sep 09
0
Rails3: jquery-rails gem sets 'config.action_view.javascript_expansions' but cannot be overriden in 'config/application.rb'
Hello, I''ve created a new Rails3 app and I''m using jQuery instead of prototype. Gemfile: gem ''jquery-rails'' in my config/application.rb I want do the following: config/application.rb if Rails.env.production? config.action_view.javascript_expansions[:defaults] = %w(jquery.min rails application) else
2011 Jun 15
0
rail_upgrade gem fails to recognise environment.rb
The rails 3 upgrade gem is refusing to generate a new application rb for a project i am trying to get onto rails 3. Running: rake rails:upgrade:configuration --trace Results in the following error: There doesn''t seem to be a real environment.rb in your app. Are you sure config/environment.rb has the right contents?
2008 Jul 03
1
halp! howto config env.rb to look for rmagick gem?
hi, my rails application is having trouble locating rmagick to use with acts as attachment. my host put the gem in /home/myaccount/ruby/gems/gems/rmagick. how do i tell my rails app rmagick is located there? i tried require "/home/myaccount/ruby/gems/gems/rmagick", but that was crashing my rails app. and ENV[''GEM_PATH''] =
2012 Mar 21
2
aws-s3 gem install error- bittorrent.rb
Hello, Am running build install on an existing project and I get this error: Installing aws-s3 (0.6.2) Errno::EACCES: Permission-denied - D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/aws-s3-0.6.2/lib/aws/s3/bittorrent.rb An error occured while installing aws-s3 (0.6.2) and Bundler cannot continue, make sure that gem install aws-s3 -v ''0.6.2'' succeeds before bundling.
2006 May 03
0
urug/utahvalley.rb Ruby Meeting Tue 9 May
It''s that time again. Tuesday at 7PM, in room 120 of the TMCB. (That would be the Talmage Mah and Computer science Building at BYU.) It should be a great chance to hang out and have some fun with Ruby, Rails, and related toys. -- thanks, -pate ------------------------- http://on-ruby.blogspot.com
2006 Mar 07
0
Fwd: [Ruby on Rails] #4112: PostgreSQL views not supported when dumping schema.rb file
I just added a ticket to the Rails Trac about this issue. Is anyone else here running into the same problem? If so, perhaps we can put our heads together to come up with a workable solution. ---------- Forwarded message ---------- From: Ruby on Rails <davidhh@wrath.rubyonrails.com> Date: Mar 7, 2006 7:57 AM Subject: [Ruby on Rails] #4112: PostgreSQL views not supported when dumping
2003 Oct 23
2
make install vs. ruby install.rb
It seems that we currently have two methods of installing wxruby after it has been built. Makefile includes an ''install'' target, which appears to do the right thing under Linux. install.rb appears to have code for MSWindows and OS X. We should unify these into a single mechanism, but I''m not sure which is better. Or perhaps install.rb could launch ''make
2008 Apr 08
0
Planet Facebook.rb News - Get Your Ruby Blog Stories About Facebook & Friends Included
Hello, The Planet Facebook.rb publishes Ruby stories about Facebook and friends for easy reading or subscription in a single "river of news". Latest stories include: o Beboist - Updates and Attention o Facebook, Facebooker and Ruby on Rails = RoRBook o Intridea launches a Ruby API for the Bebo Platform o How to Handle Facebook App Uninstalls with RFacebook o Tinkering with
2011 Jan 06
0
parse.rb:33: [BUG] Segmentation fault ruby 1.8.7 Hpricot
Has anyone had this issue above with hpricot? I cannot seem to find a solution that works. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2005 Dec 25
0
ruby install.rb setup failed
Hi! I can''t run fxruby setup on FreeBSD 6 (amd64, 2x opteron) I had no problems with Fox ./configure --with-shape --enable-threadsafe --enable-cups \ --with-x --with-xft --with-xcursor --with-xrandr --with-xim \ --with-profiling --with-opengl && make && make install but I get errors when I try to setup fxruby: (config shows no errors) ruby install.rb config -- \