search for: archflag

Displaying 20 results from an estimated 70 matches for "archflag".

Did you mean: archflags
2010 Jun 15
11
mysql gem install not happening on Mac OS Leopard - any inputs at all??
...he mysql-5.0.67-osx10.5-x86 folder in /usr/local . Im trying to upgrade my Rails apps to 2.3.5 but when i try to install the mysql gem, I get "ERROR: Failed to build gem native extension." I tried all the following commands with and without sudo and get the same error everytime > env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config > env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib --with-mysql-include=/usr/local/mysql/include > env ARCHFLAGS=...
2009 Jul 31
43
Error: uninitialized constant MysqlCompat::MysqlRes
Hi, I installed the "kwatch-mysql-ruby" gem on my Debian server but when I try to run the "db:migrate" task I get the following error: ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! uninitialized constant MysqlCompat::MysqlRes
2008 Oct 24
1
[mysql gem] Failed to lookup Init function
Hi, with mysql.rb removed from rails 2.2 I need to install the mysql gem I have mac osx 10.5.5 I have mysql installed in /usr/local/mysql, so, after a bunch of try, I''ve installed the gem with: env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/ usr/local/mysql/bin/mysql_config the gem seems installed in /usr/local/lib/ruby/gems/1.8/gems/ mysql-2.7/ but when I try to fire up a command than involves mysql e.g.: rake db:create I get this error: LoadError: Failed to lookup...
2010 Sep 08
3
puppet dashboard and 64-bit mysql
I was looking forward to trying this out, given the puported Solaris support. However, in attempting to install the prereqs for dashboard, I hit a major snag. My main server uses the blastwave MySQL install, which is a 64-bit version of MySQL 5. mysql Ver 14.12 Distrib 5.0.90, for pc-solaris2.10 (x86_64) Apparently the mysql bindings for ruby don''t like the 64-bit version. Output of
2012 Jan 05
4
mySQL: ERROR 1045: Access denied for user 'root'@'localhost' (using password: NO)
...------------------------------------- The database.yml file is configured like this: # MySQL. Versions 4.1 and 5.0 are recommended. # # Install the MySQL driver: # gem install mysql # On Mac OS X: # sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql # On Mac OS X Leopard: # sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql- config=/usr/local/mysql/bin/mysql_config # This sets the ARCHFLAGS environment variable to your native architecture # On Windows: # gem install mysql # Choose the win32 build. # Install MySQL and put its /bin directory o...
2010 Oct 13
3
using pg on snow leopard
I have a macbook running snow leopard. I recently installed postgresql 9.0 on it. I also installed pg with the following command: sudo env ARCHFLAGS=''-arch x86_64'' gem install pg The result was fine: Building native extensions. This could take a while... Successfully installed pg-0.9.0 1 gem installed Installing ri documentation for pg-0.9.0... Installing RDoc documentation for pg-0.9.0... I launched rails and when I trie...
2011 Nov 21
2
[PATCH] out of tree build: ruby
...@builddir@/ext/**/depend" ] @@ -38,13 +38,13 @@ CLOBBER.include [ "@builddir@/config.save", "@builddir@/ext/**/mkmf.log", # Build locally file MAKEFILE => EXT_CONF do |t| - unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; cd #{File::dirname(EXT_CONF)}; ruby #{File::basename(EXT_CONF)} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs" + unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-...
2011 Nov 29
1
[PATCH] out of tree build: ruby (second take)
...@builddir@/ext/**/depend" ] @@ -38,13 +38,13 @@ CLOBBER.include [ "@builddir@/config.save", "@builddir@/ext/**/mkmf.log", # Build locally file MAKEFILE => EXT_CONF do |t| - unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; cd #{File::dirname(EXT_CONF)}; ruby #{File::basename(EXT_CONF)} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs" + unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-...
2009 Oct 01
3
mongrel + mysql can't connect in custom mysql install
Hi all... The linux box I am working on I do not have root access to, and given I am at a government site all hope of that is lost. I have installed the mysql gem as follows: env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/home/t192zcs/mysql/mysql-5.1.39-linux-x86_64-icc-glibc23/bin/mysql_config --with-mysql-dir=/home/t192zcs/mysql/mysql-5.1.39-linux-x86_64-icc-glibc23 --with-mysql-lib=/home/t192zcs/mysql/mysql-5.1.39-linux-x86_64-icc-glibc23/lib/ --...
2010 Jun 02
2
Error on rake command
Hi, Have you an idea about this error message when i run the rake db:migrate command under Aptana ? rake aborted! NoMethodError: undefined method `ord'' for 0:Fixnum: SET SQL_AUTO_IS_NULL=0 Thanks Here My Config : Windows XP PRO SP2 Wamp 2.0 Aptana 2.0.4 RubyGems 1.3.5 Ruby 1.8.6 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to
2011 Dec 06
1
[PATCH] let the user explicitly choose ruby and rake programs
...Rakefile.in +++ b/ruby/Rakefile.in @@ -38,7 +38,7 @@ CLOBBER.include [ "@builddir@/config.save", "@builddir@/ext/**/mkmf.log", # Build locally file MAKEFILE => EXT_CONF do |t| - unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/guestfs; cd @builddir@/ext/guestfs; ruby #{EXT_CONF} --with-_guestfs-include=$top_srcdir/src --with-_guestfs-lib=$top_builddir/src/.libs" + unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export A...
2011 Nov 20
1
[PATCH] out-of-tree build: ruby
...dir@/ext/guestfs/_guestfs.c' @@ -38,13 +38,13 @@ CLOBBER.include [ "@builddir@/config.save", "@builddir@/ext/**/mkmf.log", # Build locally file MAKEFILE => EXT_CONF do |t| - unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; cd #{File::dirname(EXT_CONF)}; ruby #{File::basename(EXT_CONF)} --with-_guestfs-include=$top_srcdir/src --with-_guestfs-lib=$top_builddir/src/.libs" + unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\&qu...
2009 Sep 10
2
undefined method `get_client_info' for Mysql:Class
after upgraded to Snow Leopard... (32bits arch) I re-installed the mysql gem (i386 architecture) , all gems and rails 2.3.4 testing in the console $ irb irb(main):001:0> require ''rubygems'' => true irb(main):002:0> require ''mysql'' => true Mysql.get_client_info NoMethodError: undefined method `get_client_info'' for Mysql:Class from
2011 Dec 07
1
[PATCH] hivex: Fix Ruby bindings for 1.9; let the user explicitly choose ruby, rake
...Rakefile.in +++ b/ruby/Rakefile.in @@ -38,7 +38,7 @@ CLOBBER.include [ "@builddir@/config.save", "@builddir@/ext/**/mkmf.log", # Build locally file MAKEFILE => EXT_CONF do |t| - unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd @builddir@/ext/hivex; ruby #{EXT_CONF} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs" + unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS...
2011 Jun 21
2
Problem launching WEBrick in Rails
Hey everyone, i''m super new to Rails and excited to get going! I''m following the Ruby on Rails Essentials 3 tutorial from Lynda very closely and came across an error at the step when launching WEBrick. MY Setup: I am on OS X. I have installed the MySQL client and ran it from my OS X system prefs. I double checked my gems and mysql (2.8.1) and mysql2 (0.3.6, 0.2.11) are BOTH
2007 Nov 02
3
ruby-oci8 build fails
I''m trying to build the ruby-oci8 with the Oracle Instant Client on OS X. The Instant Client works, and the make seems to be ok with it up until OCIInitialize(). Anybody got this to work? [relevant output] /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby / Users/dmholmes/Desktop/ruby-oci8-1.0.0-rc2/ext/oci8/extconf.rb checking for load library path...
2009 Feb 10
3
scaffold macro problem
...3 ------------------------------------------------ My database.yml is given below # MySQL. Versions 4.1 and 5.0 are recommended. # # Install the MySQL driver: # gem install mysql # On Mac OS X: # sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql # On Mac OS X Leopard: # sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config # This sets the ARCHFLAGS environment variable to your native architecture # On Windows: # gem install mysql # Choose the win32 build. # Install MySQL and put its /bin directory on...
2009 Aug 06
20
Changing from database sqlite3 to mysql - windows
Hi Guys I''d like to know how to change from using sqlite3 to mysql. I''m running windows xp. What is the command that I must type under my application folder? How to I log into the mysql database afterwards? My database.yml file contents at the moment are: # SQLite version 3.x # gem install sqlite3-ruby (not necessary on OS X Leopard) development: adapter: sqlite3
2010 Jul 30
4
Ferret installation
Hi guys, I''m very new to the RoR. So please be kind to me.. I''m having problems with ferret installation in rubygems. I''m on: ruby 1.9.1p429 (2010-07-02 revision 28523) [i386-mingw32] Rails 2.3.8 and i''m running windows 7 x64 When i enter ''gem install ferret --version 0.11.6'', it returns this error: Building native extensions. This could
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