When I start the app with the command (cPanel starts the app with that
command)
/usr/bin/ruby /usr/bin/mongrel_rails start -p 3005 -e development -P
log/mongrel2.pid
I'll get the following error:
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/
dependencies.rb:443:in `load_missing_constant': uninitialized constant
Rails (NameError)
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:80:in `const_missing'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:92:in `const_missing'
from /usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/
version_checker.rb:5:in `current_rails_version_matches?'
from /usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/
version_checker.rb:13:in `rails_version_is_below_1990?'
from /usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/rails.rb:2
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:156:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:521:in `new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:156:in `require'
from /usr/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert.rb:11
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:156:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:521:in `new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:156:in `require'
from /home/viewme/etc/rails_apps/vm/config/environment.rb:12
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
rails.rb:147:in `rails'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:
113:in `cloaker_'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
configurator.rb:149:in `call'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
configurator.rb:149:in `listener'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:
99:in `cloaker_'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
configurator.rb:50:in `call'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
configurator.rb:50:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:
84:in `new'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:
84:in `run'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
command.rb:212:in `run'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
from /usr/bin/mongrel_rails:19:in `load'
from /usr/bin/mongrel_rails:19
When I start my app with the command ./script/server -p 3005 -d it
starts correct.
(I use a clean install of the CommunityEngine)
The gems and app versions:
CommunityEngine 1.0.3
ruby 1.8.7
actionmailer (2.3.4, 2.3.2, 2.2.2, 2.1.2)
actionpack (2.3.4, 2.3.2, 2.2.2, 2.1.2)
activerecord (2.3.4, 2.3.2, 2.2.2, 2.1.2)
activeresource (2.3.4, 2.3.2, 2.2.2, 2.1.2)
activesupport (2.3.4, 2.3.2, 2.2.2, 2.1.2)
authlogic (2.1.2)
aws-s3 (0.6.2)
calendar_date_select (1.15)
daemons (1.0.10)
desert (0.5.2)
fastthread (1.0.7, 1.0.1)
fcgi (0.8.7)
gem_plugin (0.2.3)
haml (2.2.5, 2.2.4)
hpricot (0.8.1)
htmlentities (4.2.0)
icalendar (1.1.0)
mime-types (1.16)
mongrel (1.1.5)
mysql (2.8.1, 2.7)
rack (1.0.0)
rails (2.3.4, 2.3.2, 2.2.2, 2.1.2)
rake (0.8.7, 0.8.3)
rmagick (2.11.1, 2.8.0)
rubygems-update (1.3.5, 1.3.4)
sqlite3-ruby (1.2.5, 1.2.4)
xml-simple (1.0.12)
Hopefully the problem can be fixed.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---