On 24 December 2010 22:34, Colin Law <clan...@googlemail.com> wrote:

> On 24 December 2010 11:27, ct9a <anexi...@gmail.com> wrote:
> > @Colin - running "gem list --local",  I observed rails is only 2.3.9
> > (ie. "rails (2.3.9)")
>
> Please don't top post, it is easier to follow the thread if you insert
> your post into the previous reply.  Thanks
>
> Can you show the complete output of gem list (run from the rails
> application root) please, also the complete output of script/server.
> Also
> rails -v
> ruby -v
>
>
> r...@ct9a-dev:~/projects/myApp# rails -v
Rails 2.3.9
r...@ct9a-dev:~/projects/myApp# ruby -v
ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]

r...@ct9a-dev# script/server
=> Booting WEBrick
=> Rails 2.3.2 application starting on http://0.0.0.0:3000



environment.rb:
===========


------------------------- start -------------------------------------------

# Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION

require File.join(File.dirname(__FILE__), 'boot')

Rails::Initializer.run do |config|
  config.gem "breadcrumbs_on_rails"

  config.gem(
    'thinking-sphinx',
    :lib     => 'thinking_sphinx'
  )

  config.gem 'authlogic'

  config.gem 'riddle'
  config.gem 'thoughtbot-paperclip', :lib => 'paperclip', :source => '
http://gems.github.com'

  config.gem 'searchlogic'

  config.gem 'will_paginate', :version => '~> 2.3.11', :source => '
http://gemcutter.org'

  config.gem 'prawn', :version => '0.8.4'

  # this is used by rawk - a log profiling tool
  class Logger
    def format_message(severity, timestamp, progname, msg)
      "#{msg} (pid:#{$$})\n"
    end
  end
  config.time_zone = 'UTC'

  config.action_controller.session_store = :active_record_store

  config.cache_store = :mem_cache_store

  config.active_record.observers = :user_observer, :part_observer,
:notification_observer, :feedback_observer, :recommendation_observ
er

  config.action_mailer.default_url_options = { :host => "www.myApp.com" }

  config.gem 'whenever', :lib => false, :source => 'http://gemcutter.org/'

  # set delivery method to :smtp, :sendmail or :test
  config.action_mailer.delivery_method = :sendmail
  config.action_mailer.raise_delivery_errors = true
  config.action_mailer.perform_deliveries = true  # try this.
end

------------------------- end -------------------------------------------

** note: the environment.rb works well on both my production and old
development servers

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

Reply via email to