miércoles, agosto 21, 2013

Ruby, Rails running in Mac: Mountain Lion


I have installed Ruby and Rails in Mac and I want to keep it here.

I have read a few tutorials and I think I have this working :)

A few things to do in the Terminal:

Installing Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Installing RVM

\curl -L https://get.rvm.io | bash -s stable

Close and reopen Terminal

Installing Xcode

Install Xcode via App Store

Installing Command Line tools

Open Xcode, go to Preferences -> Downloads -> Components and install the Command Line tools
Installing Ruby

rvm install 1.9.3

Set that ruby as your default

rvm --default use 1.9.3

Update your gems

gem update --system 1.8.24

Installing Rails

gem install rails -v 3.2.14 

Done, working!

lunes, noviembre 05, 2012

Yes, Ive bought and iPad Mini :D

November, 2nd. On time :D

Juniper Network Connect issues in Mountain Lion

After the last Mountain Lion update the Juniper Network Connect wont work anymore.
I have found the following and it will fix the issue:

Go to the Terminal and type the following:

sudo rm -rf ~/Library/Application\ Support/Juniper\ Networks/SetupClient

Reboot the system and it will work again.
It worked for me!

sábado, septiembre 08, 2012

How to enable %postname% permalinks on Mac

I have been playing with Wordpress and I had the need to configure the permalink into %postname% because of a plugin.

The thing is, it won't work in my machine with Apache in Mac (Mountain Lion).

I have discovered how to do it, well, I have read how to do it:

Edit the file username.conf into /etc/apache2/users/ and update the content with:

    Options Indexes MultiViews FollowSymLinks
    AllowOverride All AuthConfig
    Order allow,deny
    Allow from all

With that, edit the httpd.conf file (/etc/apache2/), localize the following lines and add your user in it as follows:


User chris
Group admin #or you can use staff

Restart Apache(sudo apachectl restart) and everything working again with that permalinks thing!

lunes, mayo 07, 2012

Baking my Macbook Pro - twice

A month ago my macbook pro stopped working.
I went to an Apple Store and they told me the motherboard logic was died and a new one cost 526 $.

Then a friend told me about to use the oven to fix the issue; yes weird but, after do some searchs in google and find the following video, I tried and it worked!!!

Recipe:  7.30 minutes (in the minute 2.30, open a little bit the oven door).
              350 degrees Fahrenheit

My MBP started working properly again but after a whole month with no problems it broke again :(

So, last night I baked it again and it works!

Some research:

In July 2008, NVIDIA publicly acknowledged a higher than normal failure rate for some of their graphics processors due to a packaging defect. At that same time, NVIDIA assured Apple that Mac computers with these graphics processors were not affected. However, after an Apple-led investigation, Apple has determined that some MacBook Pro computers with the NVIDIA GeForce 8600M GT graphics processor may be affected. If the NVIDIA graphics processor in your MacBook Pro has failed, or fails within four years of the original date of purchase (mine has 4 years and a month), a repair will be done free of charge, even if your MacBook Pro is out of warranty.

The reason for the high failure rate was because of faulty solder material; when the GPU heated up and then cooled over its use, particularly when used in GPU intensive operations like games, the solder would become soft when hot, and when cool, that solder would crack, causing failure in the 8600M GT, 8600M GS, 8400M GT, and 8400M GS cards. It is widely acknowledged that these cards have a universal design flaw. It has also been speculated that mobile cards prior to the GeForce 8M series like the GeForce Go 7600 and earlier also have this design flaw, although it has not been proven.

An Apple support page describes this problem on some of the MacBook Pro laptops, manufactured in 2007-2008:

Thus, I will be baking my macbook pro until the next macbook pro release, I will buy a new one as soon as possible.

Nueva adquisición

Hace ya casi 40 días que tengo un nuevo amiguito por casa y no he dicho nada :)

Sí, he comprado un iPad :D

viernes, septiembre 09, 2011