Snow Leopard and hosting Ruby Rails: mysql problem

Hi, I'm just starting to look at ruby rails hosting on my 10.6.1 server. I have been working through the Apple tutorial "deploy rails on leopard" ( http://developer.apple.com/tools/deployonrailsleopard.html ).
I have hit a problem with Capistrano attempting to use the Ruby MySql gem on the Snow Leopard server. The error is "The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql"
Now, after much googling I have found a number of folks struggling to get the Ruby MySql gem working on 10.6 Clients. Mostly the suggestions involve installing a newer version of MySql and setting the compiler options during gem build.
I'm a little nervous of just trying to mimic this approach on a server system. So I have a two part question:
1. Has anyone found good documentation for setting up Ruby Rails on Snow Leopard server?
2. Has anyone found good documentation on getting the Ruby MySql Gem running on 10.6 server?
many thanks in advance, Jonathan

it should work the same way as on 10.6 client.
you might try this approach:
http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/

Similar Messages

  • Snow Leopard and Apple 20 inch ACD Problem

    Installed SL using the defaults on one of my White MacBooks - no problems, except its not any quicker.
    As everything seemed ok, decided to intstall SL on my Mac Pro with a 20 inch ACD. Part way through the install the display started flashing between blue screen and installed progress screen.
    Install finished OK, and rebooted. The screen just now switched between all light blue and showing the desktop. If I use a Macbook and screen share, all is OK with the desktop. I have tried changing the screen settings using screen share and not had any luck getting the ACD to work.
    Anyone any ideas?
    I assume it is still the ongoing problem of the screen drivers Apple screwed up with the last "update" to Leopard that was never fixed. I had thought they might have sorted it for SL
    SPB

    I had a very similar problem.
    On my MacBook Pro, half way through the screen went black, and looked as if the brightness was turned all the way down. I held a flashlight to the back of my screen and logged in, and the brightness returned to the normal level.
    On my Mac Pro, I have 6 monitors with 3 dual head cards, factory installed. One of the monitors, is black. Again it looks like the brightness is turned all the way down. There is no way for me to change the brightness level in the System Preferences.
    After talking to Apple Support for 45 minutes and trying different things, they recommended that I reinstall Snow Leopard. I am in the process now.

  • Snow Leopard and HP LaserJet 4mv print problem (yet again)

    All
    This has been discussed before, I have read all the posts and I cannot get my iMac to print to my trusty Laserjet 4MV now that I am running SL 10.6.4
    I have tried:
    Downloading the latest release of drivers
    Loading the 'optional' packages off the SL DVD
    Downloading Gutenprint drivers
    Configuring the 4MV for IP connection with 192.0.0.192 as the IP address and 255.255.255.0 as the subnet mask address then using 192.0.0.192 in the printer setup.
    I have tried a 'cold restart' of the 4MV which has cleared all my settings and made 0.0.0.0 as the IP address and 0.0.0.0 as the default gateway.
    None of these have caused the printer to be seen by the iMac.
    Does anyone have any other suggestions?
    Many thanks.
    Niall

    Kappy
    You - If you open Network preferences what is the IP address of the Gateway address?
    (Configure IPv4 is set to Using DHCP) IP is 192.168.254.100
    You- What route are you using to connect to your cable/DSL modem? We have a Speedtouch 510 broadband router supplied by our broadband provider running into a 3Com OfficeSwitch 8 port box and Ethernet (Cat5) cabling out to points around the house.
    You- Don't you have the user manual? Yes and its pretty hopeless. The online manual is more extensive but doesn't include a menu map for the MIO menu. I have found a step-through on the web and have now successfully changed the settings on the 4MV (probably to the wrong ones) and done a 'cold reset' back to the factory defaults (0.0.0.0).
    I'm getting the impression that its the IP address that I've used that is wrong. I took 192.0.0.192 from the 4MV test menu printout. Should I have used the addressing from the Network Prefs?
    Regards and thanks.
    Niall

  • I recently updated? to Lion from 10.6.8(snow leopard), and things seem to be running slower.  Has anyone had similar problems?  I have Feb 2011 Macbook pro 13" 2.3 Ghz.

    I recently updated? to Lion from 10.6.8(snow leopard), and things seem to be running slower.  Has anyone had similar problems?  I have Feb 2011 Macbook pro 13" 2.3 Ghz.

    As Shootist pointed out, the system uses more power.
    However, initially it will reindex the hard drive for spotlight, which will slow things down temporarily.
    It also must rebuild caches that eventually will speed things up.
    If it has completed indexing the hard drive (no dot pulsing in the spyglass), then there might be something wrong.
    Start by booting into the Recovery HD (a partition created with Lion that has Disk Utility and reinstallation options) by holding down cmd-r when you restart. You can let go when the gray screen appears.
    When it boots, select Disk Utility and Repair the drive.
    If that doesn't speed things up, try re-installing the OS from the same Recovery HD. It won't delete any of your files, but it has helped some people whose Macs ran slow after installing Lion.
    Also, how much memory do you have? Lion needs RAM so maxing your Mac out might also help.

  • Snow Leopard and HP DirectJet 300X / LaserJet 6MP communication problem

    I've just upgraded to Snow Leopard and found that due to discontinued support for AppleTalk, I could no longer print to my LaserJet 6MP. Following advice posted elsewhere in this forum I got hold of a JetDirect 300X but can't get it to work with the upgraded Mac, though other computers can work with it.
    I have Snow Leopard 10.6.3 installed, which I understand includes all the latest HP drivers. I can print successfully to the JetDirect/6MP from two laptops with OS X 10.4 (Tiger) installed, also from a PC under either Windows XP or Vista, so I know the JetDirect and printer combination is working. I'm setting up with the same LPD information on the Snow Leopard Mac - same IP address and queue name. The printer appears to set up properly, the Add Printer correctly identifies it as a PostScript printer, the only difference is that I only get the Gutenprint driver, the HP one doesn't appear in the list. But when I print, the Mac gets stuck at the 'Connecting to printer...' stage. The Activity light on the JetDirect flashes intermittently so I think something is reaching it, but there's no activity on the printer itself.
    I have also run this Mac with 10.5.8 (Leopard) via a bootable external drive and get the same problem with that. I've tried changing the Ethernet cable from it to the router, resetting the JetDirect box (that got it working with the PC and the two Mac laptops) and upgrading its firmware to the latest version via the PC but I can't get my main machine to work with it.
    I have reviewed the thread at
    http://discussions.apple.com/thread.jspa?messageID=11281487&#11281487
    and those to which it refers, but I can't find anything quite like this.

    I just found and applied the 10.6.4 update. After attempting to reinstall the printer using the same LPD settings as work with all the other computers (now including an ancient clamshell iBook on OS 10.3, which printed first time), I just get a message 'copying print data' for about a minute then back to the usual 'connecting to printer...' hang.
    I did notice I got a choice of the Gutenprint and the 'proper' LaserJet driver when selecting the driver software. Is that wrong? I thought I read somewhere that under 10.6 you should only see Gutenprint for this machine. Maybe I have an outdated set of drivers still installed?
    I tried again but choosing the Gutenprint driver, but that just gives the 'Printing page 1, 21%' message and then gets stuck. It's like the Mac is talking a print language or dialect that the JetDirect can't understand. Did Apple change something with 10.5 and later?

  • Problems building w/ Snow Leopard and iPhone SDK 3.0 Snow Leopard

    Suddenly having problems building and codesigning after upgrading to Snow Leopard and iPhone SDK 3.0 Snow Leopard.
    Profile set to Distribution, Device 2.2.1 Distribution, as has worked in the past.
    The build fails with this error:
    Command <com.apple.tools.product-pkg-utility> failed with exit code -1
    The below section is highlighted in Build Results.
    ProcessingProductPackaging /Users/harvey/Documents/iPhoneApp_Work/Listening-Hiragana/iPhone_Comprehension_timerharvey/entitlements.plist "/Users/harvey/Documents/iPhoneApp_Work/Listening-Hiragana/iPhone_Comprehension_timer_harvey/build/iPhoneComprehension.build/Distribution-iphoneos/Kana Listening.build/iPhone_Comprehension.xcent"
    cd /Users/harvey/Documents/iPhoneApp_Work/Listening-Hiragana/iPhone_Comprehension_timerharvey
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
    <com.apple.tools.product-pkg-utility> /Users/harvey/Documents/iPhoneApp_Work/Listening-Hiragana/iPhone_Comprehension_timerharvey/entitlements.plist -entitlements -format xml -o "/Users/harvey/Documents/iPhoneApp_Work/Listening-Hiragana/iPhone_Comprehension_timer_harvey/build/iPhoneComprehension.build/Distribution-iphoneos/Kana Listening.build/iPhone_Comprehension.xcent"
    Any ideas? This is really strange.
    The same error occurs when trying to build for Device - 3.0, and any other version it seems.
    This is especially frustrating as I'm simply trying to update an app that I released before I upgraded.
    I will love whoever helps me forever and ever.
    saikyo

    Found the new SDK on the CD. Now I am running XCode 3.2.
    I'm talking to myself now for the benefit of future readers.
    On the Dev Center I see the note:
    "Important: You will need to re-install the iPhone SDK for Snow Leopard if you plan on developing iPhone applications after upgrading your Mac to Snow Leopard and installing Xcode 3.2."
    So I'm going to download and install the iPhone SDK 3.0 (Snow Leopard) from the SDK downloads area on the Dev Center page. This seems weird to me as it's 3.0... but I'm running 3.2 now... I guess this will just update my 3.2?
    I also notice that when I run XCode 3.2 I don't have Simulator as an option anymore in my profiles.
    Going to go ahead with the update now and see how it goes.

  • Snow Leopard and Grab-a-Window problems

    Hello, everyone... I hope you will be able to help. I have installed Snow Leopard, and now the Grab a Window feature in my Dashboard does not work. I've tried re-installing Snow Leopard without any luck. Any ideas? Even an alternate way to do a screenshot would help.

    I have a problem with grab after installing Snow Leopard. The latest version 1.5 wont grab a 'window', although 'selection & 'screen' work OK.
    Apple said it is probably corrupt data causing the conflict & would take forever to solve.
    So I copied Grab 1.4 from an previous backup disc I had & it works fine. Also Grab 1.3 also works OK.
    Hope this helps

  • I am presently running snow leopard and safari 5.1.7,I want to update just safari version.will there be a problem?

    I am presently running snow leopard and safari 5.1.7,I want to update just safari version.will there be a problem?

    Probably not, but it's impossible to be certain in advance; back up everything first.
    It isn't possible to update Safari past 5.1.10 without upgrading the computer's OS.
    (124823)

  • I am running Mac OSx Lion 10.7.2. My problem is I can't search on an external network server for a file with the finder toolbar anymore. Nothing shows up and it will not search. I was able to in snow-leopard and am no longer able to w. Lion. Suggestions?

    I am running Mac OSx Lion 10.7.2.
    My issue is that I am not able to run a search in the finder toolabar on a network server. No files show up nor does it search on the server anymore. I was able to run the search in snow-leopard and am no longer able to do so with Lion. Is there a preference I can change or some kind of app or program I can download that will help me with this issue? This is extremely problematic for me as I am searching for files all day everyday. Thank you!

    Hello,
    It isn't the fw in Network you want o use or look at, that's for something completely different.
    My first suspect is the Power Adapter on the LaCie has gone.
    At the Apple Icon at top left>About this Mac, then click on More Info, then click on Hardware>Firewire, what is listed there?
    Reset the Firewire bus
    If your Firewire or USB isn't recognizing any device.  A solution which has worked for some whose hard drive became invisible in 10.4 was simply to follow these four steps to reset the Firewire/USB bus:
    1. Shut the machine down.
    2. UNPLUG the power lead to the computer and any firewire/USB drive or devices.
    3. leave it for 10 minutes.
    4. Connect back up and reboot.
    http://www.macmaps.com/firewirebug2.html

  • Strange problem with Snow Leopard and Netware

    Here is a strange one, but I am posting it here because I think it may have something to do with Apple software in Snow Leopard. I recently upgraded my Aluminum iMac to Snow Leopard, and have seen the following, rather puzzling behavior in the Prosoft Engineering client for Novell Netware. The symptoms are as follows. The server volumes mount OK, and I am able to see the files that are located on the server. In column view, when I select a file, I am able to see a preview of the file. Likewise, I can use Quickview to preview the contents of the file. However, when I try to drag a file from the server to my hard drive (any location), I get a dialog box saying I don't have permission to read that file. If I do a get info on the file, it says I have permission to read and write. For graphics files (such as Tiff, which have Preview as their default viewer), double clicking on the file causes Preview to open, but the file isn't opened. Now, what is really strange, if I use Photoshop CS1 to open that same file, it opens fine, and I am able to save it on the desktop, as usual. Likewise, if it is a Word or Excel file, they can be opened in their application, and saved on my hard drive. Does anyone have any idea as to what is going on, and how I can restore normal behavior?
    Thanks in advance.

    Unfortunately I don't know what's going on, but we're having the same issue at work on two Mac Pro machines. We installed Snow and everything's been running as good as before or better - except for this issue. One machine had a clean install and one had an update install, and both are exhibiting behavior identical in every detail to what you describe.
    We've contacted Prosoft and they're looking into it; official word on their website is that Snow Leopard is fully supported.

  • Flash CS5, Snow Leopard and Font Problems

    I'm wondering if anyone else has experienced this issue and might have a quick fix for it:
    I have a couple of Flash projects that were originally built in CS3.  Last year I upgraded them to CS5 without trouble.  Recently I have upgraded my Macs to Snow Leopard, and when I open both of these FLA files in CS5 on Snow Leopard, some of the fonts are insanely distorted.
    Any ideas?

    I had the same issue and discovered a quick work around (not great for the long term) that does not require OS downgrade.
    The first time Flash launches:
    1. create a new fla
    2. create a text box with the desired font that produces the issue
    3. type out every character (lower and UPPER case) include all punctuation and numbers
    4. Open any file that uses the font and you should be good to go
    Hope that helps.

  • Recently safari has been quit unexpectedly I've upgraded to snow leopard and I have the latest safari software. What can I do about it to rectify the problem?

    Recently Safari has been quitting unexpectedly. I've dumped my cache several times and even upgraded to snow leopard.l I have the latest version of Safari 5.0.5. The situation has gotten quite annoying and been going on for about three weeks now. What can I do to fix this short of bringing it to someone?
    I restart and it works fine for  awhile and then it quits again. I either restart and/or dump the cache AGAIN! This is getting quite tedious. I've even taken the battery out and reinstalled it. Nothing seems to stop the quitting.

    You don't need anything higher than OSX 10.6.8 to run iTunes 11.  iTunes system requirements - http://www.apple.com/itunes/download/
    You can't upgrade without more RAM.
    MacBook upgrade possibilities - https://discussions.apple.com/message/19577869 - "The Early 2006 model 1,1 Core Duo can only run a maximum of 10.6 Snow Leopard. The models Late 2006 Core 2 Duos 2,1 through Early 2008 4,1 can only run a maximum of 10.7 Lion. The Late 2008 model 5,1 Aluminum Unibody through the Mid 2010 White Unibody model 7,1 can run 10.8 Mountain Lion."
    Kappy 08/2012 post on upgrading to Snow Leopard, then Lion or Mountain Lion -  https://discussions.apple.com/message/19401628 - including how to get Snow Leopard and Lion since Apple removed them from the online store.  (Update 11/2012: SL is now available online again http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard - USA http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard - UK)

  • Snow Leopard and MS Exchange 2003  -USING OWA-

    I have a new 27" iMac with Snow Leopard. I am trying to connect to my company's MS Exchange 2003 via OWA NOT IMAP or POP, OWA. I dont like mail.app or like using iCal for calendering. So I like OWA using Safari or FF.
    I also have several other machines in my home office: 8 Macs (Dual G5 - Leopard, 27" iMac - Snow Leopard, G4 Mini - Leopard, 15" Powerbook - Leopard, 15" MacBook Pro - Snow Leopard, 24" iMacs - Snow Leopard, and quad Intel XServe - Tiger) and a couple of Dells one with XP and one with Vista. I'm a geek, can you tell?
    On every machine using Leopard and Snow Leopard, I cannot connect to Exchange 2003 OWA using Safari or FF. It takes forever and then once I get the login dialog it eventually times out.
    HOWEVER, on Tiger no mater if on Quad Intel XServe or the Dual G5 (I can boot Leopard or Tiger), there are no problems. There are no problems conecting or logging into Exchange via Safari or FF.
    Also, to reiterate, XP and Vista on a Dell have no issues, nor does XP on Fusion 3.0 int the 27" iMac.
    So it HAS to be related to Leopard and Snow Leopard. Remember it is not an issue of time outs after logging in as some posts on ArsTechnica suggests, here we cant even get to the exchange server in a timely manor. When I ping the server it just sits there.
    Ping results
    PING chilcoinc.com (72.215.225.9): 56 data bytes
    Request timeout for icmp_seq 0
    Request timeout for icmp_seq 1
    Request timeout for icmp_seq 2
    Request timeout for icmp_seq 3
    And it just keeps going.
    Frankly, I am ****** and don't know what I am to do. I need this access and dread having to be forced into using imap or pop.
    Microsoft was been useless. Their solution is Exchange 2007, But they cant seem to understand that I do not want to use mail.app and ical. I want to use the OWA!
    Thanks for any help you guys can provide.
    Mark

    From my MBP with 10.6.2 I can connect using OWA both to a hosted service running Exchange 2007 and an internal service running Exchange 2003.
    It sounds as if there is a problem with the network configuration. Is there any firewall between your client system and your company server? Are you using the same IP information (DNS, GW, etc) on the client as on the other systems which work for you?

  • Snow Leopard and idsdk5 / CS3

    Hi,
    Any other developers trying to develop using idsdk5 for CS3 using Snow Leopard and XCode 3.2.1 ? Adobe says it is an unsupported configuration.
    I don't like to downgrade, and am wondering if there are others with the same issue and possible solutions?
    Thanks,
    Remco

    >> SLow Leopard (the old one)
    LOL!
    Thanks for the other tips - most are news to me.
    Let's comparing some more notes!
    Here's a few things I believe (I won't say 'I know' - I have no hard proof, and I don't have a budget to investigate getting hard proof )
    I had extremely frustrating debugging issues with Xcode 3.1 - most of the time breaking into assembly code instead of showing the source code. No clear pattern: same breakpoint hit the first time shows the source code, second time assembly code. Fiddling with 'back arrows' sometimes got the source code to show up. It got so bad that I often had to revert to command-line debugging using gdb. Also a lot of 'mumble mode' - things just ................ coming to a pizza-colored cursor for no ................ apparent reason.
    As a result, I've gotten into the habit of doing my coding and debugging on Windows XP with Visual Studio - once you get rid of the C-compiler RSP files and put the include paths into your project file instead, it works rather nicely, and to me it feels much faster than Xcode, even in a virtual machine.
    I still do a lot of coding and debugging with InDesign CS on Windows/VS2003 - turnaround times (launch/debug/exit/...) are so much faster.
    With Xcode 3.2.x on Snow Leopard things seem to work much better - so I might start to gravitate back to Mac-based debugging; time will tell.
    CodeWarrior is over for me - I only use it to generate release versions (I still have some PowerPC macs around 'just in case' I need to debug something with CodeWarrior, but it's not been necessary).
    As to Windows debugging: I use both Parallels and VMware, and my gut feeling is that Parallels seems to work quite a bit faster. Totally subjective, and probably unfair (the virtual machines have different histories, etc...) - but currently I find myself a lot in Parallels, with a virtual machine stored on an external USB drive connected to my laptop - I have heaps of virtual machines around, too many to store on the internal HD. Even with the slow USB bus 'underneath' it all, it works well.
    With VMware I get a lot of mumble mode - machine non-responsive for minutes at a time, even with the virtual machine on the internal HD. Parallels has not done that to me (yet).
    Another thing (might be fixed in Snow Leopard) - but have you ever had it happen that your InDy CS3 and CS4 plug-ins suddenly get a folder icon instead of a plug-in icon? Typically, all plugins will exhibit that behavior when it happens.
    It's something with the package/bundle stuff, and the Finder getting confused. This is my unconfirmed theory: the Finder accepts a whole host of bundle formats, and the bundle structure used by the Adobe sample projects is 'iffy' - the Finder supports it, but occasionally, the Finder gets confused, and shows these plug-ins as folders (and that then further leads to customer support requests).
    Now, if you go into the plugin package, it looks different from most other packages I've seen.
    Here's how I fixed it: I added another build phase to the target - a 'Run Script' called 'Restructure Bundle'. I've put in the following shell script (using /bin/sh):
    rm -rf $TARGET_BUILD_DIR/$PRODUCT_NAME.InDesignPlugin/Contents
    mkdir $TARGET_BUILD_DIR/$PRODUCT_NAME.InDesignPlugin/Contents
    echo InD3InDn > $TARGET_BUILD_DIR/$PRODUCT_NAME.InDesignPlugin/Contents/PkgInfo
    mv $TARGET_BUILD_DIR/$PRODUCT_NAME.InDesignPlugin/Resources/Info.plist $TARGET_BUILD_DIR/$PRODUCT_NAME.InDesignPlugin/Contents
    mv $TARGET_BUILD_DIR/$PRODUCT_NAME.InDesignPlugin/Versions $TARGET_BUILD_DIR/$PRODUCT_NAME.InDesignPlugin/Contents
    mv $TARGET_BUILD_DIR/$PRODUCT_NAME.InDesignPlugin/Resources $TARGET_BUILD_DIR/$PRODUCT_NAME.InDesignPlugin/Contents
    mv $TARGET_BUILD_DIR/$PRODUCT_NAME.InDesignPlugin/$PRODUCT_NAME $TARGET_BUILD_DIR/$PRODUCT_NAME.InDesignPlugin/Contents
    That 'restructures' the plug-in bundle and makes the problem go away - AFAIK the Finder has never gotten confused with one of my home-grown bundled plug-ins.
    The whole point might be moot, though - for all I know the original problem of the Finder getting confused might be long fixed...

  • I was using OS Snow Leopard and on 8/1/13 I downloaded Mountain Lion and found out it was not compatible with my HP printer (HP photosmart C5580) so I called Apple and asked how to get Mountain Lion off and Snow Leopard back on.  The Tech told me to

    I was using OS Snow Leopard and on 8/1/13 I downloaded Mountain Lion.  Then I found out it was not compatible with my HP Printer (HP Photosmart C5580 all-in-one) so I called Apple support and the tech told me to erase the hard drive instead of going in the time machine.  Well I did that and then it took about three hours three days a week for about three weeks on the phone with an apple tech to get all my stuff back on my computer.  I have had trouble with my printer (won't do the scan anymore and wasn't printing on my DVDs.  Also the computer keeps freezing up when it is in the sleep mode, etc.
    When I tried to list my problem on this forum it lists your OS at the bottom and mine had Mountain Lion listed as what I was using so apparently it didn't erase it.  Want to know how to get Mountain Lion off and put my Snow Leopard on so things start working right.

    Go to the  menu/About This Mac - what OS version shows there?
    Do a backup, preferably 2 separate ones on 2 separate drives.
    Revert to a Previous OS X
    Revert to Snow Leopard
    If you do revert, I'd use Setup Assistant to restore your data. This process takes a while, so do it when you won't need the computer for several hours, based on my experience.

Maybe you are looking for