From dbitla at gmail.com Thu Apr 3 06:12:07 2008 From: dbitla at gmail.com (Dashrath Bitla) Date: Thu, 3 Apr 2008 15:42:07 +0530 Subject: [Rubyworks-users] Installing RubyWorks on Ubuntu 7.04 Message-ID: <9d2029cf0804030312i73997c0p4e30cc4e01bf92cc@mail.gmail.com> Hi All, I've installed RubyWorks as per the installation instructions in http://rubyworks.rubyforge.org/installation/ubuntu.html Everything went very fine ... not sure why the servers did not start properly. I was expecting the mongrel Servers to be running at port 3001 as per the instructions. But no server is running. As per the log it shows the mongrel_3002.config mongrel_3003.config mongrel_3004.config mongrel_3005.config but even these ports are also not serving mongrels. * Is there anything else need to be done here?* Please help! *root at testsys*:~# sudo aptitude install rubyworks Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Building tag database... Done The following packages have been automatically kept back: libpq5 openssh-client The following NEW packages will be automatically installed: fgetty haproxy irb irb1.8 libgems-ruby1.8 libopenssl-ruby1.8 libreadline-ruby1.8 libruby1.8 monit rdoc rdoc1.8 ri ri1.8 ruby ruby1.8 rubygem-cgi-multipart-eof-fix rubygem-daemons rubygem-fastthread rubygem-gem-plugin rubygem-mongrel rubygem-rake rubygems runit The following packages have been kept back: bzip2 libbz2-1.0 libkrb53 openssh-server python2.5 python2.5-minimal tzdata The following NEW packages will be installed: fgetty haproxy irb irb1.8 libgems-ruby1.8 libopenssl-ruby1.8 libreadline-ruby1.8 libruby1.8 monit rdoc rdoc1.8 ri ri1.8 ruby ruby1.8 rubygem-cgi-multipart-eof-fix rubygem-daemons rubygem-fastthread rubygem-gem-plugin rubygem-mongrel rubygem-rake rubygems rubyworks runit 0 packages upgraded, 24 newly installed, 0 to remove and 9 not upgraded. Need to get 0B/6100kB of archives. After unpacking 67.0MB will be used. Do you want to continue? [Y/n/?] Y Writing extended state information... Done Selecting previously deselected package fgetty. (Reading database ... 16099 files and directories currently installed.) Unpacking fgetty (from .../fgetty_0.6-4_amd64.deb) ... Selecting previously deselected package libruby1.8. Unpacking libruby1.8 (from .../libruby1.8_1.8.6.36-1ubuntu3.1_amd64.deb) ... Selecting previously deselected package ruby1.8. Unpacking ruby1.8 (from .../ruby1.8_1.8.6.36-1ubuntu3.1_amd64.deb) ... Selecting previously deselected package libreadline-ruby1.8. Unpacking libreadline-ruby1.8 (from .../libreadline-ruby1.8_1.8.6.36-1ubuntu3.1_amd64.deb) ... Selecting previously deselected package irb1.8. Unpacking irb1.8 (from .../irb1.8_1.8.6.36-1ubuntu3.1_all.deb) ... Selecting previously deselected package irb. Unpacking irb (from .../archives/irb_1.8.2-1_all.deb) ... Selecting previously deselected package rdoc1.8. Unpacking rdoc1.8 (from .../rdoc1.8_1.8.6.36-1ubuntu3.1_all.deb) ... Selecting previously deselected package libopenssl-ruby1.8. Unpacking libopenssl-ruby1.8 (from .../libopenssl-ruby1.8_1.8.6.36-1ubuntu3.1_amd64.deb) ... Selecting previously deselected package libgems-ruby1.8. Unpacking libgems-ruby1.8 (from .../libgems-ruby1.8_0.9.4-1ubuntu1_all.deb) ... Selecting previously deselected package rdoc. Unpacking rdoc (from .../archives/rdoc_1.8.2-1_all.deb) ... Selecting previously deselected package ri1.8. Unpacking ri1.8 (from .../ri1.8_1.8.6.36-1ubuntu3.1_all.deb) ... Selecting previously deselected package ri. Unpacking ri (from .../archives/ri_1.8.2-1_all.deb) ... Selecting previously deselected package ruby. Unpacking ruby (from .../archives/ruby_1.8.2-1_all.deb) ... Selecting previously deselected package rubygems. Unpacking rubygems (from .../rubygems_0.9.4-1ubuntu1_all.deb) ... Selecting previously deselected package runit. Unpacking runit (from .../runit_1.5.1-1_amd64.deb) ... Selecting previously deselected package haproxy. Unpacking haproxy (from .../haproxy_1.2.17_amd64.deb) ... Selecting previously deselected package monit. Unpacking monit (from .../monit_1%3a4.8.1-2.1_amd64.deb) ... Selecting previously deselected package rubygem-cgi-multipart-eof-fix. Unpacking rubygem-cgi-multipart-eof-fix (from .../rubygem-cgi-multipart-eof-fix_2.1_amd64.deb) ... Selecting previously deselected package rubygem-daemons. Unpacking rubygem-daemons (from .../rubygem-daemons_1.0.6_amd64.deb) ... Selecting previously deselected package rubygem-fastthread. Unpacking rubygem-fastthread (from .../rubygem-fastthread_1.0_amd64.deb) ... Selecting previously deselected package rubygem-rake. Unpacking rubygem-rake (from .../rubygem-rake_0.7.3_amd64.deb) ... Selecting previously deselected package rubygem-gem-plugin. Unpacking rubygem-gem-plugin (from .../rubygem-gem-plugin_0.2.2_amd64.deb) ... Selecting previously deselected package rubygem-mongrel. Unpacking rubygem-mongrel (from .../rubygem-mongrel_1.0.1_amd64.deb) ... Selecting previously deselected package rubyworks. Unpacking rubyworks (from .../rubyworks_1.0.0_amd64.deb) ... Setting up fgetty (0.6-4) ... Setting up libruby1.8 (1.8.6.36-1ubuntu3.1) ... Setting up ruby1.8 (1.8.6.36-1ubuntu3.1) ... Setting up libreadline-ruby1.8 (1.8.6.36-1ubuntu3.1) ... Setting up irb1.8 (1.8.6.36-1ubuntu3.1) ... Setting up irb (1.8.2-1) ... Setting up rdoc1.8 (1.8.6.36-1ubuntu3.1) ... Setting up libopenssl-ruby1.8 (1.8.6.36-1ubuntu3.1) ... Setting up libgems-ruby1.8 (0.9.4-1ubuntu1) ... Setting up rdoc (1.8.2-1) ... Setting up ri1.8 (1.8.6.36-1ubuntu3.1) ... Setting up ri (1.8.2-1) ... Setting up ruby (1.8.2-1) ... Setting up rubygems (0.9.4-1ubuntu1) ... Setting up runit (1.5.1-1) ... Adding SV inittab entry... Setting up haproxy (1.2.17) ... Setting up monit (1:4.8.1-2.1) ... Starting daemon monitor: -e monit won't be started/stopped unless it it's configured -e please configure monit and then edit /etc/default/monit -e and set the "startup" variable to 1 in order to allow -e monit to start Setting up rubygem-cgi-multipart-eof-fix (2.1) ... Setting up rubygem-daemons (1.0.6) ... Setting up rubygem-fastthread (1.0) ... Setting up rubygem-rake (0.7.3) ... Setting up rubygem-gem-plugin (0.2.2) ... Setting up rubygem-mongrel (1.0.1) ... Setting up rubyworks (1.0.0) ... Checking installation ... ls /etc/rails haproxy.conf mongrel_3002.config mongrel_3003.config mongrel_3004.config mongrel_3005.config monit.conf monit.pem /usr/bin/id: rails: No such user /usr/sbin/useradd -m -r -d /nonexistent -s /bin/false -c "Service account for RubyWorks daemons" rails useradd: warning: the home directory already exists. Not copying any file from skel directory into it. /usr/sbin/runsvdir-start & /usr/bin/sv up mongrel_3002 mongrel_3003 mongrel_3004 mongrel_3005 /usr/bin/sv up haproxy /usr/bin/sv up monit Processing triggers for libc6 ... ldconfig deferred processing now taking place Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Building tag database... Done Dash -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyworks-users/attachments/20080403/49c0e17e/attachment-0001.html From dbitla at gmail.com Thu Apr 24 10:14:41 2008 From: dbitla at gmail.com (Dash Bitla) Date: Thu, 24 Apr 2008 19:44:41 +0530 Subject: [Rubyworks-users] PLS Help: gem command fails with Unsupported architecture: x86_64 (RuntimeError) in Ubuntu 7 after installing rubyworks Message-ID: <9d2029cf0804240714i5c43b863jd92b0ae68823b199@mail.gmail.com> Dear Alexey, I was able to install RubyWorks and be able to use it for production environment successfully. However am not able to install any other gem, gem command itself is not working. It fails with the error: Unsupported architecture: x86_64 (RuntimeError). Can you please please help how to get rid of this error? I tried to download rubygems latest and was able to install other gems, but mongrel stopped working. I had to cleanup all this to make rubyworks working. Please help how to get rid of the following error ... Here is the error: *$ gem* /var/lib/gems/1.8/gems/sources-0.0.1/lib/sources.rb:6: Unsupported architecture: x86_64 (RuntimeError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `require' from /usr/lib/ruby/1.8/rubygems/source_info_cache.rb:6 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require' from /usr/lib/ruby/1.8/rubygems/remote_installer.rb:12 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require' from /usr/lib/ruby/1.8/rubygems.rb:111:in `manage_gems' from /usr/bin/gem:10 -- Best Regards Dash -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyworks-users/attachments/20080424/cb98b900/attachment.html From dbitla at gmail.com Thu Apr 24 21:37:51 2008 From: dbitla at gmail.com (Dash Bitla) Date: Fri, 25 Apr 2008 07:07:51 +0530 Subject: [Rubyworks-users] PLS Help: gem command fails with Unsupported architecture: x86_64 (RuntimeError) in Ubuntu 7 after installing rubyworks In-Reply-To: <9d2029cf0804241757m16022b31odcf400e427f0fc6f@mail.gmail.com> References: <9d2029cf0804240714i5c43b863jd92b0ae68823b199@mail.gmail.com> <3945c4270804241530w796c0b5cj36d7c5f2555417c4@mail.gmail.com> <9d2029cf0804241757m16022b31odcf400e427f0fc6f@mail.gmail.com> Message-ID: <9d2029cf0804241837m4db15806u841b7309a45dcc81@mail.gmail.com> Thanks for responding. The Operating System is Ubuntu Feisty 7.04. Am completely stuck due to this gem error, I am not able to use gem command. I've tried on a new VPS slice ... still the same error. Dash > > > > > On Fri, Apr 25, 2008 at 4:00 AM, Alexey Verkhovsky < > alexey.verkhovsky at gmail.com> wrote: > >> Hi, >> >> On Thu, Apr 24, 2008 at 8:14 AM, Dash Bitla wrote: >> > It fails with the error: Unsupported architecture: x86_64 >> (RuntimeError). >> >> What is your operating system? >> >> -- >> Alexey Verkhovsky >> CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] >> RubyWorks [http://rubyworks.thoughtworks.com] >> > > > > -- > Best Regards > Dashrath > +91 92434 20313 > http://www.bitlasoft.com -- Best Regards Dashrath +91 92434 20313 http://www.bitlasoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyworks-users/attachments/20080425/0ec20ba9/attachment.html From dbitla at gmail.com Thu Apr 24 22:30:58 2008 From: dbitla at gmail.com (Dash Bitla) Date: Fri, 25 Apr 2008 08:00:58 +0530 Subject: [Rubyworks-users] RubyWorks - installing rcov with ruby setup.rb is giving error errorextconf.rb:1:in `require': no such file to load -- mkmf (LoadError) Message-ID: <9d2029cf0804241930t7136710ahce18565739a6497e@mail.gmail.com> *This error is due to RubyWorks default setup commands not working for Ubuntu Feisty 7.04 version.* I'm facing the following error while setting up the rcov. Since gem command was failing with the following error: gem command fails with Unsupported architecture:x86_64 (RuntimeError) Ubuntu Feisty 7.04 I tried to setup manually by running the following setup command. root at xyz:~/downloads/rcov-0.8.1.2# ruby setup.rb ---> bin <--- bin ---> lib ---> lib/rcov <--- lib/rcov <--- lib ---> ext ---> ext/rcovrt /usr/bin/ruby1.8 /root/downloads/rcov-0.8.1.2/ext/rcovrt/extconf.rb /root/downloads/rcov-0.8.1.2/ext/rcovrt/extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) from /root/downloads/rcov-0.8.1.2/ext/rcovrt/extconf.rb:1 setup.rb:655:in `command': system("/usr/bin/ruby1.8" "/root/downloads/rcov-0.8.1.2/ext/rcovrt/extconf.rb") failed (RuntimeError) from setup.rb:660:in `ruby' from setup.rb:1238:in `extconf' from setup.rb:1230:in `config_dir_ext' from setup.rb:1532:in `__send__' from setup.rb:1532:in `traverse' from setup.rb:1549:in `dive_into' from setup.rb:1530:in `traverse' from setup.rb:1534:in `traverse' ... 8 levels... from setup.rb:991:in `exec_config' from setup.rb:812:in `invoke' from setup.rb:773:in `invoke' from setup.rb:1578 Googling around shown me I need to install the ruby1.8-dev package sudo apt-get install ruby1.8-dev but this is changing the default paths of rubyworks installation and causing the mongrels not starting and some other errors. I need either gem command to work directly from rubyworks install or ruby setup.rb of a gem working without disturbing RubyWorks setup. CAn someone please help. Dash -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyworks-users/attachments/20080425/5a5adf5c/attachment.html From shurikk at gmail.com Fri Apr 25 01:01:18 2008 From: shurikk at gmail.com (Alexander Kabanov) Date: Thu, 24 Apr 2008 22:01:18 -0700 Subject: [Rubyworks-users] PLS Help: gem command fails with Unsupported architecture: x86_64 (RuntimeError) in Ubuntu 7 after installing rubyworks In-Reply-To: <9d2029cf0804241837m4db15806u841b7309a45dcc81@mail.gmail.com> References: <9d2029cf0804240714i5c43b863jd92b0ae68823b199@mail.gmail.com> <3945c4270804241530w796c0b5cj36d7c5f2555417c4@mail.gmail.com> <9d2029cf0804241757m16022b31odcf400e427f0fc6f@mail.gmail.com> <9d2029cf0804241837m4db15806u841b7309a45dcc81@mail.gmail.com> Message-ID: <856763c80804242201s4878f06br8a63b47beae7689a@mail.gmail.com> quick and dirty hack would be # vi /var/lib/gems/1.8/gems/sources-0.0.1/lib/sources.rb and add 'x86_64' as 'i386' or as amd_64 it's up to you or use something else instead of `uname -m`.... any other suggestions? best, --Alex On Thu, Apr 24, 2008 at 6:37 PM, Dash Bitla wrote: > Thanks for responding. > The Operating System is Ubuntu Feisty 7.04. > Am completely stuck due to this gem error, I am not able to use gem command. > I've tried on a new VPS slice ... still the same error. > > Dash > > > > > > > > > > > > > > > > > On Fri, Apr 25, 2008 at 4:00 AM, Alexey Verkhovsky > wrote: > > > > > Hi, > > > > > > > > > > > > On Thu, Apr 24, 2008 at 8:14 AM, Dash Bitla wrote: > > > > It fails with the error: Unsupported architecture: x86_64 > (RuntimeError). > > > > > > What is your operating system? > > > > > > -- > > > Alexey Verkhovsky > > > CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] > > > RubyWorks [http://rubyworks.thoughtworks.com] > > > > > > > > > > > -- > > Best Regards > > Dashrath > > +91 92434 20313 > > http://www.bitlasoft.com > > > > -- > Best Regards > Dashrath > +91 92434 20313 > http://www.bitlasoft.com > _______________________________________________ > Rubyworks-users mailing list > Rubyworks-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubyworks-users > >