Posts tagged Sinatra
Using Bundler for Sinatra Applications On A Shared Host
Before I talk about how I got my Sinatra blog working, I want to rant. I am using Sinatra 1.0 with Bundler gem for managing dependencies.
My awful host (Dreamhost) just messed up again. Though I am aware shared hosts are not liable for issues that happen to your application when they upgrade dependencies, I am still disappointed by its inability to support any Ruby framework well.
Continue reading »Sinatra Gems and Frameworks You Should Know About
The godfather of Sinatra. Those who like Rails will probably want to start with Padrino rather than just bare-bones Sinatra DSL. Check out the blog tutorial.
Continue reading »ActiveRecord Migrations for Sinatra
I have learned that Sequel ORM was simple and is the preferred ORM for Sinatra developers. But I feel so attached to ActiveRecord right now. Basically some of the gems I am using are actually extensions to ActiveRecord and I have grown to love these Ruby gems despite being ActiveRecord-centric. They wouldn't work with DataMapper or anything else.
Continue reading »Capistrano Task For Loading Production Data Into Your Development Database
Great Sunday. I just finished backing up data of two of my sites. This blog site of mine is using Sinatra DSL which is an alternative to Ruby on Rails framework. Another site of mine runs in Drupal 6. I was able to successfully local production database for both without using PHPMYADMIN. It's all done via command line. For me, it was a time-saver.
Continue reading »Hello, Sinatra
Hello, Sinatra
My post earlier was about porting my blog to Adva CMS. It has a lot of really nice features that I don't need. I actually don't need translation feature for my blog. I don't even need Wordpress. And not even Rails for my purpose. I am venturing into Ruby development, not Rails development. After some digging on Github, I came across "Scanty," a very simple blog application that's nearly nothing. It's up to the developer to extend, hack and modify everything as needed. It was built on Sinatra Framework, yet a another framework for building Ruby apps. Sinatra does not have too many built-in helpers that come with Rails but it does have everything you need to build a web application. The RSpec framework (for Behaviour-driven development) for instance can still be used with Sinatra. RSpec is framework-agnostic and there are several ruby gems out there that are not Rails-centric.
Continue reading »