Results 1 to 12 of 12
  1. #1
    Join Date
    Oct 2006
    Posts
    323

    Installing Plesk Components / Ruby

    Hi All,

    In the components part of Plesk 8.01 you can install a "ruby on rails support" component, does anyone know if this is actually Ruby? And how can I see if Ruby is actually running, through SSH?

  2. #2
    Hello,

    If the server is linux and if Ruby uses a particular port to be executed then you can use nmap command to see whether Ruby is running and on which port.

    Also there is there netstat command to find whether the process o Ruby is running. You can use this command to check the processes of Ruby:

    ps -aufx | grep ruby

    This should help you to find. Since the component is installed through Plesk there is actually no need to check through shell, you can check the same through the control panel under component services.

    Thank you.

    Regards,

  3. #3
    Join Date
    Dec 2005
    Location
    Internet
    Posts
    1,337
    As far as I know Plesk 8.0 does not support ruby on rails. But Plesk 8.1 does. Its distribution contains following packages of ruby:

    ruby-actionmailer
    ruby-actionpack
    ruby-actionwebservice
    ruby-activerecord
    ruby-activesupport
    ruby-fcgi
    ruby-mysql
    ruby-rails
    ruby-rake

    And psa-rubyrails-configurator one to configure ruby Plesk way.

  4. #4
    Join Date
    Oct 2006
    Posts
    323
    Hi Guys,

    I got this when I typed the command into the terminal
    [[email protected] ~]# ps -aufx | grep ruby
    Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
    root 17732 0.0 0.0 1576 476 pts/0 S+ 12:36 0:00 \_ grep ruby
    [[email protected] ~]#
    I have installed the Ruby on Rails support component in Plesk, is there anything else I need to install from within Plesk for Ruby?

  5. #5
    Join Date
    Oct 2006
    Posts
    323
    Quote Originally Posted by linuxcares
    As far as I know Plesk 8.0 does not support ruby on rails. But Plesk 8.1 does. Its distribution contains following packages of ruby:

    ruby-actionmailer
    ruby-actionpack
    ruby-actionwebservice
    ruby-activerecord
    ruby-activesupport
    ruby-fcgi
    ruby-mysql
    ruby-rails
    ruby-rake

    And psa-rubyrails-configurator one to configure ruby Plesk way.
    Hi linuxcares, do you know where I can see all this info in MY Plesk?

  6. #6
    Join Date
    Dec 2005
    Location
    Internet
    Posts
    1,337
    They are the RPM packages included into Plesk distribution.

    When you run Plesk autoinstaller to install or update Plesk you need to choose "Ruby on Rails support" there. And autoinstaller installs all
    required packages. Or you can use Server -> Updater page of your Plesk Control Panel as well.

  7. #7
    Join Date
    Oct 2006
    Posts
    323
    Ahhh ok yea that's what I did, so is Ruby now installed? Is there anyway to test? Does it add any kind of icons into Plesk so you can install apps into Ruby?

  8. #8
    Join Date
    Dec 2005
    Location
    Internet
    Posts
    1,337
    Ofcourse. Ruby and Ruby on Rails support can be turned on by enabling FastCGI on a domain. Just try its working by running some Ror applications

  9. #9
    Join Date
    Oct 2006
    Posts
    323
    Can I see if Ruby is running using SSH?

  10. #10
    Join Date
    Dec 2005
    Location
    Internet
    Posts
    1,337
    1) Check whether its Ror is installed on the server.

    rpm -qa ruby*

    2) Check whether the process is running via

    ps aux |grep ruby

    3) Please visit http://wiki.rubyonrails.com/rails/pa...OnRailsOnPlesk to have the detailed information about its configuration.

  11. #11
    Join Date
    Oct 2006
    Posts
    323
    Radical this all came up! So I'm assuming it's all good?

    ruby-ri-1.8.5.2-1
    ruby-docs-1.8.5.2-1
    ruby-1.8.5.2-1
    ruby-irb-1.8.5.2-1
    ruby-mode-1.8.5.2-1
    ruby-devel-1.8.5.2-1
    ruby-debuginfo-1.8.5.2-1
    ruby-libs-1.8.5.2-1
    ruby-rdoc-1.8.5.2-1

  12. #12
    Join Date
    Oct 2006
    Posts
    323
    And with the second command I got this

    root 5858 0.0 0.0 1576 480 pts/0 S+ 13:53 0:00 grep ruby
    Sorry am still learning, what does the above tell me?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •