Results 1 to 14 of 14
  1. #1
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,069

    Ruby on Rails help!

    I have a few questions about RoR. First, how would I go about letting each user (web hosting) have their own ruby on rails applications? Also, I'm learning it right now but when I try and scaffold a table I get the error #28000Access denied for user 'root'@'localhost' (using password: NO). I have edited the database.yml file many times but no matter what I put I keep getting this error.

  2. #2
    Join Date
    Nov 2003
    Location
    Auckland, New Zealand
    Posts
    588
    A few of the ruby applications need restarting the ruby process to pick up the file changes. Did you do that ? Are you ALWAYS getting the same error ? Or is it different with the user names in it ?
    BLUETRIDENT.NET - Reliable Shared, Reseller and Dedicated Hosting Solutions Provider
    Managed Hosting with Personal Service
    Highspeed Content Servers, Lighttpd, Ruby on Rails, Cluster Servers & Rich Web Application Hosting

  3. #3
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,069
    Oh, it's the same error....what would the command be to restart/stop the ruby server?

  4. #4
    Join Date
    Nov 2003
    Location
    Auckland, New Zealand
    Posts
    588
    Find the process and kill it ( kill -9 __________ ). Once that happens, restart your ruby processes. It is really hard to say how to do it on your system, because to date I have yet to find two similar Ruby installs in the ones I've come across. How are you doing your ruby ?
    BLUETRIDENT.NET - Reliable Shared, Reseller and Dedicated Hosting Solutions Provider
    Managed Hosting with Personal Service
    Highspeed Content Servers, Lighttpd, Ruby on Rails, Cluster Servers & Rich Web Application Hosting

  5. #5
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,069
    All I did was extract it into the root directory then install it. I then installed ruby gems and then I used gems to install rails. Just making sure; You can only have 1 application per install as in once you run ruby script/server it'll only work for that application?

  6. #6
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,069
    Nevermind, restarting the server did the trick. I'm still confused as to how to run more than 1 ruby app at a time though.

  7. #7
    Join Date
    Nov 2003
    Location
    Auckland, New Zealand
    Posts
    588
    Do you use a control panel ?
    BLUETRIDENT.NET - Reliable Shared, Reseller and Dedicated Hosting Solutions Provider
    Managed Hosting with Personal Service
    Highspeed Content Servers, Lighttpd, Ruby on Rails, Cluster Servers & Rich Web Application Hosting

  8. #8
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,069
    Yes, I use cPanel.

  9. #9
    Join Date
    Nov 2003
    Location
    Auckland, New Zealand
    Posts
    588
    It has drop in Cpanel now ? We had to install our own from our method for a few of our clients.
    BLUETRIDENT.NET - Reliable Shared, Reseller and Dedicated Hosting Solutions Provider
    Managed Hosting with Personal Service
    Highspeed Content Servers, Lighttpd, Ruby on Rails, Cluster Servers & Rich Web Application Hosting

  10. #10
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,069
    Hm? I installed Ruby on Rails by myself, not using cPanel.

  11. #11
    Join Date
    Nov 2003
    Location
    Auckland, New Zealand
    Posts
    588
    Okay - typo . Anyway, I was glad it worked for you. This is probably one of the reasons I do not like ruby all that much. It's much too much like a program running around to be comfortable. I meant " It has adrop in Ruby now ? ".
    BLUETRIDENT.NET - Reliable Shared, Reseller and Dedicated Hosting Solutions Provider
    Managed Hosting with Personal Service
    Highspeed Content Servers, Lighttpd, Ruby on Rails, Cluster Servers & Rich Web Application Hosting

  12. #12
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,069
    Er...I don't know what adrop is...

  13. #13
    Join Date
    Nov 2003
    Location
    Auckland, New Zealand
    Posts
    588
    Never mind it. I think sometimes during this time of the day I start making up sentences that make sense only to me and only for a while. From your post - originally I thought that you were running a custom ruby install. But then I thought you weren't. By "adrop" I really meant a drop in Cpanel plugin. Sorry about the confusion.
    BLUETRIDENT.NET - Reliable Shared, Reseller and Dedicated Hosting Solutions Provider
    Managed Hosting with Personal Service
    Highspeed Content Servers, Lighttpd, Ruby on Rails, Cluster Servers & Rich Web Application Hosting

  14. #14
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,069
    Hm....ok, but does only 1 ruby script/server run per application or per server?

Posting Permissions

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