Cristian Livadaru's blog

... think again ...

Installing Alchemy CMS 3.0

Wanted to give Alchemy 3.0 a spin, but following the guides doesn’t really get you where you want. First of all, you need ruby 2.1 installed. Ruby 2.0 doesn’t do the trick. Then you need to install rails 4.1.1

1
gem install rails v=4.1.1

after installing the rails gem, create a new project.

1
rails new foobar

in the projects Gemfile add the alchemy gem AND the alchemy-devise gem!

if you don’t install alchemy-devise you will get an error trying to execute the “alchemy:install” rake task.

1
gems/activesupport-4.1.1/lib/active_support/inflector/methods.rb:238:in `const_get': uninitialized constant User (NameError)

adding alchemy-devise to the Gemfile solves this issue.

1
2
gem 'alchemy_cms', github: 'magiclabs/alchemy_cms', branch: 'master'
gem 'alchemy-devise', github: 'magiclabs/alchemy-devise', branch: 'master'

run the alchemy installer

1
bundle exec rake alchemy:install

create the user migrations and migrate.

1
bundle exec rake alchemy_devise:install:migrations db:migrate

now you’re all set to play around with alchemy 3.0