I just installed RoR 3 with sudo gem install rails. I tried this multiple times, but every time I run $ rails I get an error and I hate it:
imac:~ rsonic$ rails
/Users/rsonic/.gem/ruby/1.8/bin/rails:19:in `load': no such file to load -- rails (LoadError)
from /Users/rsonic/.gem/ruby/1.8/bin/rails:19
How can I fix this? I want to u...
Possible Duplicate:
Mac text/code editor
What's your favorite Code Editor or IDE for Mac OS X?
Note: An associate and myself found a newer Code Editor, WYSIWIG style, about a month ago, and cannot recollect it's name or find it anywhere on the net. It was referred to in several articles as the 'Dreamweaver Killer,' and it's ...
Hi,
I have a root folder and there are sub folders in it. It is generally one level only but it can be deeper. These folders will have different files including some .rar files. I want to create a recursive function which traverses the folders, check if the file is a rar file and open/extract it. The code is working to first level with ...
I just got a Mac Mini OS X Server. This is my first foray into the Mac world. Wanting to get off on the right foot as I configure my machine, which will be used principally for software development (java, groovy, grails, javascript, etc.), I am wondering what conventions are typically followed as you install software tools, locate your p...
Hi, I was trying to restrict the scope of a NSMetadataQuery item. I know there's the -setSearchScope method, but it lets me only decide in which directories the item will search. What if I need to exclude one or more directories from the scope?
...
On Mac OS/X in both Firefox and Chrome, the mouse cursor disappears when I type. Is there anyway in javascript to prevent this behavior or to force the cursor to become visible again?
I'm using jquery for the keyboard handling:
// keyboard handlers
$(document).keydown(this.keydown);
$(document).keyup(this.keyup);
...
keydown: ...
I want to temporarily distort the area under the mouse using a CIBumpDistortion to increase the visibility of the mouse pointer.
At the moment, I have a transparent-background NSWindow that floats around under the pointer and shows a cross-hair that fades in when you move the mouse, and out when you stop. This is working okay, but a Bu...
I've written the following script to help me get successive screencaptures. I'm able to get the screencaptures to happen in successive files, but not as fast as I'd like them. The sleep rate isn't recognized after a certain point.
What are the decimal limits for 'sleep'? If it can in fact go lower, is there something wrong with my scri...
Hi! I'm writing a cross-platform application, and I need the total available disk space. For posix systems (Linux and Macos) I'm using statvfs. I created this C++ method:
long OSSpecificPosix::getFreeDiskSpace(const char* absoluteFilePath) {
struct statvfs buf;
if (!statvfs(absoluteFilePath, &buf)) {
unsigned long blksize, ...
Hi,
In my flex AIR application(with systemChrome=false & showFlexChrome=false) I am using ApplicationControlbar as the title bar with title text, close, max, min, button. It work fine on windows platform. But I have problem on MAC platform. My application shows close, max, min buttons on right & title text on left.
But my requirement is...
Hello,
I've searched far and wide, read a previous question in stackoverflow but cant seem to solve the problem of installing rpy2 on my Mac with OS X 10.5.8.
I have Xcode 3.1.4 installed and R 2.1.11.
when I run:
sudo python setup.py build install
I get this:
running build
running build_py
running build_ext
building 'rpy2.rinterfac...
Hi,
I recently switched to Eclipse (Helios) for my programming needs, and I like it very much.
There is just on thing that is driving me crazy, how can I launch (compile and run) my code into the native mac osx terminal.
I tried creating an "external tools configuration", but that just starts the terminal without outputting the applic...
Hi, this is the first time i am creating a mac application, what i need to do is to have a simple screen. This simple plain screen will just print a string as the iphone is transmitting strings through the wifi network.
This string is simply a string value of the slider being adjusted by the user as they move it up and down.
so it will ...
Ive successfully run and deploy a google appengine app from a windows machine for months. Now i on a mac and my app works fine running locally (both in hosted mode and compiled mode). However, after doing a mvn gae:deploy my app starts spitting out RPC StatusCodeExceptions through javascript only. There is no exception on the Server side...
I have inherited a mac app that needs some fixing and I have trouble with help on Snow Leopard.
Today the help is structured as:
App/Contents/Resources/LANG.lproj/Help
I have trouble when trying to load non-English help pages, it always loads the English version on Snow Leopard.
I believe Mac OS thinks there are two help books in the...
Hi all. I was wondering if there is anyway to create an installation for Mac and Linux using a strictly windows machine? I am developing a program that I will be attempting to make available on all three platforms through use of the Mono project (C#) and need to create installers for each one. Given my almost complete ingnorance (this ...
Hi there
I've got about 400 different NSString entries in my plist file. I want to spell check them. At the moment I'm having to go through, expand each entry (there's a huge amount) and select the text then do a spell check (Cmd + ;).
I really need to spell check the whole thing at once, like you would in a word document, or an excel ...
Hi, I was using NSMetadataQuery to find files which creation date is more recent than a NSDate. It seems that NSMetadataQuery cannot find files which creation date is more recent than the specified NSDate for one hour. I mean if the creation date of a file is today at 12:10:50, the query return no result if I set today 11:10:49 as NSDate...
Hi all,
I have been working with a fast multipole code in Fortran. It is a black box to me, and I have been having some strangeness when compiling it on my mac.
I am using version 11.1 of the compiler, I've got a MacBook Pro running a 2.5 GHz Intel Core 2 Duo on Snow Leopard.
The code runs fine when I set the optimization flag to -O...
compiling an app that needs to be compiled with a newer version of the gcc than is available with xcode 3.0 (what is on disk for the leopard install) but the newest download link for 3.2.4 only runs on snow leopard.
what is the latest release of xcode that runs on leopard and if you have a link to the dmg that would be awesome. its tort...