View Poll Results: Yay?

Voters
35. You may not vote on this poll
  • Yay

    10 28.57%
  • Yaaay

    4 11.43%
  • YAAAAAAAAAAAAY

    21 60.00%
Page 7 of 7 FirstFirst ... 567
Results 61 to 67 of 67

Thread: New Ruby On Rails knowledge base article Added

  1. #61
    Join Date
    Mar 2008
    Posts
    19

    Default

    Quote Originally Posted by prasadk14 View Post
    Hi,

    How to install rfacebook gem for my ruby appilcation ..
    I created a ruby application and uploaded rfacebook plugin to the application's vendor/plugins folder and rfacebook gem to ruby/gems/ folder, and configured facebook.yml accordingly . But, I'm not able to start/run the application.. If I remove the facebook plugin from vendor/plugins, I can start the application...

    How can I make it done?

    Thanks
    -Prasad.
    Hi Prasad,

    We're having the same problems, but with the ferret gem and the acts_as_ferret plugin. We have the same symptoms that you have: Not able to start/run the application with the plugin in the directory, can run the application after removing the plugin. See additional notes and questions at http://bluehostforums.com/showthread.php?p=53899

    My hunch is that it has to do with the GEM_PATH, but I'm not sure. Let me know if you solve it.

    Thanks,

    Terri

  2. #62
    Join Date
    Oct 2007
    Posts
    18

    Default Rails and no Rails app with same account

    Quote Originally Posted by terri View Post
    Hi Justin,

    Yes, you can have 3 rails apps (or more!) running on BlueHost, but not with the URL structure you mentioned. The URLs you list above are three different hosts (app1, app2, and app3). Think of it this way: what you've listed above is:
    http://www.amazon.com
    http://www.nyt.com
    http://www.abcnews.com

    I assume you only have one account on BlueHost, which means you have only one host: http://www.justin.com for example.

    The way you set up your three Rails apps would be:

    http://app1.justin.com or http://www.justin.com/app1 -> ~/public_html/app1 -> ~/rails/app1/public
    http://app2.justin.com or http://www.justin.com/app2 -> ~/public_html/app2 -> ~/rails/app2/public
    http://app3.justin.com or http://www.justin.com/app3 -> ~/public_html/app3 -> ~/rails/app3/public

    I hope this helps.

    Terri
    In my case I have a domain up and running (non rails) and I'm now testing a rails app but I'm using subdomain. That is not what I want but I'm just testing.

    Justin has spent some money purchasing those domains. But the solution you propose is using subdomains on one of the purchased domains. So two domains are wasted.

    As I understand Justin would like to use the three domains.
    Also BH claims unlimited domain hosting.

    Any other alternatives to get this working? This will hit me as well at some point.

    Thanks

  3. #63
    Join Date
    Mar 2008
    Posts
    19

    Default

    Hi Comopasta,

    If BlueHost supports one account with multiple domains (which you say it does) then you could have a different rails app for each domain, if you desired.

    Then the way you set up your three Rails apps would be:

    http://www.domain1.com or http://www.justin.com/app1 -> ~/public_html/app1 -> ~/rails/app1/public
    http://www.domain2.com or http://www.justin.com/app2 -> ~/public_html/app2 -> ~/rails/app2/public
    http://www.domain3.com or http://www.justin.com/app3 -> ~/public_html/app3 -> ~/rails/app3/public

    You're still using a subdomain (the rails app itself is the subdomain which points to the public_html directory of the app) but a different domain for each subdomain rails app. The key is to set these up through the BlueHost cPanel subdomain menu.

    Hope this helps.

    Terri

  4. #64
    Join Date
    Aug 2008
    Posts
    3

    Unhappy Does not work at all...

    I followed the tutorial step by step and it does not work. All I'm getting is a 404 code...

    I get something - the usual Ruby welcome page - when I log on to first.mydomainname.com, but a 404 when I try http://first.mydomainname.com/first/view

    Help! Please!

  5. #65
    Join Date
    Sep 2008
    Posts
    9

    Default

    Quote Originally Posted by rando View Post
    I've finally gotten the time to update the bluehost ruby on rails knowledge base article. This is much more comprehensive than the old version and holds your hand the whole way through, even if you're not a programmer (though it does help to be a programmer if you would like to write web applications using ruby on rails ). Using this tutorial you should be able to set up a basic ruby on rails application, and assuming you're a decent programmer, you'll be well on your way to developing a more full-featured ruby on rails application.



    http://helpdesk.bluehost.com/kb/inde...&root=8&id=232
    It has been working perfectly for me, just follow the tutorial and be sure to read every instructions carefully.. if you make a mistake redo the steps and it will work for you eventually.

  6. #66
    Join Date
    Sep 2008
    Posts
    1

    Default Solution to 404 in the .htaccess file

    I have been having the same problem as many of the posters above -- first.mydomain.com/first/view has been returning 404 error after following the Bluehost tutorial here.

    Finally, I found a solution having to do with the .htaccess file -- check it out here: http://helpdesk.bluehost.com/kb/inde...od_id=2&id=562

    Very frustrating that this isn't linked from the initial RoR Setup Guide that Bluehost has, as many users (like me) would probably have benefited from it.

  7. #67
    Join Date
    Aug 2008
    Posts
    1

    Default

    Quote Originally Posted by davidpots View Post
    I have been having the same problem as many of the posters above -- first.mydomain.com/first/view has been returning 404 error after following the Bluehost tutorial here.

    Finally, I found a solution having to do with the .htaccess file -- check it out here: http://helpdesk.bluehost.com/kb/inde...od_id=2&id=562

    Very frustrating that this isn't linked from the initial RoR Setup Guide that Bluehost has, as many users (like me) would probably have benefited from it.
    Where do I put this /htaccess file? If I put one in the way the helpdesk article suggested into my base public_html folder, a normal php site of mine returned a "rails failed to execute" error....

    Thanks

Posting Permissions

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