content top

Muxnote – Twitter-auth based TODO list for movies and books

Muxnote - light TODO for books and movies
Muxnoteis my extra-lightweight todolist that only cares about books and movies. At some point I will add more to it, though not much as I want it to be as lightweight as possible.
It represents my first foray into responsive design, using the Skeleton framework, as well as Sinatra. I use Omniauth to authenticate via the Twitter API. You can browse, fork, etc at the Muxnote github repository.

Read More

Sinatra, Sqlite, Postgres, Heroku

Recently I ran into an issue trying to deploy to the Heroku Cedar stack for my (in progress) app, Mocknote. I developed the app locally with Sqlite3, using Sinatra and DataMapper.
Heroku complained about my Gemfile.lock missing the dm-postgres-adapter, but I was unable to install the gem locally. I resolved this conundrum by adding this to my Gemfile:


group :production do
gem 'dm-postgres-adapter'
end

I then ran this:

bundle install --without production

I was then able to successfully deploy to Heroku.

Read More

My First Ruby Gem – regexhelper

A while back I did a little experiment with building a ruby gem – the result was Regexhelper. You can check out the gem on Rubygems.org, or check out the source at Githu.com. Of course, you can install by by running ‘gem install regexhelper’ if you’re so inclined. As of now its been downloaded 45 times.

I used a the jeweler gem to help create regexhelper. Right now the gem is pretty empty, and probably very amateurish, but I plan on updating and cleaning it up as soon as possible.

Read More

Rails Beginner: Mac OSX, Macports, RVM, MySQL 5.1 – Y U No Work?

Just for the sake of remembering:
After installing MySQL via Macports (which installs mySQL to a different place than you’d expect), install the MySQL gem with:

sudo env ARCHFLAGS=”-arch i386″ gem install mysql — –with-mysql-config=/opt/local/bin/mysql_config5

I finally remembered after I found my bookmark for Mark Turner (amerine.net)’s post on installing Rails 3/Ruby 1.9.2.

Read More
content top