Forum: Ruby on Rails RE: RC5 Mysql Troubles

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
jeff.gray (Guest)
on 2005-12-09 20:22
(Received via mailing list)
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?
vanek (Guest)
on 2005-12-09 20:52
(Received via mailing list)
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]
bpaland (Guest)
on 2005-12-09 21:01
(Received via mailing list)
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:in
`activate'
        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:in `each'
        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:in `re
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:in `re
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
vanek (Guest)
on 2005-12-09 21:39
(Received via mailing list)
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).
This topic is locked and can not be replied to.