Rails 3.1 Install with login problem.

88 views
Skip to first unread message

Troy

unread,
May 31, 2011, 3:30:46 PM5/31/11
to CommunityEngine
I was able to get CE for ROR 3.1 installed finally today. It looks
like a few underlying modules have moved along since the latest
instructions have been written. Here is what I had to do to get it to
install in addition to the README instructions:
1) bin/rake community_engine:install:migrations failed until I added
the following lines to Rakefile:
include Rake::DSL

2) bin/rake db:migrate failed because of No such file or directory -
config/application.yml so I ran:
echo "community_name: Community Engine Test" >> config/
application.yml

3) bin/rake db:migrate failed with undefined method `context' for
#<Sprockets::Environment:0x00000100f9c828> - to fix the following line
must be added to Gemfile:
gem 'sprockets', '2.0.0.beta.2'
Seems that betas 3-7 are pulled and 9 was giving me the error (along
with complaining that it was not compatible with rails 3.1.0.beta1 and
wanting rails 3.1.0.rc1). I did not try beta8.

4) For clarity for other noobs, application.htmp.erb is in app/views/
layouts/ and not views/layouts/

With this I can run rails server and browse to the site. I then went
through the Sign Up! link with no problems and followed it up with
rake community_engine:make_admin email=... The problem I am running
into now is that I can not log in. Every time I try I get:
Uh oh. We couldn't log you in with the username and password you
entered. Try again? Close this message
I also get the same message if I add a user and do not try to make it
an admin. Did I miss something?

Also there are plenty of deprecation warnings for
class_inheritable_attribute with some from communityengine/app/models/
photo.rb and some from authlogic/lib/authlogic/acts_as_authentic/
base.rb.

Asif Atick

unread,
May 9, 2012, 1:26:55 AM5/9/12
to communi...@googlegroups.com
I am facing the same problem

HappaGirl

unread,
Jul 8, 2012, 12:14:58 AM7/8/12
to communi...@googlegroups.com
I have the same problem.  Can't do anything.  I also don't get the email to varify my account.  Pretty dead in the water.  But the code is a great reference for building it out myself I guess.  But I hate reinventing the wheel
Reply all
Reply to author
Forward
0 new messages