jlapier / Rails-CMS-Wiki-Forum

A generic Rails app that includes a CMS, Wikis, and Forums
http://offtheline.net
44 stars 14 forks source link

new install fail on rake db:schema:load #20

Open ferriswheel opened 12 years ago

ferriswheel commented 12 years ago

hello Jason,

i get this.

$ rake db:schema:load rake aborted! You must establish a database connection before using acts_as_authentic

Tasks: TOP => db:schema:load => environment (See full trace by running task with --trace)

i commented this line in "app/models/user.rb" to get the database established

acts_as_authentic

i then re-instated this line to use RCWM.

also, i did this to Gemfile to overcome error message about cucumber-rails active outside of the 'test' environment

group :development do gem 'annotate' gem 'acts_as_fu' gem 'capybara' gem 'rspec-rails' gem 'rails-erd' gem 'factory_girl' gem 'webrat' gem 'launchy' gem 'database_cleaner'

sorry to force mysql in dev/test, had to do some testing

gem 'mysql2', '~> 0.2.0'

end

group :test do gem 'annotate' gem 'acts_as_fu' gem 'capybara' gem 'cucumber-rails' gem 'rspec-rails' gem 'rails-erd' gem 'factory_girl' gem 'webrat' gem 'launchy' gem 'database_cleaner'

sorry to force mysql in dev/test, had to do some testing

gem 'mysql2', '~> 0.2.0'

end

i have created an account and now learning to drive RCWM.

regards

john

my environment is ruby 1.9.3-p194, using rbenv to manage rubies.