If you’ve recently tried to install rmagick gem, you’ve ran into issues of an error like this: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. checking for Ruby...
Learn MoreRecently while working on a project, I kept on typing up git status to see which branch I’m in…after doing some researching, came across a few articles that were talking about how to set your...
Learn MoreSo today, I was setting up a project on my Ubuntu machine, when i ran into an issue, when I tried to run: gem install pg -v '0.14.1' console gave me an error, something along the lines of: Building native...
Learn MoreIf your Ruby on Rails app is on Heroku’s Cedar stack, it has a URL of http://exampleapp.herokuapp.com., and you have a domain from GoDaddy, say, www.example.com. First we have to add example.com as a...
Learn MoreNice clean URLs: .htaccess RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ $1.php [L,QSA] # http://domain/about ->...
Learn MoreOne of the most useful snippets that we’ve found recently is the one below. By using some simple .htaccess file cahing, you can dramatically increase your website speed. This snippet you should always...
Learn More