Jump to content

Bill Tj

Members
  • Posts

    32
  • Joined

  • Last visited

  • Days Won

    1

Everything 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. 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
  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 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. It worked beautifully! I was never aware of the power of PHP. Thank you, thank you. (With this I don't have to wait another day for cron-related jobs.) I have put this in the wiki after the cron method. Thanks. Best regards, Bill
  8. No, I don't. But it means that I have to learn PHP and also how to run PHP script at heliohost, right? Regards, Bill
  9. 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
  10. Hi, Thanks a lot. I have filled in the survey. And I also have seen the new instruction in the wiki. Thank you very much! Regards, Bill
  11. 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
  12. Hi, Thank a lot for your suggestions. It is working now! May I put a suggestion, to put this in the Wiki or FAQ so that other people can find this method to create symbolic link? Thanks. Best regards, Bill
  13. 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
  14. Hi, In the Wiki, there is an instruction to: "Create a symbolic link from [Home Directory]/app_name/public to [Home Directory]/public_html/app_name" But how do we create symbolic link in Heliohost through the cPanel? Regards, Bill
  15. Yes, it is still working. I have filled the survey. Thank you for all your help and effort!
  16. Hey, it is working now! Wow! You guys are so amazing. Thank you, thank you, thank you!
  17. Thank you for finding the problem with Gmail. Regarding the e-mail problem with http://www.ruby-forum.com/, it is tough as there are no indications at all. I registered with them, but I never received any e-mail.
  18. 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.
  19. 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.
  20. 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.
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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 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...