Articles tagged 'refinerycms'
-
Using Postgresql with Rails 3.1: the 'pg' gem
October 17, 2011
This post was originally published in the Rambling Labs Blog on October 17, 2011.
As you may know I’ve been learning Ruby on Rails for the last few weeks. I’m also currently developing an application using the edge version of RefineryCMS (which is really a Rails 3.1 application), integrated with the almighty Heroku.
I wanted to use RefineryCMS with Postgresql, so the only thing that I had to do was installing postgresql and it’s corresponding gem ‘pg’… Or so I thought.
I wasn’t surprised. About a year ago I had the same unfulfilled expectations with mysql and the mysql gem. So, this is what I had to do:
- First, of course, install postgresql with
apt-get install postgresql
- Then, install the libpq-dev with
apt-get install libpq-dev
. Note…
- First, of course, install postgresql with
-
Refinery CMS, rails 3.1.1 and the Operation not permitted error Errno::EPERM
October 14, 2011
This post was originally published in the Rambling Labs Blog on October 14, 2011.
The last couple of days, I’ve been trying to set up Refinery CMS for a project I’m working on. I’ve made a couple of Stack Overflow questions about which ruby on rails CMS supports multiple languages and custom types.
Answers to both questions were directing me to Refinery CMS, so I had to test it out. But… I wanted it to be on rails 3.1 (either 3.1.0 or 3.1.1). So I googled for a while and found that Refinery CMS edge on github does support rails 3.1.
So I set up my Refinery CMS local test under my Ubuntu virtual machine by first downloading the edge code from github, like this:
git clone git://github.com/resolve/refinerycms.git ~/refinerycms-edge
Then…