automatic rails app startup on server boot?
Hi, how can I make ruby on rails app start automatically on Mac OS X Server boot? Thanks. ...
Hi, how can I make ruby on rails app start automatically on Mac OS X Server boot? Thanks. ...
I'm fighting with OSX's packageMaker as it doesn't allow me to create a '.pkg'. Instead it's forcing me to make a '.pkg.mpkg'. This seems like a stupid question I should be able to respond with a couple of google searches, but I'm not being able to find much info about this. Could anyone explain the main differences between them and if...
Here is some code that used to work with my code, but is having a problem now: #include <iostream> #include <fstream> #include <sstream> #include <cstring> using namespace std; int main() { stringstream out; out << 100; cout << out.str(); } I get just blank output. I just changed to snow leopard with Xcode 3.2. ...
I've been developing my first iPhone app part-time and would like to start using a more rigorous form of version control than I've been using over the past four months, i.e. copying source code folders to another directory and time stamping them. I've used SourceSafe and Team Foundation System but I don't have a good idea of what versio...
I've put together my very first package with PackageMaker (for a system service), but I am not happy about several faults: Frequent crashes while applying target permissions to my source files Package source files are not automatically or easily refreshed File filter does not work Is there something else out there more capable of thi...
I just upgraded to Snow Leopard and I'm trying to get it to use the old python 2.5 install. I had with all my modules in it. Does anyone know how to set the default python install to 2.5? ...
Having difficulties with Imagemagick and Snow Leopard. Imagemagick was installed using the install script from here here. Everything builds and installs correctly. Imagemagick behave normally for all commands (that I can find) except when trying to convert a PDF. For example, $ convert my.pdf my.jpg Segmetation Fault I thought it ...
I've compiled a Python module using my own Qt4 library located in ~/opt/qt-4.6.0/, but when I try to import that module, the dynamic libraries that get loaded are from my MacPorts Qt4 installation. $ /opt/local/bin/python2.6 >>> import vtk objc[58041]: Class QMacSoundDelegate is implemented in both /Users/luis/opt/qt-4.6.0/lib/QtGui.fr...
Hello, First of all, thank you for taking the time to read this. I am new to developing applications for the Mac and I am having some problems. My application works fine, and that is not the focus of my question. Rather, I have a python program which essentially does this: for i in values: os.system(java program_and_options[i]) ...
I have programmed a lot on Linux, and to some extent on Windows. Even though MacOSX is fundamentally based on the BSD kernel, there are quite a number of user-level services and APIs that I am not fully knowledgeable about (plist, .app bundles, universal binaries, etc..). Is there a resource (preferably book) that you would recommend L...
Looking for a good guide/ tutorial to begin Mac OS X app development, preferably using Cocoa and a language other than Objective C. And maybe some tutorials for interface builder as well? ...
Using touchesBeganWithEvent, touchesEndedWithEvent, etc you can get the touch data from the multitouch trackpad, but is there a way to block that touch data from moving the mouse/activating the system-wide gestures (similar to what is done in the chinese text input)? ...
I have a relatively simple application which I need to make native Mac OSX version of. I find it's easiest to learn from examples and I have never setup/developed/packaged a product on Mac yet. So, I was hoping to start from a project which has basic packaging scripts and includes as many components listed below as possible: Installe...
If you install multiple versions of python (I currently have the default 2.5, installed 3.0.1 and now installed 2.6.2), it automatically puts stuff in /usr/local, and it also adjusts the path to include the /Library/Frameworks/Python/Versions/theVersion/bin, but whats the point of that when /usr/local is already on the PATH, and all inst...
I have a process that spawns a helper process. Sometimes I need to debug start-up failures in the second process. On Windows, I would use Image File Execution Options, or ntsd -o. However, I have no idea how to do this with gdb on OS X. ...
I would need about two dozens of MacOSX style Toolbar Buttons for mostly typical stuff. I don't need exclusive rights on the icons, so i would like to purchase an icon set. There are hunderts of icons sets available for free and purchase for Windows Style. But i haven't seen any for MacOSX now. Thats strange. I know about a few icon s...
Hello, I'm new to OS X and I'm new to Ruby on Rails. I just installed Ruby and Rails and when going through my first tutorial here's what I got: WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and /usr/bin aren't both writable. WARNING: You don't have /Users/sammat/.gem/ruby/1.8/bin in your PATH, gem executabl...
I have an NSControl subclass (which is configured as a layer-hosting view, although I doubt that's relevant). I've been attempting to write the code to get and display a context menu. However, neither menuForEvent: or rightMouseDown: are being called. Any idea what could be causing that? Other mouse events work correctly. As an aside, ...
I'm trying to learn pygame, And I found the best way to have the finished game (assuming python 2.6 and pygame installed) is to have an applescript that runs it, and saved as an app bundle (with python files etc. inside the bundle). Here is what I have: do shell script "cd " & the quoted form of the POSIX path of (path to me) & "Content...
Due to the new limitations of Kerberos in OS X 10.6, I'm working on a script that offers similar functionality to what used to be available in 10.5. Essentially it parses the klist output to see if your ticket is expiring and displays how long until it expires. If we hit the 10 minute mark, it calls kinit to do a GUI password prompt to...