Feeds:
Posts
Comments

Archive for the ‘Rails – Mac Leopard’ Category

When you delete files by emptying the Trash, Mac OS X deletes the information used to access the files but doesn’t actually delete the files. Although the disk space used by deleted files is marked as free space, deleted files remain intact until new date is written over them. Because of this, deleted files can [...]

Read Full Post »

sudo env ARCHFLAGS=”-arch i386″ gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config

Read Full Post »

If you come across the following error in Intel Mac when you build Raspell, Need to update 18 gems from http://gems.rubyforge.org ……………… complete Building native extensions. This could take a while… ERROR: While executing gem … (Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension ruby extconf.rb install raspell checking for ruby.h… yes checking for aspell.h… [...]

Read Full Post »

You should have MacPorts(http://www.macports.org/?page_id=48) already installed. ~$ sudo port -d selfupdate Now use MacPorts to download and compile all the dependencies, ~$ sudo port install jpeg libpng libwmf tiff lcms freetype ghostscript sudo port install tiff -macosx sudo port install ImageMagick sudo gem install rmagick Hope you got RMagick.

Read Full Post »

The following error is thrown when we try to do ‘gem install something’ from behind the proxy. ERROR: While executing gem … (Gem::RemoteFetcher::FetchError) Operation timed out – connect(2)(Errno::ETIMEDOUT) To get out of this, do the following in your terminal. export http_proxy=http://proxyserver:portnumber export ftp_proxy=http://proxyserver:portnumber Now enjoy doing gem installs. If you want this settings permanently, add [...]

Read Full Post »

SVN behind Proxy

If you are behind a proxy server and still want to download from the repository, you may come across this error. subversion/libsvn_ra_dav/util.c:826: (apr_err=175002) subversion/libsvn_ra_dav/util.c:296: (apr_err=175002) and so on Open the file (vim ~/.subversion/servers) and search for the following items and edit it. http-proxy-host = <proxy server name> http-proxy-port = <port number> You are done.

Read Full Post »

Postflight script failed

I came across this error when I installed MacPorts in my system. <date> <hostname> : Install failed: The following install step failed: run postflight script for <myPackageName> I did the following to resolve this issue, echo $PATH Make sure the path begins with the MacPorts’ paths like the following /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin If not add the following [...]

Read Full Post »

If you come across this error when doing svn co, svn: error: cannot set LC_ALL locale svn: error: environment variable LANG is UTF-8 svn: error: please check that your locale name is correct Just issue in your terminal, export LC_ALL=en_US If you want this settings permanently, add them to ~/.profile or ~/.bash_profile

Read Full Post »

Download and install Mysql first. The installer is available in the following location, http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg Now issue the following command. sudo env ARCHFLAGS=”-arch i386″ gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config

Read Full Post »