rails install problems (SuSE 9.2)

A

Anna Langley

I'm having some problem with installing rails on SuSE 9.2 Linux. The problem
occurs whether ruby is installed from latest sources or by rpm in /usr/bin
(I'd built a new rpm from the latest sources, because the version of ruby
for SuSE 9.2 is apparently too old for compatibility with rails).

I've installed from source like so:
# rpm -e ruby
# cd ruby-1.8.3
# ./configure
# make && make install
# rehash
# cd ../rubygems-0.8.11/
# ruby setup.rb
# gem update
# gem install rails # yes to all required dependencies
# rails /srv/www/htdocs/myapp # directory exists and is writable
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13:in
`remove_const': constant Logger::Format not defined (NameError)
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in`require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support.rb:31
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in`require'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record.rb:29
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:182:in `activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:181:in `activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:167:in `activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in
`require_gem_with_options'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in
`require_gem'
from /usr/local/bin/rails:17
#

/srv/www/htdocs/myapp remains empty.

Is there something I'm missing or doing wrong?

Thanks,

Anna
 
J

Jean-François

Anna :
I'm having some problem with installing rails on SuSE 9.2 Linux.
The problem
occurs whether ruby is installed from latest sources or by rpm in /usr/bi= n
(I'd built a new rpm from the latest sources, because the version of ruby
for SuSE 9.2 is apparently too old for compatibility with rails).

I've installed from source like so:
# rpm -e ruby
# cd ruby-1.8.3

Hi,

Rails 0.13.1 has a compatibility pb with Ruby 1.8.3 because Logger
format changed after 1.8.2. You should install a 1.8.2 version.

Rails 0.14 must have fixed this pb. 0.14 is for the moment only available
via beta gems (http://gems.rubyonrails.com) but was released just one or
two days ago, There are little dependencies pb (see :
http://www.martinmay.net/ ). Maybe you should wait a bit before
testing it.

In a nutshell, downgrade to 1.8.2

-- Jean-Fran=E7ois.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top