-
Notifications
You must be signed in to change notification settings - Fork 27
Conductor_on_OSX
- postgresql installed
- RVM installed or ruby 1.8.7
- bundler installed
- ‘pg’ gem installed
git clone conductor repo-
cd src/ && bundle… bang!
aeolus-image gem is missing[1]
Meanwhile you can workaround this by using my fork[2] by fixing the
Gemfile:
gem ‘aeolus-image’, :git => https://github.com/mifo/aeolus-image-rubygem
NOTE: Remove the Gemfile.lock file will make your life easier
- Edit the
config/database.ymlfile and put correct values for your PG setup -
rake db:create… bang!
Could not load ‘aeolus_image’.
At this point I built the gem myself (gem build aeolus-image.gemspec)
and installed it by hand: gem install aeolus-image-0.3.0.gem --local
After this the db:create should work normally.
rake db:migrate
rake aborted! uninitialized constant Sass::Plugin
So now edit the config/environments/development.rb and add following
line on top of this file:
17 require ‘sass/plugin’
After running ‘db:migrate’ you need to force Conductor to use bundler instead of gems… So just execute this in console:
$ export USE_BUNDLER=yes
Then run rake db:migrate … and another bang
rake aborted! undefined method `debug_rjs=’ for ActionView::Base:Class
So now open the config/environments/development.rb once again file
again and comment this line:
32 #config.action_view.debug_rjs = true
amazing! it’s now creating tables
rake dc:setuprails s- Browse http://0.0.0.0:3000/login
- Login with admin/password
[1] https://github.com/aeolusproject/aeolus-image-rubygem/pull/1