Jump to content

Bill Tj

Members
  • Posts

    32
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Bill Tj

  1. Hi,

     

    Thanks a lot for helping to solve the problem. I am so sorry that I just became aware from http://www.ruby-foru...pic/4306127#new that

     

    "Rails hosts, for instance Heroku, are strongly advising against therubyracer because of memory usage. I removed therubyracer from my gems and just did $sudo apt-get install nodejs."

     

    I don't know whether here we have memory usage problem or not. (Removing therubyracer is easy, just "gem uninstall therubyracer"; but I am not sure about installing node.js.)

     

    Regards,

     

    Bill

  2. 
    Building native extensions.  This could take a while...
    Successfully installed libv8-3.3.10.4-x86_64-linux
    Successfully installed therubyracer-0.10.2
    2 gems installed
    Installing ri documentation for libv8-3.3.10.4-x86_64-linux...
    Installing ri documentation for therubyracer-0.10.2...
    Installing RDoc documentation for libv8-3.3.10.4-x86_64-linux...
    Installing RDoc documentation for therubyracer-0.10.2...
    Done.
    

     

    Hi,

     

    Thanks a lot for installing therubyracer; I think it is working fine. I still have one more error:

     

    No such file or directory - git ls-files

     

    According to http://ficial.wordpr...y-git-ls-files/, the solution for PhusionPassenger is to put

     

    ln -nfs /usr/local/bin/git /usr/bin/git

     

    Is it possible to add this link? Thanks.

     

    Regards,

     

    Bill

     

    EDIT:

     

    
    root@johnny [~]# ls -l /usr/local/bin/git
    -rwxr-xr-x 1 root root 3746139 Mar 17  2011 /usr/local/bin/git*
    root@johnny [~]# ls -l /usr/bin/git
    /bin/ls: /usr/bin/git: No such file or directory
    
    root@johnny [~]# ln -ns /usr/local/bin/git /usr/bin/git
    
    root@johnny [~]# ls -l /usr/local/bin/git
    -rwxr-xr-x 1 root root 3746139 Mar 17  2011 /usr/local/bin/git*
    root@johnny [~]# ls -l /usr/bin/git
    lrwxrwxrwx 1 root root 18 Aug 21 08:56 /usr/bin/git -> /usr/local/bin/git*
    

  3. Unfortunately, cPanel does not support our version of Rails. Glad you got it working!

     

    Hi,

     

    Because cPanel does not support our version of Rails, can I make suggestion to remove the "Ruby on Rails" from the "Software/Services" area on cPanel? It may confuse the new people trying the Ruby on Rails. Thanks.

     

    Regards,

     

    Bill

    • Like 1
  4. Hi,

     

    I am asking the Ruby gem "therubyracer" to be installed. (It is to be used as a JavaScript runtime as indicated by PhusionPassenger.)

     

    When I tried to install therubyracer myself (via cron), I got the "libv8" is not found:

     

    ERROR: Error installing therubyracer:

    ERROR: Failed to build gem native extension.

     

    /usr/bin/ruby extconf.rb

    *** extconf.rb failed ***

    Could not create Makefile due to some reason, probably lack of

    necessary libraries and/or headers. Check the mkmf.log file for more

    details. You may need configuration options.

     

    Provided configuration options:

    --with-opt-dir

    --without-opt-dir

    --with-opt-include

    --without-opt-include=${opt-dir}/include

    --with-opt-lib

    --without-opt-lib=${opt-dir}/lib

    --with-make-prog

    --without-make-prog

    --srcdir=.

    --curdir

    --ruby=/usr/bin/ruby

    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- libv8 (LoadError)

    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'

    from extconf.rb:8

     

    Regards,

     

    Bill

     

    EDIT:

     

    
    Building native extensions.  This could take a while...
    Successfully installed libv8-3.3.10.4-x86_64-linux
    Successfully installed therubyracer-0.10.2
    2 gems installed
    Installing ri documentation for libv8-3.3.10.4-x86_64-linux...
    Installing ri documentation for therubyracer-0.10.2...
    Installing RDoc documentation for libv8-3.3.10.4-x86_64-linux...
    Installing RDoc documentation for therubyracer-0.10.2...
    Done.
    

  5. Hi,

     

    Thank you for your suggestion; it is very good to know about phpinfo(). Unfortunately, the Ruby version (as will be returned from "ruby -v") and none of the Ruby information is included in the output from phpinfo.

     

    Regards,

     

    Bill

     

    phpinfo() will only provide information on PHP. This article should help, it allows you to pull different information about Ruby and Rails through an application:

    http://blog.aizatto....uby-am-i-using/

     

    Hi,

     

    Thanks also for your suggestion. Right now, I cannot achieve it through the Ruby on Rails application, because there is something wrong with the rails app. I guess, I may go through a separate dedicated Ruby app (not with rails, maybe through CGI?).

     

    Just a direct question, does anybody know what version of the Ruby is on Johnny? Thanks.

     

    Regards,

     

    Bill

  6. Hi,

     

    What is the best way to print system info? For example, I just want to get the result of "ruby -v". When I tried it using the PHP method, system() and exec() are disabled.

     

    (Sometimes, the info at the website is out of date; for example, the Rails version according to http://www.heliohost.org/home/features/languages/ruby is 3.0.3, but according to "Installed Ruby Gem(s)" in cPanel, it is 3.1.3. The website says that the Ruby is 1.8.7, but I cannot be sure.)

     

    (Also, in the worst case I can do the cron method, but hopefully there is a better way so that I don't have to wait another day just to print the system info.)

     

    Best regards,

     

    Bill

  7. Hi,

     

    Thanks. Actually using cron, it worked!

     

    (For some reason, initially when I tried RubyGems in cPanel, the "Install a Ruby Gem" did not work. Also, now, even though I have installed the gem, the RubyGems in cPanel still does not show the newly installed gem. Therefore, probably the RubyGems in cPanel needs some maintenance.)

     

    Best regards,

     

    Bill

  8. Hi,

     

    In the heliohost website, it says that

     

    HelioHost allows every user to install their own Ruby Gems (Ruby code libraries) to use with Ruby on their accounts.

     

    How do we install a gem (for Ruby on Rails)? Do we just create and run a one-time cron job with the following command: "gem install my_gem >/dev/null 2>&1" ? Thanks.

     

    (Before I am sure, I do not want to just try the cron job because I may exceed the two cron jobs per user per day limit.)

     

    Regards,

     

    Bill

  9. Hi,

     

    Thanks for your reply. I have done it twice, but without any success.

     

    What kind of time zone does the cron process at the server use? (I am at the Eastern Time Zone.) Also, is there a minimum period of time before we can schedule a one-time cron job? (I tried to schedule it for several minutes before the event.)

     

    Regards,

     

    Bill

  10. I just got a new error message from Gmail. When I tried to send from Gmail, instead of "454 TLS currently unavailable (state 9)", what I got was

     

    -------------------------------------------------------------

    Delivery to the following recipient has been delayed:

     

    admin@tensor.heliohost.org

     

    Message will be retried for 2 more day(s)

     

    Technical details of temporary failure:

    DNS Error: DNS server returned general failure

    -------------------------------------------------------------

     

    Again, I sent the e-mail yesterday, and I haven't received it yet.

  11. So like I said, there's unfortunately nothing we can do regarding Gmail. xaav's email is probably on a white list in Gmail somewhere, so his email gets through normally.

     

    Are you experiencing any other issues with email?

     

    Actually, if Gmail has our domain on probation, it looks like the other way around. When I sent to Gmail, it is received immediately. When I sent from Gmail, it takes two days. There is an article on the web:

     

    http://www.bitblock.com/content/view/200/80/

     

    and based on this and the message, it seems the configuration error in on heliohost side, not on Gmail side.

     

    Also I have problem with http://www.ruby-forum.com/; I never received their e-mail.

  12. The issue with Gmail is known and I don't believe there's anything we can do on our end. I think Gmail has our domain on probation--it was blocked outright previously due to spam coming from one of the HH accounts.

     

    Is the original issue still persisting?

     

    Hi, yes, the original issue is still persisting. I just sent e-mail from Gmail and it has not arrived yet. Typically it takes two days.

     

    The strange thing is that this does not apparently happen to Gmail of, for example, xaav.

  13. SSH/SSL/TLS has nothing to do with email accounts.

     

    Hi, actually I just received the e-mail that you sent from Google. It seems that the delay is two days. But I haven't received any e-mail from http://www.ruby-forum.com.

     

    Any suggestion about how to properly configure TLS? Because the message that I got from Gmail is "The error that the other server returned was: 454 454 TLS currently unavailable (state 9)." Did you get the same message from Gmail?

     

    Thanks,

     

    Bill

  14. Hi,

     

    When we go through the cPanel "Getting Started Wizard", at the "Change Style" page, if we click "Skip this step", there will be a flash of "Manage SSH Keys" page that will be in fraction of a second disappears and replaced by "Congratulations!..." page. Does managing SSH keys have something to do with this problem? Because it looks like the root of the problem is

     

    The error that the other server returned was: 454 454 TLS currently unavailable (state 9).

     

    Or should I try the cPanel "SSL/TLS Manager"?

     

    Thanks,

     

    Bill

  15. Hi,

     

    Now I keep getting the same error message from Gmail regarding e-mails that I sent from Gmail yesterday:

     

    -------------------------------------------------------------------------------------

    This is an automatically generated Delivery Status Notification

     

    THIS IS A WARNING MESSAGE ONLY.

     

    YOU DO NOT NEED TO RESEND YOUR MESSAGE.

     

    Delivery to the following recipient has been delayed:

     

    dev@tensor.heliohost.org

     

    Message will be retried for 2 more day(s)

     

    Technical details of temporary failure:

    Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 454 454 TLS currently unavailable (state 9).

     

    ----- Original message -----

     

    MIME-Version: 1.0

    Received: by 10.227.200.134 with SMTP id ew6mr8334848wbb.45.1318434933183;

    Wed, 12 Oct 2011 08:55:33 -0700 (PDT)

    Received: by 10.227.69.198 with HTTP; Wed, 12 Oct 2011 08:55:33 -0700 (PDT)

    In-Reply-To: <ca73e29c936b633c6a48852ddb55f199.squirrel@stevie.heliohost.org>

    References: <ca73e29c936b633c6a48852ddb55f199.squirrel@stevie.heliohost.org>

    Date: Wed, 12 Oct 2011 11:55:33 -0400

    .......

    ----------------------------------------------------------------------------------------------------------

     

    Regards,

     

    Bill

  16. Email sent.

     

    Thanks. Actually I haven't received anything from you.

     

    But, the e-mails that I sent from two days ago from Gmail finally arrived! The e-mails that I sent from Gmail from yesterday have not arrived. So it looks like there are two days delay.

     

    Also in Gmail I got the following message:

     

    ---------------------------------------------------------------------------------

    Mail Delivery Subsystem mailer-daemon@googlemail.com to me

    show details 10:30 PM (12 hours ago)

    This is an automatically generated Delivery Status Notification

     

    THIS IS A WARNING MESSAGE ONLY.

     

    YOU DO NOT NEED TO RESEND YOUR MESSAGE.

     

    Delivery to the following recipient has been delayed:

     

    admin@tensor.heliohost.org

     

    Message will be retried for 2 more day(s)

     

    Technical details of temporary failure:

    Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 454 454 TLS currently unavailable (state 9).

     

    ----- Original message -----

     

    MIME-Version: 1.0

    Received: by 10.227.199.196 with SMTP id et4mr2469131wbb.15.1318385135372;

    Tue, 11 Oct 2011 19:05:35 -0700 (PDT)

    Received: by 10.227.69.198 with HTTP; Tue, 11 Oct 2011 19:05:35 -0700 (PDT)

    Date: Tue, 11 Oct 2011 22:05:35 -0400

    .......

    ---------------------------------------------------------------------------------------------------

     

    I also just sent a test e-mail from Gmail again, but it has not arrived.

     

    Thanks,

     

    Bill

  17. That's weird; GMail seems to work on my account.

     

    Yes, it's weird. I just tested it once again. I can send e-mail to Gmail, received immediately; but when I replied, I never got e-mail from Gmail. Is there any particular setting that I am unaware of?

     

    Regards,

     

    Bill

     

    That's weird; GMail seems to work on my account.

     

    Hi,

     

    Actually is it possible for you to send a test e-mail from Gmail to me (admin@tensor.heliohost.org)?

     

    Thanks,

     

    Bill

×
×
  • Create New...