RE: RC5 Mysql Troubles


#1

Here is my mysql version:
mysql Ver 14.7 Distrib 4.1.15, for portbld-freebsd5.3 (amd64) using
4.3
It is definitely something with RC 5 because I have not changed
anything.
Is there any way to downgrade back to the previous version of rails with
gems?


#2

gem install activerecord -v 1.13.0
gem uninstall activerecord -v 1.13.1

Gray, Jeffrey wrote:

Here is my mysql version:
mysql Ver 14.7 Distrib 4.1.15, for portbld-freebsd5.3 (amd64) using
4.3
It is definitely something with RC 5 because I have not changed
anything.
Is there any way to downgrade back to the previous version of rails with
gems?
[snip]


#3

Hi Lou,

2005/12/9, Lou V. removed_email_address@domain.invalid:

gem install activerecord -v 1.13.0
gem uninstall activerecord -v 1.13.1

That worked, thanks, but now webrick doesn’t start again:

C:\ruby\anwendungen\shop>ruby script/server
c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:194:in
report_activate_error': RubyG em version error: activerecord(1.13.0 not = 1.13.1) (Gem::LoadError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:136:inactivate’
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:162:in
activate' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:161:ineach’
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:161:in
activate' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:23:inre
quire’
from ./script/…/config/boot.rb:14
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in re quire__' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:inre
quire’
from script/server:2

Any ideas? Downgrading rails via
gem install rails -v 0.14.3
produces an error (Error installing gem rails[.gem]: No metadata
found!).

Thanks,
Beate


#4

for some reason gem isn’t able to download the rails gem file intact.
You can manually download it at http://rubyforge.lauschmusik.de/gems/
and then install it locally:

gem install rails*gem -l

In order to start webrick you now have to specify it on the command
line,

script/server webrick

The default web server has been changed to lighty, which I don’t think
you want (or even have).