I''ve seen that Rails 1.1 is not reliable with Ruby 1.8.2 so you should upgrade to 1.8.4 I''m running ruby 1.8.3. What''s the story with it? Do I need to upgrade before I try Rails 1.1? Thanks Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
Rails fastcgi simply wont run with Ruby 1.8.3. So I suppose you do need to upgrade :) -Nb On 3/30/06 3:41 PM, "Greg Freemyer" <greg.freemyer@gmail.com> wrote:> I''ve seen that Rails 1.1 is not reliable with Ruby 1.8.2 so you should > upgrade to 1.8.4 > > I''m running ruby 1.8.3. What''s the story with it? Do I need to > upgrade before I try Rails 1.1? > > Thanks > Greg > -- > Greg Freemyer > The Norcross Group > Forensics for the 21st Century > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Nathaniel S. H. Brown? ? ?? ??? ?? ?? ?? ?? ?http://nshb.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Weird, I''m running lighty with fcgi and Rails 1.0 now. So does your statement only apply to Apache setups? Greg On 3/30/06, Nathaniel Brown <nshb@inimit.com> wrote:> Rails fastcgi simply wont run with Ruby 1.8.3. So I suppose you do need to > upgrade :) > > -Nb > > On 3/30/06 3:41 PM, "Greg Freemyer" <greg.freemyer@gmail.com> wrote: > > > I''ve seen that Rails 1.1 is not reliable with Ruby 1.8.2 so you should > > upgrade to 1.8.4 > > > > I''m running ruby 1.8.3. What''s the story with it? Do I need to > > upgrade before I try Rails 1.1? > > > > Thanks > > Greg > > -- > > Greg Freemyer > > The Norcross Group > > Forensics for the 21st Century > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Nathaniel S. H. Brown http://nshb.net > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Greg Freemyer The Norcross Group Forensics for the 21st Century
Greg Freemyer wrote:> I''m running ruby 1.8.3. What''s the story with it? Do I need to > upgrade before I try Rails 1.1?Definitely do not use 1.83 with Rails 1.1: http://www.rubyonrails.com/down and see Kent''s comment to this post: http://www.softiesonrails.com/articles/2006/03/28/rails-1-1-and-ruby-1-83-dont-mix Upgrade to 1.84 or you can go back down to 1.82 if you prefer. Jeff www.softiesonrails.com -- Posted via http://www.ruby-forum.com/.
On Thu, 2006-03-30 at 16:04 -0800, Nathaniel Brown wrote:> Rails fastcgi simply wont run with Ruby 1.8.3. So I suppose you do need to > upgrade :)---- huh? # ps aux|grep cgi apache 11714 0.0 0.6 15652 7112 ? S Mar27 0:00 /usr/sbin/fcgi- apache 11715 0.0 2.1 26016 21916 ? S Mar27 0:29 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11726 0.0 2.1 24524 21808 ? S Mar27 0:38 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11727 0.0 1.6 21676 17324 ? S Mar27 0:02 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11728 0.0 1.4 22212 15396 ? S Mar27 0:02 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11729 0.0 2.1 25016 21916 ? S Mar27 0:03 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11730 0.0 2.1 26244 21764 ? S Mar27 0:59 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11731 0.0 2.1 25744 21964 ? S Mar27 0:18 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11732 0.0 2.0 25828 21632 ? S Mar27 1:53 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11733 0.0 1.6 21884 16980 ? S Mar27 0:02 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11736 0.0 2.0 25972 21680 ? S Mar27 0:31 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11737 0.0 2.0 26288 21548 ? S Mar27 0:34 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11738 0.0 2.1 24500 21760 ? S Mar27 1:14 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11739 0.0 2.0 25080 21740 ? S Mar27 0:41 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11740 0.0 2.0 25640 21556 ? S Mar27 0:33 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi apache 11741 0.0 1.9 25948 20376 ? S Mar27 0:50 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi # rpm -qa|grep ruby ruby-libs-1.8.3-2.c4 ruby-docs-1.8.3-2.c4 ruby-1.8.3-2.c4 ruby-devel-1.8.3-2.c4 ruby-mode-1.8.3-2.c4 # ls -l /tmp/*fcgi* total 12 srw------- 1 apache apache 0 Mar 27 08:20 21e9bf3e1a3ca6ddbb8ec51e39e0453a drwx------ 2 apache apache 4096 Mar 22 22:46 dynamic # ls -ld /tmp/*fcgi* drwx------ 3 apache apache 4096 Mar 27 08:20 /tmp/fcgi_ipc Craig ----> > -Nb > > On 3/30/06 3:41 PM, "Greg Freemyer" <greg.freemyer@gmail.com> wrote: > > > I''ve seen that Rails 1.1 is not reliable with Ruby 1.8.2 so you should > > upgrade to 1.8.4 > > > > I''m running ruby 1.8.3. What''s the story with it? Do I need to > > upgrade before I try Rails 1.1? > > > > Thanks > > Greg > > -- > > Greg Freemyer > > The Norcross Group > > Forensics for the 21st Century > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Nathaniel S. H. Brown http://nshb.net > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Jeff Cohen wrote:>Greg Freemyer wrote: > > >>I''m running ruby 1.8.3. What''s the story with it? Do I need to >>upgrade before I try Rails 1.1? >> >> > >Definitely do not use 1.83 with Rails 1.1: >http://www.rubyonrails.com/down > >and see Kent''s comment to this post: >http://www.softiesonrails.com/articles/2006/03/28/rails-1-1-and-ruby-1-83-dont-mix > >Upgrade to 1.84 or you can go back down to 1.82 if you prefer. > >Jeff >www.softiesonrails.com > > >And I know that the current Ubunutu is set a Ruby 1.8.3. I know a lot of people are using ubuntu. I actually didnt have any problems with it (for 1.0 anyway). -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
I would show you the error I got but my production server is already updated. You are sure you are running Rails 1.1 on that fastcgi process and not 1.0? -Nb On 3/30/06 6:37 PM, "Craig White" <craigwhite@azapple.com> wrote:> On Thu, 2006-03-30 at 16:04 -0800, Nathaniel Brown wrote: >> Rails fastcgi simply wont run with Ruby 1.8.3. So I suppose you do need to >> upgrade :) > ---- > huh? > > # ps aux|grep cgi > apache 11714 0.0 0.6 15652 7112 ? S Mar27 > 0:00 /usr/sbin/fcgi- > apache 11715 0.0 2.1 26016 21916 ? S Mar27 > 0:29 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11726 0.0 2.1 24524 21808 ? S Mar27 > 0:38 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11727 0.0 1.6 21676 17324 ? S Mar27 > 0:02 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11728 0.0 1.4 22212 15396 ? S Mar27 > 0:02 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11729 0.0 2.1 25016 21916 ? S Mar27 > 0:03 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11730 0.0 2.1 26244 21764 ? S Mar27 > 0:59 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11731 0.0 2.1 25744 21964 ? S Mar27 > 0:18 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11732 0.0 2.0 25828 21632 ? S Mar27 > 1:53 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11733 0.0 1.6 21884 16980 ? S Mar27 > 0:02 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11736 0.0 2.0 25972 21680 ? S Mar27 > 0:31 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11737 0.0 2.0 26288 21548 ? S Mar27 > 0:34 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11738 0.0 2.1 24500 21760 ? S Mar27 > 1:14 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11739 0.0 2.0 25080 21740 ? S Mar27 > 0:41 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11740 0.0 2.0 25640 21556 ? S Mar27 > 0:33 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > apache 11741 0.0 1.9 25948 20376 ? S Mar27 > 0:50 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > # rpm -qa|grep ruby > ruby-libs-1.8.3-2.c4 > ruby-docs-1.8.3-2.c4 > ruby-1.8.3-2.c4 > ruby-devel-1.8.3-2.c4 > ruby-mode-1.8.3-2.c4 > > # ls -l /tmp/*fcgi* > total 12 > srw------- 1 apache apache 0 Mar 27 08:20 > 21e9bf3e1a3ca6ddbb8ec51e39e0453a > drwx------ 2 apache apache 4096 Mar 22 22:46 dynamic > > # ls -ld /tmp/*fcgi* > drwx------ 3 apache apache 4096 Mar 27 08:20 /tmp/fcgi_ipc > > > Craig > ---- >> >> -Nb >> >> On 3/30/06 3:41 PM, "Greg Freemyer" <greg.freemyer@gmail.com> wrote: >> >>> I''ve seen that Rails 1.1 is not reliable with Ruby 1.8.2 so you should >>> upgrade to 1.8.4 >>> >>> I''m running ruby 1.8.3. What''s the story with it? Do I need to >>> upgrade before I try Rails 1.1? >>> >>> Thanks >>> Greg >>> -- >>> Greg Freemyer >>> The Norcross Group >>> Forensics for the 21st Century >>> _______________________________________________ >>> Rails mailing list >>> Rails@lists.rubyonrails.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Nathaniel S. H. Brown http://nshb.net >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> >> >> >> >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Nathaniel S. H. Brown? ? ?? ??? ?? ?? ?? ?? ?http://nshb.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Oh no - I am running Rails 1.0 and fully intend to update over the weekend to ruby 1.8.4 before updating to Rails 1.1 as this is a production server. I was merely responding to your statement that Rails fastcgi simply won''t run with Ruby 1.8.3 and thought the subject does say Rails 1.1, your statement seemed to encompass Rails 1.0. So far, my usage on my development system hasn''t broken with Rails 1.1 but I haven''t tested everything out yet. Craig On Thu, 2006-03-30 at 19:09 -0800, Nathaniel Brown wrote:> I would show you the error I got but my production server is already > updated. > > You are sure you are running Rails 1.1 on that fastcgi process and not 1.0? > > -Nb > > > On 3/30/06 6:37 PM, "Craig White" <craigwhite@azapple.com> wrote: > > > On Thu, 2006-03-30 at 16:04 -0800, Nathaniel Brown wrote: > >> Rails fastcgi simply wont run with Ruby 1.8.3. So I suppose you do need to > >> upgrade :) > > ---- > > huh? > > > > # ps aux|grep cgi > > apache 11714 0.0 0.6 15652 7112 ? S Mar27 > > 0:00 /usr/sbin/fcgi- > > apache 11715 0.0 2.1 26016 21916 ? S Mar27 > > 0:29 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11726 0.0 2.1 24524 21808 ? S Mar27 > > 0:38 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11727 0.0 1.6 21676 17324 ? S Mar27 > > 0:02 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11728 0.0 1.4 22212 15396 ? S Mar27 > > 0:02 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11729 0.0 2.1 25016 21916 ? S Mar27 > > 0:03 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11730 0.0 2.1 26244 21764 ? S Mar27 > > 0:59 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11731 0.0 2.1 25744 21964 ? S Mar27 > > 0:18 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11732 0.0 2.0 25828 21632 ? S Mar27 > > 1:53 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11733 0.0 1.6 21884 16980 ? S Mar27 > > 0:02 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11736 0.0 2.0 25972 21680 ? S Mar27 > > 0:31 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11737 0.0 2.0 26288 21548 ? S Mar27 > > 0:34 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11738 0.0 2.1 24500 21760 ? S Mar27 > > 1:14 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11739 0.0 2.0 25080 21740 ? S Mar27 > > 0:41 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11740 0.0 2.0 25640 21556 ? S Mar27 > > 0:33 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > apache 11741 0.0 1.9 25948 20376 ? S Mar27 > > 0:50 /usr/bin/ruby /home/craig/th-db/public/dispatch.fcgi > > > > # rpm -qa|grep ruby > > ruby-libs-1.8.3-2.c4 > > ruby-docs-1.8.3-2.c4 > > ruby-1.8.3-2.c4 > > ruby-devel-1.8.3-2.c4 > > ruby-mode-1.8.3-2.c4 > > > > # ls -l /tmp/*fcgi* > > total 12 > > srw------- 1 apache apache 0 Mar 27 08:20 > > 21e9bf3e1a3ca6ddbb8ec51e39e0453a > > drwx------ 2 apache apache 4096 Mar 22 22:46 dynamic > > > > # ls -ld /tmp/*fcgi* > > drwx------ 3 apache apache 4096 Mar 27 08:20 /tmp/fcgi_ipc > > > > > > Craig > > ---- > >> > >> -Nb > >> > >> On 3/30/06 3:41 PM, "Greg Freemyer" <greg.freemyer@gmail.com> wrote: > >> > >>> I''ve seen that Rails 1.1 is not reliable with Ruby 1.8.2 so you should > >>> upgrade to 1.8.4 > >>> > >>> I''m running ruby 1.8.3. What''s the story with it? Do I need to > >>> upgrade before I try Rails 1.1? > >>> > >>> Thanks > >>> Greg > >>> -- > >>> Greg Freemyer > >>> The Norcross Group > >>> Forensics for the 21st Century > >>> _______________________________________________ > >>> Rails mailing list > >>> Rails@lists.rubyonrails.org > >>> http://lists.rubyonrails.org/mailman/listinfo/rails > >> > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> Nathaniel S. H. Brown http://nshb.net > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> > >> > >> > >> > >> > >> _______________________________________________ > >> Rails mailing list > >> Rails@lists.rubyonrails.org > >> http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Nathaniel S. H. Brown http://nshb.net > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Hi, We''re switching to Rails 1.0 on Ubuntu (whose latest Ruby version is 1.8.3). Just the other day, one of our Rails apps started producing segmentation faults. Do you think this could be caused by the fact that we''re using 1.8.3? > And I know that the current Ubunutu is set a Ruby 1.8.3. I know a lot > of people are using ubuntu. I actually didnt have any problems with it > (for 1.0 anyway). Thanks, Ben
Ben Gribaudo wrote:> Hi, > > We''re switching to Rails 1.0 on Ubuntu (whose latest Ruby version is > 1.8.3). Just the other day, one of our Rails apps started producing > segmentation faults. Do you think this could be caused by the fact that > we''re using 1.8.3? >I''ve seen a couple, but only with feedtools and trying to run the Rails 1.1 unit tests, but 1.8.4''s specced for that anyway. Nothing bad in 1.0. I haven''t seen a definitive answer as to which version of Ruby Ubuntu 5.10 actually installs, by the way - ruby -v tells me 1.8.3, but dpkg -l tells me it''s 1.8.2-9... Anyone know the truth? I''m assuming that the Ubuntu team backported some changes from 1.8.3 to the 1.8.2 codebase, but I''m not sure. I''ve certainly never seen the original logger problem with the ruby on my box. -- Alex
Berlin Brown wrote:> Jeff Cohen wrote: > >> Greg Freemyer wrote: >> >> >>> I''m running ruby 1.8.3. What''s the story with it? Do I need to >>> upgrade before I try Rails 1.1? >>> >> >> >> Definitely do not use 1.83 with Rails 1.1: >> http://www.rubyonrails.com/down >> >> and see Kent''s comment to this post: >> http://www.softiesonrails.com/articles/2006/03/28/rails-1-1-and-ruby-1-83-dont-mix >> >> >> Upgrade to 1.84 or you can go back down to 1.82 if you prefer. >> >> Jeff >> www.softiesonrails.com >> >> >> > And I know that the current Ubunutu is set a Ruby 1.8.3. I know a lot > of people are using ubuntu. I actually didnt have any problems with it > (for 1.0 anyway).I have Ruby 1.8.4 packages for Ubuntu Breezy badger that were backported from Debian unstable. See http://www.orcaware.com/packages/ubuntu/breezy/ Regards, Blair -- Blair Zajac, Ph.D. <blair@orcaware.com> Subversion training, consulting and support http://www.orcaware.com/svn/
wondering what is the proper way to upgrade on Ubuntu Breezy - install ruby and libruby 1.8.4 from packages (either from orcaware or dapper) - then what? download and install gems from source ? thks. Blair Zajac wrote:> Berlin Brown wrote: >>> Definitely do not use 1.83 with Rails 1.1: >>> >>> >>> >> And I know that the current Ubunutu is set a Ruby 1.8.3. I know a lot >> of people are using ubuntu. I actually didnt have any problems with it >> (for 1.0 anyway). > > I have Ruby 1.8.4 packages for Ubuntu Breezy badger that were backported > from > Debian unstable. > > See > > http://www.orcaware.com/packages/ubuntu/breezy/ > > Regards, > Blair > > -- > Blair Zajac, Ph.D. > <blair@orcaware.com> > Subversion training, consulting and support > http://www.orcaware.com/svn/-- Posted via http://www.ruby-forum.com/.