This is also bailing passenger on my production server. you can see
it here: http://beta.dixiestarkhome.com/
It seems to be my initiallzer:
Spree::Initializer.run do |config|
# Settings in config/environments/* take precedence over those
specified here.
# Application configuration should go into files in config/
initializers
# -- all .rb files in that directory are automatically loaded.
# See Rails::Configuration for more options.
# Skip frameworks you're not going to use. To use Rails without a
database
# you must remove the Active Record framework.
# config.frameworks -=
[ :active_record, :active_resource, :action_mailer ]
# Specify gems that this application depends on.
# They can then be installed with "rake gems:install" on new
installations.
# config.gem "bj"
# config.gem "hpricot", :version => '0.6', :source => "http://
code.whytheluckystiff.net"
# config.gem "aws-s3", :lib => "aws/s3"
config.gem "highline", :version => '>=1.4.0'
config.gem 'authlogic', :version => '>=2.0.11'
config.gem "activemerchant", :lib => "active_merchant", :version =>
'>=1.4.1'
config.gem "tlsmail", :version => '0.0.1'
config.gem 'activerecord-tableless', :lib => 'tableless', :version
=> '>=0.1.0'
config.gem 'haml', :version => '>=2.2.0'
config.gem 'compass', :version => '0.8.17', :source => "http://
gemcutter.org"
config.gem 'calendar_date_select', :version => '1.15'
config.gem 'rsl-stringex', :lib => 'stringex', :source => "http://
gems.github.com"
config.gem 'chronic' #required for whenever
config.gem 'whenever', :lib => false, :source => 'http://
gemcutter.org/'
config.gem 'searchlogic', :version => '>= 2.3.5'
config.gem 'mislav-will_paginate', :version => '~> 2.3.11', :lib =>
'will_paginate',
:source => 'http://gems.github.com'
# Only load the plugins named here, in the order given. By default,
all plugins
# in vendor/plugins are loaded in alphabetical order.
# :all can be used as a placeholder for all plugins not explicitly
named
# config.plugins =
[ :exception_notification, :ssl_requirement, :all ]
config.plugins = [ :all, :resource_controller, :extension_patches ]
# Add additional load paths for your own custom dirs
# config.load_paths += %W( #{RAILS_ROOT}/extras )
# Force all environments to use the same logger level
# (by default production uses :info, the others :debug)
# config.log_level = :debug
# Make Time.zone default to the specified zone, and make Active
Record store time values
# in the database in UTC, and return them converted to the specified
local zone.
# Run "rake -D time" for a list of tasks for finding time zone
names.
config.time_zone = "Eastern Time (US & Canada)"
# Use SQL instead of Active Record's schema dumper when creating the
test database.
# This is necessary if your schema can't be completely dumped by the
schema dumper,
# like if you have constraints or database-specific column types
config.active_record.schema_format = :sql
# Activate observers that should always be running
# config.active_record.observers = :cacher, :garbage_collector
# The internationalization framework can be changed to have another
default locale (standard is :en) or more load paths.
# All files from config/locales/*.rb,yml are added automatically.
#config.i18n.load_path << Dir[File.join(RAILS_ROOT, 'my', 'locales',
'*.{rb,yml}')]
config.i18n.default_locale = :'en-US'
config.active_record.observers = :order_observer
end
This site is pretty much ready to go, and I don't think I changed
anything. Still getting the NameError on the localhost as well:
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:440:in `load_missing_constant':
uninitialized constant Calculator::Ups::Base (NameError)
I am using the Active Shipping but not sure why I would get this
problem.
On Mar 10, 3:05 am, ravenna <t...@ravennainteractive.com> wrote:
> Ya I am using Active Shipping...
>
> On Mar 10, 1:41 am, Paul Callaghan <p...@railsdog.com> wrote:
>
> > Are you using one of the shipping extensions?
>
> > Paul
>
> > On Wed, Mar 10, 2010 at 5:23 AM, ravenna <t...@ravennainteractive.com> wrote:
> > > Turns out the name changed to simple the "whenever" gem. Changed the
> > > environment.rb file and the error changed to the following:
> > > Loading haml-edge gem.
> > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> > > active_support/dependencies.rb:440:in `load_missing_constant':
> > > uninitialized constant Calculator::Ups::Base (NameError)
>
> > > Not sure what changed but this is pretty frustrating, I had the whole
> > > thing working... any ideas?
>
> > > On Mar 9, 6:55 pm, ravenna <t...@ravennainteractive.com> wrote:
> > > > Expected /usr/local/lib/ruby/gems/1.8/gems/javan-whenever-0.3.7/lib/
> > > > base.rb to define Base . This is what I get if I run a rake task
>
> > > > Loading haml-edge gem.
> > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> > > > active_support/dependencies.rb:426:in `load_missing_constant':
> > > > Expected /usr/local/lib/ruby/gems/1.8/gems/javan-whenever-0.3.7/lib/
> > > > base.rb to define Base (LoadError)
> > > > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> > > > active_support/dependencies.rb:80:in `const_missing'
> > > > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> > > > active_support/dependencies.rb:92:in `const_missing'
> > > > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> > > > active_support/dependencies.rb:437:in `load_missing_constant'
> > > > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> > > > active_support/dependencies.rb:96:in `const_missing'
> > > > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> > > > active_support/dependencies.rb:437: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/tjs/Sites/dshome/vendor/extensions/active_shipping/app/
> > > > models/calculator/ups/ground.rb:1
> > > > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> > > > active_support/dependencies.rb:380:in
> > > > `load_without_new_constant_marking'
> > > > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> > > > active_support/dependencies.rb:380:in `load_file'
> > > > 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:379:in `load_file'
> > > > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> > > > active_support/dependencies.rb:259:in `require_or_load'
> > > > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> > > > active_support/dependencies.rb:425: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/tjs/Sites/dshome/vendor/extensions/active_shipping/
> > > > active_shipping_extension.rb:11:in `activate'
> > > > from
> > > ./script/../config/../vendor/spree/lib/spree/extension.rb:34:in
> > > > `activate'
> > > > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> > > > active_support/dependencies.rb:145:in `to_proc'
> > > > from
> > > ./script/../config/../vendor/spree/lib/spree/extension_loader.rb:
> > > > 95:in `each'
> > > > from
> > > ./script/../config/../vendor/spree/lib/spree/extension_loader.rb:
> > > > 95:in `activate_extensions'
> > > > from ./script/../config/../vendor/spree/lib/spree/initializer.rb:
> > > > 132:in `after_initialize'
> > > > from
> > > /Users/tjs/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb:
> > > > 179:in `process'
> > > > from
> > > /Users/tjs/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb:
> > > > 113:in `send'
> > > > from
> > > /Users/tjs/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb:
> > > > 113:in `run'
> > > > from ./script/../config/../vendor/spree/lib/spree/initializer.rb:
> > > > 97:in `run'
> > > > from /Users/tjs/Sites/dshome/config/environment.rb:13
> > > > 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
> > > /Users/tjs/.gem/ruby/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
>
> > > > Is what I get if I try and start the server.
>
> > > > My environment requires just like its supposed to. Also Javan-
> > > > Whenever is up to date.
>
> > > > Any ideas?
>
> > > > thanks
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Spree" group.
> > > To post to this group, send email to spree-user@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > spree-user+unsubscribe@googlegroups.com<spree-user%2Bunsubscribe@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/spree-user?hl=en.
--
You received this message because you are subscribed to the Google Groups "Spree" group.
To post to this group, send email to spree-user@googlegroups.com.
To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.
No comments:
Post a Comment