Hi,
I found that after updating my FACTORY workstation WebYaST stopped
working and it prints this error at start:
Missing the Rails gem. Please `gem install -v= rails`, update your RAILS_GEM_VERSION
setting in config/environment.rb for the Rails version you do have installed, or
comment out RAILS_GEM_VERSION to use the latest version installed.
After some debugging I found that the problem is caused by the new rubygem-rack-1.1.0.
The problem is that actionpack-2.3.5.gemspec contains:
s.add_dependency(%q<rack>, ["~> 1.0.0"])
Which doesn't match 1.1.0 version and therefore rails exit with the error.
(the meaning of '~>' is described at
http://rubygems.rubyforge.org/rubygems-update/Gem/Version.html )
After downgrading rack to 1.0.1 (fortunately it is still available in FACTORY)
it works.
What is the right solution?
Do we need to change (upgrade?) actionpack or rack in d:l:r:e should be downgraded?
Or actionpack should conflict with rack >= 1.1.0 so rails don't break.
--
Best Regards
Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak(a)suse.cz
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: opensuse-ruby+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-ruby+help(a)opensuse.org