I recently upgraded to OS X Yosemite and ran brew install. As a result, my rails setup failed. In the past, re-install ruby worked. However, in this case, when I re-installed it I ran into this issue
BUILD FAILED (OS X 10.10 using ruby-build 20141016)
Inspect or clean up the working tree at /var/folders/93/p8zdbgn14j99_l5x7js97zkm0000gn/T/ruby-build.20141020234934.40511
Results logged to /var/folders/93/p8zdbgn14j99_l5x7js97zkm0000gn/T/ruby-build.20141020234934.40511.log
Last 10 log lines:
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for cd using physical directory... cd -P
checking whether CFLAGS is valid... no
configure: error: something wrong with CFLAGS=" -O3 -Wno-error=shorten-64-to-32 "
make: *** No targets specified and no makefile found. Stop.
To fix the issue, I had to reinstall ruby with the following flags:
RUBY_CONFIGURE_OPTS="--without-gcc --disable-install-rdoc" rbenv install 2.1.3
Lately I’ve been finding myself installing WordPress sites for numerous reasons. WordPress is a shocking versatile web site framework built on PHP if you just want to publish content extremely quickly. There’s typically a plug-in for any function that you’re looking for. In order to run WordPress on Ubuntu, you’ll need to do the following things:
- Install PHP
Setup the database server
For instructions of how to manage MySQL, check out my MySQL cheatsheet
- Install MySQL
- Install the MySQL module for PHP on the web server
sudo apt-get install libapache2-mod-php5
- Create a new user
- Create a new database
- Give the user access to the database
Set up the Web Server component
- Install Apache
- Download the latest version of WordPress anduncompress it
sudo wget http://wordpress.org/latest.tar.gz
tar -xvf latest.tar.gz
- Move your site to a new directory and give your Apache user access to that directory
sudo mkdir /
sudo cp -r wordpress //
sudo chown -R www-data:www-data //
- Create an Apache configuration file for your site
sudo nano /etc/apache2/sites-available/.conf
- Paste the following into yourconfig file and save it
<directory "="" <directory="" name="" wordpress"="">
Options Indexes FollowSymLinks MultiViews
Require all granted
- Enable the configuration
sudo a2ensite .conf
- Enable the appropriate Apache mods
Enable rewrite for pretty permalinks
sudo a2enmod rewrite
- Reload Apache
sudo service apache2 reload
Assuming you’ve already set up your DNS settings to point to the right server, you should be able to get started with setting up the site. When you go to http://, you should be able to start setting up the site.
These instructions work on the following configurations:
- Ubuntu 14.04 and Apache 2.4
I have to admit that I entered into this foray with very low expectations. Reviews at the time when I ordered the watch, which was the first day it was made available for public release, was very thin to say the least. The devices that most reviewers were using had limited functionality as they were only set to demo mode during Google I/O 2014. I remember telling a friend that I ordered the watch which I thought I would hate the least with the mindset that I would likely replace it with a Motorola 360. For some context, I already own a Pebble watch which I acquired during their Kickstarter campaign which I liked a lot. My test for the LG G Watch to use it for my summer vacation in Europe. I wore the watch everyday. I was on the go a lot and I was in a mixed environment of having internet access and was rarely in a position where I could charge the watch.
Here are some of my photos on Google+
The ability to use the non-standard launcher is one of the huge differentiating features when comparing Android to the iOS platform. Lately I find myself using the Smart Launcher Pro 2 as my default launcher. I happened to stumble over it while surfing through the Google Play Store. As switching launchers is rather easy, it’s easy to try something different every so often and yet go back to an old one if it doesn’t pan out.
I had been spending time with two different Chromebooks in the past month or so which led to my last blog about Chrome OS. The first device that I tried was the HP Chromebook 11 device. My trial on that device was about a week. The hardware was very nice – it was light but felt quite solid. However, I found the device slow as the specs were very similar to the Samsung Series 3 which I got last year. However, what was interesting was that it didn’t crash like the Samsung device does. I returned it briefly after I got it. When the C720P was made available, I decided to some really simple tests such as put web site addresses that was content heavy and press enter at the same time – in all cases, the Acer C720P rendered quicker then the HP. This led to my decision to get the Acer C720P. The purpose of this blog will be to compare my experience with both the Acer C720P with both the HP Chromebook 11 and Samsung Chromebook Series 3.
We were running into some issues at work so I decided to pitch in. I had trouble listing my rake tasks as my rake tasks was spitting out this error through RMagick – Reason: image not found – /rmagick-2.13.2/RMagic2.bundle.
Evernote has finally released pen capability for the Android app. The Evernote desktop version for Windows had this ability when they first came and iOS users of the Evernote app have had this capability through Penultimate for a while now. However, it was only recently that Android users finally got a version of the Evernote app that would support pen capability. This was big news for me as the Samsung Galaxy Note 8 is my primary mobile device – it’s the device that I use the most. Continue reading
I’ve been experimenting with Pentaho for the past few months to find an easy way to present users with a simple to manage reporting system. The components I’ve been playing with are the Business Analysis Server (Reporting front end), Kettle and Spoon (ETL tool), Reporting Studio and Mondrian (OLAP Server). Here are the install steps that I used to install Pentaho Business Analysis Server on Ubuntu.
I decided to install Ubuntu 13.10 on my current desktop to compare developing on Ubuntu versus OS X. As I needed to install Rails as well I decided to document the steps for future reference as well.