Forum: Rails deployment rake migrate unintialized const dependencies

3ab3129ddef520dbeeaa52c9e0723a48?d=identicon&s=25 Bryan Rasmussen (bryanrasmussen)
on 2011-01-13 15:44
Hi,

I'm a ruby and rails newbie...
I am trying to get a 3rd party module running - Community Engine(which
requires Rails 2.3.4 )- because it seems like it does most of what I
need my project to do and I thought I could just extend it.

I am stuck at the point of doing rak db:migrate
I keep getting an uninitialized constant dependencies ...

C:\projects\commanddo>rake db:migrate --trace > c:\temp\db_migrate.txt
rake aborted!
uninitialized constant Dependencies
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in
`const_missing'
C:/Ruby/lib/ruby/gems/1.8/gems/desert-0.5.4/lib/desert/rails/dependencies.rb:1
C:/Ruby/lib/ruby/gems/1.8/gems/desert-0.5.4/lib/desert/rails.rb:7:in
`require'
C:/Ruby/lib/ruby/gems/1.8/gems/desert-0.5.4/lib/desert/rails.rb:7
C:/Ruby/lib/ruby/gems/1.8/gems/desert-0.5.4/lib/desert.rb:11:in
`require'
C:/Ruby/lib/ruby/gems/1.8/gems/desert-0.5.4/lib/desert.rb:11
C:/Ruby/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:64:in
`requi
re'
C:/Ruby/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:64:in
`requi
re'
C:/Ruby/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:62:in
`each'

C:/Ruby/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:62:in
`requi
re'
C:/Ruby/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:51:in
`each'

C:/Ruby/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:51:in
`requi
re'
C:/Ruby/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler.rb:112:in
`require'
C:/projects/commanddo/config/application.rb:7
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_re
quire'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
C:/projects/commanddo/Rakefile:4
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `load'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in
`raw_load_rakefile
'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in
`load_rakefile'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exceptio
n_handling'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in
`load_rakefile'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exceptio
n_handling'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
C:/Ruby/bin/rake:19:in `load'
C:/Ruby/bin/rake:19



The constant is in the desert gem
dependencies = ActiveSupport.const_defined?(:Dependencies) ?
ActiveSupport::Dependencies : Dependencies

My gems are

abstract (1.0.0)
actionmailer (3.0.3, 2.3.4)
actionpack (3.0.3, 2.3.4)
activemodel (3.0.3)
activerecord (3.0.3, 2.3.4)
activeresource (3.0.3, 2.3.4)
activesupport (3.0.3, 2.3.9, 2.3.4, 2.3.2)
arel (2.0.6)
authlogic (2.1.6)
aws-s3 (0.6.2)
builder (2.1.2)
bundler (1.0.7)
calendar_date_select (1.16.1)
cgi_multipart_eof_fix (2.5.0)
commonwatir (1.7.1)
cucumber (0.10.0)
desert (0.5.4)
diff-lcs (1.1.2)
erubis (2.6.6)
firewatir (1.7.1)
gem_plugin (0.2.3)
gherkin (2.3.3 x86-mingw32)
haml (3.0.25)
hoe (2.8.0)
hpricot (0.8.3)
htmlentities (4.2.3, 4.2.2)
i18n (0.5.0)
json (1.4.6 x86-mingw32)
mail (2.2.14, 2.2.13)
mime-types (1.16)
mongrel (1.1.5 x86-mingw32)
nokogiri (1.4.4.1 x86-mingw32)
pik (0.2.8)
polyglot (0.3.1)
rack (1.2.1, 1.0.1)
rack-mount (0.6.13)
rack-test (0.5.7)
rails (3.0.3, 2.3.4)
railties (3.0.3)
rake (0.8.7)
ri_cal (0.8.7)
rmagick (2.12.0 mswin32)
rspec (2.4.0)
rspec-core (2.4.0)
rspec-expectations (2.4.0)
rspec-mocks (2.4.0)
s4t-utils (1.0.4)
searchlogic (2.4.27)
sqlite3-ruby (1.3.2 x86-mingw32)
term-ansicolor (1.0.5)
thor (0.14.6)
treetop (1.4.9)
tzinfo (0.3.23)
user-choices (1.1.6.1)
watir (1.7.1)
win32-api (1.4.7 x86-mingw32)
win32-process (0.6.5)
windows-api (0.4.0)
windows-pr (1.1.2)
xml-simple (1.0.12)


what should I do to get past this point.

Thanks,
Bryan Rasmussen
This topic is locked and can not be replied to.