Tag Archives: osx

Deploying Rails on Apache on Mac OSX – 403 Forbidden Error

Questions: I have browsed over 100 links in the past hour, and nothing has helped. What I’m trying to do is simple: deploy a rails app on apache using passenger. The issue I’m getting is a 403 Forbidden error. My setup: I run these two commands: sudo gem install passenger rvmsudo passenger-install-apache2-module Then in etc/apache2/other… Read More »

SWT Invalid Thread Access on Mac OSX (Eclipse Helios)

Questions: I have the simplest of all simple SWT programs (it doesn’t even display hello world yet): package com.samples.swt.first; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); }… Read More »

Installing mcrypt extension for PHP on OSX Mountain Lion

Questions: Apologies in advance for the potential n00b questions, I am trying to install the mcrypt extension for PHP on my OSX Mountain Lion machine. The following steps in terminal is what I have done so far to achieve my PHP install cd /path/to/downloaded/php-5.3.21/ext/mcrypt/ /usr/bin/phpize ./configure cd /path/to/downloaded/php-5.3.21 ./configure –with-config-file-path=/private/etc/php.ini –with-apxs2=/usr/sbin/apxs make sudo make install… Read More »

VBA Editor broken – Excel 2016 OSX

Questions: I recently installed Excel 2016 for mac and when I launched the VBA editor the text was placed in a vertical way (line without any width) as shown in the following image. Any workaround for this? Answers: There has been a new release (15.39.0 build 17101000) for Office Excel for Mac. It has been… Read More »

JAVA_HOME on OSX with Eclipse and Maven

Questions: I’ve recently set up an OSX machine and i have trouble getting Maven to pickup JAVA_HOME when running inside Eclipse. I’ve done the following so far: Set JAVA_HOME in ~/.bash_profile with export JAVA_HOME=$(/usr/libexec/java_home) Specify the VM for Eclipse inside eclipse.ini to -vm /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java Set JAVA_HOME in /etc/mavenrc with echo JAVA_HOME=\/usr/libexec/java_home -v 1.7` | sudo… Read More »

Mac OSX Lion Apache + RubyOnRails + mod_passenger

Questions: I’m trying to learn how to develop web application with Ruby On Rails but I’ve incurred in a silly error. I’m trying to use Phusion Passenger aka mod_rails to use Apache instead of WEBrick; I’ve installed the module via gem and run the sudo passenger-install-apache2-module command to install passenger; then I edited the http.conf… Read More »

F# or C# based Excel add-in on OSX

Questions: I have some handy Excel add-ins running under Excel on Windows and I would really like to produce versions of the add-ins that will work with Excel on OS X. Under Windows I use the fantastic Excel-DNA package to allow me to invoke my .Net based logic from VBA. However, on my Mac I’m… Read More »