CE hasn't been tested with Ruby 1.9.1. The supported version of Ruby is 1.8.7.
Thanks, Bruno On Tue, Oct 5, 2010 at 12:48 AM, Ashwin Appiah <[email protected]>wrote: > Thanks in advance. > > I'm trying to install CE on my windows 7 machine. Using ruby 1.9.1 and > rails 2.3.4. For the life of me I cannot seem to get it to work. > Whenever I try to create a db with the CE plugin copied I get a rake > aborted error. I also tried doing the "short version" installation of > everything and even doing that give me the same error. The error is > reproduced below. > > rake db:create:all > rake aborted! > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:66: syntax error, unexpected ':', expecting > keyword_then o > r ',' or ';' or '\n' > when 'm', 'models' : 'app\/models' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:67: syntax error, unexpected keyword_when, > expecting keywo > rd_end > when 'c', 'controllers' : 'app\/controllers' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:67: syntax error, unexpected ',', expecting > keyword_end > when 'c', 'controllers' : 'app\/controllers' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:67: syntax error, unexpected ':', expecting > keyword_end > when 'c', 'controllers' : 'app\/controllers' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:68: syntax error, unexpected keyword_when, > expecting keywo > rd_end > when 'h', 'helpers' : 'app\/helpers' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:68: syntax error, unexpected ',', expecting > keyword_end > when 'h', 'helpers' : 'app\/helpers' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:68: syntax error, unexpected ':', expecting > keyword_end > when 'h', 'helpers' : 'app\/helpers' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:69: syntax error, unexpected keyword_when, > expecting keywo > rd_end > when 'l', 'lib' : 'lib' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:69: syntax error, unexpected ',', expecting > keyword_end > when 'l', 'lib' : 'lib' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:69: syntax error, unexpected ':', expecting > keyword_end > when 'l', 'lib' : 'lib' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:70: syntax error, unexpected keyword_else, > expecting keywo > rd_end > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:150: syntax error, unexpected keyword_end, > expecting $end > C:/Ruby191/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2383:in > `raw_load_rak > efile' > (See full trace by running task with --trace) > rake db:migrate > rake aborted! > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:66: syntax error, unexpected ':', expecting > keyword_then o > r ',' or ';' or '\n' > when 'm', 'models' : 'app\/models' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:67: syntax error, unexpected keyword_when, > expecting keywo > rd_end > when 'c', 'controllers' : 'app\/controllers' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:67: syntax error, unexpected ',', expecting > keyword_end > when 'c', 'controllers' : 'app\/controllers' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:67: syntax error, unexpected ':', expecting > keyword_end > when 'c', 'controllers' : 'app\/controllers' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:68: syntax error, unexpected keyword_when, > expecting keywo > rd_end > when 'h', 'helpers' : 'app\/helpers' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:68: syntax error, unexpected ',', expecting > keyword_end > when 'h', 'helpers' : 'app\/helpers' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:68: syntax error, unexpected ':', expecting > keyword_end > when 'h', 'helpers' : 'app\/helpers' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:69: syntax error, unexpected keyword_when, > expecting keywo > rd_end > when 'l', 'lib' : 'lib' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:69: syntax error, unexpected ',', expecting > keyword_end > when 'l', 'lib' : 'lib' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:69: syntax error, unexpected ':', expecting > keyword_end > when 'l', 'lib' : 'lib' > ^ > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:70: syntax error, unexpected keyword_else, > expecting keywo > rd_end > C:/Users/*******/Documents/Rails/ce/vendor/plugins/community_engine/ > tasks/commun > ity_engine_tasks.rake:150: syntax error, unexpected keyword_end, > expecting $end > C:/Ruby191/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2383:in > `raw_load_rak > efile' > (See full trace by running task with --trace) > capifying > C:/Ruby191/bin/rails: No such file or directory - capify . > running git add . > warning: LF will be replaced by CRLF in .gitmodules. > The file will have its original line endings in your working > directory. > warning: LF will be replaced by CRLF in config/environment.rb. > The file will have its original line endings in your working > directory. > warning: LF will be replaced by CRLF in config/environments/ > development.rb. > The file will have its original line endings in your working > directory. > warning: LF will be replaced by CRLF in config/environments/ > production.rb. > The file will have its original line endings in your working > directory. > warning: LF will be replaced by CRLF in config/environments/test.rb. > The file will have its original line endings in your working > directory. > warning: LF will be replaced by CRLF in config/routes.rb. > The file will have its original line endings in your working > directory. > running git commit -a -m 'Initial commit' > fatal: Paths with -a does not make sense. > SUCCESS! > Next, you should probably run `rake test` and `rake > community_engine:test` and m > ake sure all tests pass. > applied > http://github.com/bborn/communityengine/raw/master/community_engin > e_setup_template.rb > > C:\Users\*******\Documents\Rails>rate test > 'rate' is not recognized as an internal or external command, > operable program or batch file. > > C:\Users\*******\Documents\Rails>rake test > rake aborted! > No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, > Rakefile.rb) > > > > -- > You received this message because you are subscribed to the Google Groups > "CommunityEngine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<communityengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/communityengine?hl=en.
