Tag Archives: osx

Comprar levitra 5 mg Odd Git Licensing Message on OSX

Today,IOS 7 dropped to the general public. As usually comes with the release, there was an Xcode update. I updated.

 

For some time, I’ve been using the git bundled in Xcode as it makes it simpler to get updates as they come with Xcode. Today, that yielded an amusing message.

I use git via an alias in my .bashrc

alias git='xcrun git'

A simple version check reveals all:

 

git –version

xcode-git-message

Oops… git is apparently subject to Apple’s licenses.

Updating RubyGems on Mac OS X 10.5 Leopard

I’m just posting a simple tip today.

I was wanting to play around with the very cool SASS meta-language using Compass. The language and tool are implemented in Ruby, which is pre-installed on OS X, but as I discovered, I needed a newer version of RubyGems.

I had already known I needed to update Gems, so I was doing the following:

$ sudo gem update

Eventually I got errors like this:

Updating installed gems...
Bulk updating Gem source index for: http://gems.rubyforge.org
Bulk updating Gem source index for: http://gems.github.com/
Attempting remote update of RedCloth
ERROR:  Error installing RedCloth:
    RedCloth requires RubyGems version >= 1.2
Attempting remote update of capistrano
ERROR:  Error installing capistrano:
    capistrano requires RubyGems version >= 1.2
Attempting remote update of net-sftp
ERROR:  Error installing net-sftp:
    net-sftp requires RubyGems version >= 1.2
Attempting remote update of net-ssh
ERROR:  Error installing net-ssh:
    net-ssh requires RubyGems version >= 1.2
Gems updated: RedCloth, capistrano, net-sftp, net-ssh

Turns out, to update RubyGems, one must update the gem system!

So, the next correct command to run is:

$ sudo gem update --system

This updated my RubyGems to version 1.3.1 and allowed me to move forward in playing with Ruby.

Building a Hackintosh Successful Attempt #1

Since getting a Mac Book Pro for work, I’ve become quite the fan of OS X. As a unix/software guy, I really enjoy having the power of a BSD/Unix system readily available, without having to install some hack like cygwin. (I’m not knocking cygwin, it’s a really nice Windows add-on, but I prefer not to run Windows, in general.) I also like the OS X user interface, and lately, that it runs the very cool boxee media center software. So, I wanted to build a boxee box. My options were AppleTV, Mac Mini, or Hackintosh. The Mac Mini was more money than I wanted to spend for an untested solution. The AppleTV would probably be a good solution, especially now that it’s getting more testing from the boxee community, but I wasn’t sure about it. Finally, I thought that a Hackintosh would be a cool project, give me not just boxee but a full OS X system, and I could buy the parts for $235 from newegg. That’s a cheap computer, and especially a cheap Mac.

I went with an Intel D945GCLF2 motherboard. It’s a mini-ITX board with built in dual Atom 330 processors, the kind of CPU’s used in the new and inexpensive NetBook computers. It’s a very low power solution, but with the dual processors most of the research I did suggested it should do 720p HD content. It has a S/PDIF header for digital audio out, but requires an extra cable and I have yet to test it. VGA out is less preferable than DVI, but again, this is cheap, and my Samsung 46″ LCD has VGA-input, so it certainly works. Also, it’s limited to a single 2GB DIMM, so max out that RAM early. 🙂

I bought the following from newegg:

  • D945GCLF2 motherboard – $80
  • Any old PATA (SATA should work, too) DVD Burner – $25
  • 2GB Kingston 240-pin DDR2 667 SDRAM – $21
  • APEX MI-100 Black/Silver Mini-ITX Case w/ 250w PSU – $56
  • 80GB Western Digital SATA Hard Drive – $37
  • Shipping/Handling + rush processing – $15

Total cost: $234
Full disclosure: I later bought a cheap USB bluetooth dongle ($25) and Apple’s Bluetooth keyboard and mouse (full retail, ouch) as that was the best wireless control solution, but any USB keyboard and mouse combo should work fine for normal usage.

INSTALL GUIDE FOR RETAIL OS X on D945GCLF2

Continue reading Building a Hackintosh Successful Attempt #1