A strange startup error

14 views
Skip to first unread message

Steve Harman

unread,
Jun 10, 2010, 10:52:43 PM6/10/10
to tog_users
Hello all,

I got the error below while starting up Tog. I spent some time with it
but couldn't find a solution. This application used to work OK.
Something must have changed in my computer (something that I don't
remember).

Thanks for your guidance and help in advance,

Steve

~~~


bash$ script/server
=> Booting Mongrel
=> Rails 2.3.4 application starting on http://0.0.0.0:3000

/usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/rails/
dependencies.rb:56:in `look_for_constant_in_parent_module': Constant
Tog::Interface from tog/interface.rb not found (NameError)
Constant Interface from interface.rb not found

from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/rails/
dependencies.rb:13:in `load_missing_constant'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:80:in `const_missing'
from /Users/steve/tog_hello/config/initializers/menu_adjustments.rb:2
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:145:in
`load_without_new_constant_marking'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:145:in `load_without_desert'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:521:in `new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:145:in `load_without_desert'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:18:in `load'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:32:in `__each_matching_file'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:17:in `load'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
622:in `load_application_initializers'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
621:in `each'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
621:in `load_application_initializers'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
176:in `process'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
113:in `send'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
113:in `run'
from /Users/steve/tog_hello/MyApp/config/environment.rb:11
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:521:in `new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/
server.rb:84
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
from script/server:3

Aitor Garcia Rey

unread,
Jun 11, 2010, 1:55:35 AM6/11/10
to tog_...@googlegroups.com
Send a list of your gem versions, rails and any other info about the
context that can be useful.

On Fri, Jun 11, 2010 at 4:52 AM, Steve Harman <stvh...@gmail.com> wrote:
> I got the error below while starting up Tog. I spent some time with it
> but couldn't find a solution. This application used to work OK.
> Something must have changed in my computer (something that I don't
> remember).
>
> Thanks for your guidance and help in advance,
>

--
Kind Regards,
Aitor Garcia
Stage: simple registration for your events - http://www.stagehq.com
Founder - Linking Paths - http://www.linkingpaths.com

Steve Harman

unread,
Jun 11, 2010, 7:54:44 AM6/11/10
to tog_...@googlegroups.com
Sure. I have rails 2.3.5 ( i know that 2.3.4 was required but 2.3.5
worked too). The gems are:

$ sudo gem list
Password:

*** LOCAL GEMS ***

actionmailer (2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.2)
actionpack (2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.2)
activemerchant (1.5.1, 1.4.1)
activerecord (2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.2)
activerecord-tableless (0.1.0)
activeresource (2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.2)
activesupport (2.3.8, 2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.2)
after_commit (1.0.5)
ambethia-smtp-tls (1.1.2)
annotate (2.4.0)
authlogic (2.1.3)
autotest-rails (4.1.0)
aws-s3 (0.6.2)
bluecloth (2.0.5)
braintree (2.1.0)
builder (2.1.2)
calendar_date_select (1.15)
capistrano (2.5.10, 2.5.9)
cgi_multipart_eof_fix (2.5.0)
chronic (0.2.3)
coderay (0.8.357)
columnize (0.3.1)
compass (0.8.17)
configuration (1.1.0)
cucumber (0.4.3)
daemons (1.0.10)
desert (0.5.3)
diff-lcs (1.1.2)
differ (0.1.1)
ezcrypto (0.7.2)
faker (0.3.1)
fast_gettext (0.4.17)
fastthread (1.0.7)
gem_plugin (0.2.3)
gemcutter (0.4.1)
gettext (2.1.0)
git (1.2.5)
google-geocode (1.2.1)
haml (2.2.15, 2.2.14, 2.0.5)
haml-edge (2.3.164)
highline (1.5.1)
hoe (2.3.3)
hpricot (0.8.2)
htmldoc (0.2.3)
htmlentities (4.2.0)
icalendar (1.1.0)
jackdempsey-acts_as_commentable (2.0.1)
javan-whenever (0.3.7)
jeweler (1.4.0)
json (1.4.3)
json_pure (1.1.9)
launchy (0.3.3)
libxml-ruby (1.1.4)
linecache (0.43)
linkingpaths-acts_as_abusable (0.0.2)
locale (2.0.5)
lockfile (1.4.3)
machinist (1.0.6)
mbleigh-acts-as-taggable-on (1.0.5)
mime-types (1.16)
minitest (1.4.2)
mislav-will_paginate (2.3.11)
mocha (0.9.8)
money (2.2.0)
mongrel (1.1.5)
mreinsch-acts_as_rateable (2.0.1)
mysql (2.8.1)
net-scp (1.0.2)
net-sftp (2.0.2)
net-ssh (2.0.15)
net-ssh-gateway (1.0.1)
newgem (1.5.2)
nifty-generators (0.3.0)
nokogiri (1.4.0)
oauth (0.3.6)
paperclip (2.3.3)
ParseTree (2.1.1)
passenger (2.2.5)
pickle (0.1.23)
polyglot (0.3.1, 0.3.0, 0.2.9)
postgres-pr (0.6.1)
querybuilder (0.5.8)
rack (1.0.1)
rails (2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.2)
rake (0.8.7)
rc-rest (3.0.0)
RedCloth (4.2.2, 3.0.4)
relax (0.0.7)
remit (0.0.5)
rflickr (2006.02.01)
ri_cal (0.8.5)
riddle (1.0.8)
rsl-stringex (1.0.3)
rspec (1.3.0)
rspec-rails (1.3.2, 1.2.9)
rubigen (1.5.2)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3)
ruby-gmail (0.0.4)
ruby-graphviz (0.9.10)
ruby-hmac (0.3.2)
ruby-mysql (2.9.2)
ruby-openid (2.1.7)
ruby-recaptcha (1.0.0)
ruby2ruby (1.1.8)
ruby_parser (2.0.4)
rubyforge (2.0.3, 2.0.2)
RubyInline (3.8.3)
rubyist-aasm (2.1.1)
rubyless (0.4.0)
rubyzip (0.9.1)
sake (1.0.15)
searchlogic (2.3.9)
Selenium (1.1.14)
selenium-client (1.2.17)
servicemerchant (0.1.0)
sexp_processor (3.0.4)
shared-mime-info (0.1)
shoulda (2.10.2)
simplepay (0.2.2)
sphinx (0.9.10.2122)
spork (0.8.1)
spree (0.9.4)
sqlite3-ruby (1.2.5)
state_machine (0.9.0, 0.8.0)
statemachine (0.4.1)
syntax (1.0.0)
term-ansicolor (1.0.4)
termios (0.9.4)
thinking-sphinx (1.3.11)
thoughtbot-factory_girl (1.2.2)
tlsmail (0.0.1)
tmail (1.2.7.1)
tog-desert (0.3.5.1)
tog-tog (0.5.4, 0.5.0)
treetop (1.4.2)
tzinfo (0.3.20)
uuidtools (2.0.0)
validation_reflection (0.3.6)
webrat (0.5.3)
will_paginate (2.3.12, 2.3.11)
wirble (0.1.3)
xml-simple (1.0.12)
yamltest (0.5.3)
yard (0.5.3)
zena (0.16.6)
ZenTest (4.2.1, 4.1.4)



--
You received this message because you are subscribed to the Google Groups "tog_users" group.
To post to this group, send email to tog_...@googlegroups.com.
To unsubscribe from this group, send email to tog_users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tog_users?hl=en.


Steve Harman

unread,
Jun 11, 2010, 9:40:22 PM6/11/10
to tog_...@googlegroups.com
With the risk of looking stupid, I would like to post how I solved this.
Maybe it can benefit someone out there in the future.

The reason was that I recently copied my git repository to another server
and pulled my local source code from it. During this process, my git submodules
were not initialized in my new local copy
(I had checked out all plugins as submodules).

$ git submodule update --init

from the root library totally solved it.

~

Steve

Aitor Garcia Rey

unread,
Jun 12, 2010, 6:19:40 AM6/12/10
to tog_...@googlegroups.com
Hi Steve,

Great to hear everything is solved. Thanks for sharing the solution,
that even if it's product of a mistake could help other people with
the same problem.

Thanks!!

On Sat, Jun 12, 2010 at 3:40 AM, Steve Harman <stvh...@gmail.com> wrote:
> The reason was that I recently copied my git repository to another server
> and pulled my local source code from it. During this process, my git
> submodules
> were not initialized in my new local copy
> (I had checked out all plugins as submodules).
>
> $ git submodule update --init
>
> from the root library totally solved it.

--

Reply all
Reply to author
Forward
0 new messages