Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
install bin/rake db:migrate issue
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
david liu  
View profile  
 More options Dec 31 2011, 6:19 am
From: david liu <david.yang....@gmail.com>
Date: Sat, 31 Dec 2011 03:19:44 -0800 (PST)
Local: Sat, Dec 31 2011 6:19 am
Subject: [CE2] install bin/rake db:migrate issue

hi guys i im on ruby -v 1.9.2 p290 and rails 3.1.3,  im new to ruby so bare
with me =]
ok so i finally got  bin/rake community_engine:install:migrations to
work by commenting out
      #config.plugin_paths +=
["#{RAILS_ROOT}/vendor/plugins/community_engine/plugins"]
      in config/application.rb
i had to do this due to this error
--------------------------------------------------------------------------- ---------------
undefined method `plugin_paths' for
#<Rails::Application::Configuration:0x00000104970ec8>
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/railti e/configuration.rb:78:in
`method_missing'
/Users/rui_y/your_app_name/config/application.rb:19:in `<class:Application>'
/Users/rui_y/your_app_name/config/application.rb:17:in
`<module:YourAppName>'
/Users/rui_y/your_app_name/config/application.rb:16:in `<top (required)>'
--------------------------------------------------------------------------- --------------
but i finally got it to work after i commented the top section out....but
now
bin/db migrate  dumps this on me =[

rake aborted!
uninitialized constant Rails::Plugin::Desert
/Users/rui_y/your_app_name/vendor/plugins/community_engine/init.rb:11:in
`block in <class:Plugin>'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/plugin .rb:81:in
`eval'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/plugin .rb:81:in
`block in <class:Plugin>'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initia lizable.rb:30:in
`instance_exec'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initia lizable.rb:30:in
`run'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initia lizable.rb:55:in
`block in run_initializers'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initia lizable.rb:54:in
`each'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initia lizable.rb:54:in
`run_initializers'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/applic ation.rb:96:in
`initialize!'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/railti e/configurable.rb:30:in
`method_missing'
/Users/rui_y/your_app_name/config/environment.rb:5:in `<top (required)>'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/applic ation.rb:83:in
`require_environment!'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/applic ation.rb:193:in
`block (2 levels) in initialize_tasks'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:636:in
`call'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:636:in
`block in execute'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:631:in
`each'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:631:in
`execute'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:597:in
`block in invoke_with_call_chain'
/Users/rui_y/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:in
`mon_synchronize'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:607:in
`block in invoke_prerequisites'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:604:in
`each'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:604:in
`invoke_prerequisites'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:596:in
`block in invoke_with_call_chain'
/Users/rui_y/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:in
`mon_synchronize'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:583:in
`invoke'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:2051:in
`invoke_task'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:2029:in
`block (2 levels) in top_level'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:2029:in
`each'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:2029:in
`block in top_level'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:2023:in
`top_level'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:2001:in
`block in run'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/lib/rake.rb:1998:in
`run'
/Users/rui_y/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.8.7/bin/rake:31:in `<top
(required)>'
bin/rake:16:in `load'
bin/rake:16:in `<main>'

please help!!
thnx in advance for every thing !!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[CE2] install bin/rake db:migrate issue" by Bruno Bornsztein
Bruno Bornsztein  
View profile  
 More options Dec 31 2011, 9:42 am
From: Bruno Bornsztein <bruno.bornszt...@gmail.com>
Date: Sat, 31 Dec 2011 08:42:20 -0600
Local: Sat, Dec 31 2011 9:42 am
Subject: Re: [CommunityEngine] [CE2] install bin/rake db:migrate issue

Hi David,
I think you have your Rails and Ce versions all mixed up. If you're using
Rails 3.1.3, you need to be using the Rails3 branch of CE (
https://github.com/bborn/communityengine/tree/rails3). You seem to be
following the install directions from the master branch, which is for Rails
2.3.4.

The Desert dependency is gone from the Rails3 branch, as is the
config.plugin_paths directive. Please read the README directions closely to
make sure you're using the right gem versions.

Thanks,
Bruno


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Liu  
View profile  
 More options Feb 3, 8:11 pm
From: David Liu <david.yang....@gmail.com>
Date: Fri, 3 Feb 2012 17:11:53 -0800 (PST)
Local: Fri, Feb 3 2012 8:11 pm
Subject: Re: [CommunityEngine] [CE2] install bin/rake db:migrate issue

yea figured it out was a rvm problem =]
thnx again bruno


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »