Hassan Schroeder wrote in post #983024:
> On Mon, Feb 21, 2011 at 5:35 PM, korssane korssane
> <[email protected]> wrote:
>
>> i figure out that the website is running using the following :
>> rails : 2.1.0
>> ruby 1.8.6
>>
>> what i have to do in this case..
>>
>> Update to rails 3 and try to run the website locally ?
>> or repicate the same environment locally ?
>>
>> i am quite confused and i am really a new beginner.
>
> I would strongly suggest you follow my earlier suggestions to get the
> app running *just as it is* locally first.
>
> Then start upgrading to Ruby 1.8.7 and the most recent Rails 2.3.x
> version, a step at a time.
>
> This will be less problematic if your app has good tests. If it doesn't,
> you'd be better off writing them first.
>
> Good luck,
> --
> Hassan Schroeder ------------------------ [email protected]
> twitter: @hassan

Hi Hassan ., i am trying to follow your recommendations above but 
getting many errors that i am unable to handle..
can you help please
1- how can i cleaup every thing and start from zero .
i have check the production environment and got the follwing :

****************************
gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.5
  - RUBY VERSION: 1.8.6 (2008-06-20 patchlevel 230) [i386-linux]
  - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /usr/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /usr/lib/ruby/gems/1.8
     - /root/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/

****************************

i tried to install the :
ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux] : ok
cannot install rails v2.1.0
cannot start the server : script/server
getting this :
Booting WEBrick...
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require': no such file to load -- gettext/rails 
(MissingSourceFile)
  from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
  from 
/var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
 
`require'
  from 
/var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in
 
`new_constants_in'
  from 
/var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
 
`require'
  from /home/molay/projects/sefmex/config/environment.rb:15
  from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
  from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
  from 
/var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
 
`require'
  from 
/var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in
 
`new_constants_in'
  from 
/var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
 
`require'
  from 
/var/lib/gems/1.8/gems/rails-2.1.0/lib/commands/servers/webrick.rb:59
  from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
  from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
  from 
/var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
 
`require'
  from 
/var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in
 
`new_constants_in'
  from 
/var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
 
`require'
  from /var/lib/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb:39
  from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
  from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
  from script/server:6


i am lost man ..

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to