This is a test app for showing how to use ckeditor gem (github.com/galetahub/ckeditor) in Rails 3.1. I hope, this will help somebody :)
git clone git://github.com/fxposter/rails_3_1_with_ckeditor_and_carrierwave.git
In order to boot up you should install dependencies, create database and run migrations:
bundle install rake db:create rake db:migrate rails server
Then go to
and enjoy your life.
gem install rails --pre rails new rails_3_1_with_ckeditor_and_carrierwave --skip-bundle cd rails_3_1_with_ckeditor_and_carrierwave
Add this to your gemfile
# if you need carrierwave you should use this line for now gem "ckeditor", :git => "git://github.com/galetahub/ckeditor.git" gem "carrierwave" gem "mini_magick"
rails generate ckeditor:install rails generate ckeditor:models --orm=active_record --backend=carrierwave
Migrate database (if you're using ActiveRecord):
Generate your controller and view:
rails generate controller main index
And paste this lines to app/views/main/index.html.erb:
Start the server