Tag Archive for 'sinatra'

Rack: OpenSSL Error

While programming for one of my projects using Sinatra, I encountered a problem when using Rack’s session.

LoadError: no such file to load — openssl

The error message states that they cannot find openssl, even though I currently have it installed on my machine. After reading advices from helpful forums, people who encountered the same problem stated that I need the library of OpenSSL. Here’s the code to install the OpenSSL library easily:

sudo apt-get install libopenssl-ruby1.9

I worked for me, and now I can continue working on my project.

ChanLu Development update 1

Just this week, I started on the development phase of the new ChanLu Design, right after solving the problems on my local server. I also tested my recent code on DreamHost today, and it works! The application I’m developing is using:

  • Ruby
  • Sinatra Web Framework
  • Datamapper ORM
  • Haml

I’m currently filled with excitement similar to the anxiousness I had during my thesis days, just without the worries and deadlines. I’m already created the models, and I’m looking forward on the creation of my administrator panel for ChanLu. Doing something without pressure does feel better, but doing something with pressure and finishing it with flying colors feels more satisfying. So, I’m placing a deadline on myself, the application must be 90% working after two weeks, or better yet – earlier. I’ll be documenting my progress at least once per three days.

I wanna cry

cry

So I want to cry. Why? Last night, while trying to install Ramaze on DreamHost, I accidentally deleted the working Sinatra folder on my account. I’ve been trying to configure everything from the start again since last night, and till now I still get an Internal Server Error. I was supposed to start coding for ChanLu, and an accident happens right now. Great… Is the world against me in recoding ChanLu?

This chibi is supposed to be me, drawn on Wayne’s Wacom. I’m still practicing and hurrying to finish this, so sorry for the ugly line art and coloring. This is just to portray me crying and embarrased by the stupid mistake I did.