UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Web Hosting and Domains > Ruby on Rails

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 31-05-2007, 19:59
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,771
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default Ruby on Rails forum

Its time for everyone to look at Ruby on Rails now. We can no longer stay untouched by this wave created by RoR. cPanel has included everything that one needs to deploy Ruby on Rails applications and you get more than 2000 Gems to install from cPanel.

Now you can install Gems from control panel like perl and php pear modules. I hope this section of our forum helps webmasters to gain expertise in Ruby on Rails Development.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 31-05-2007, 20:18
DPS Computing's Avatar
Premium Member
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 5,611
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

Cool. I think it is a great idea to dedicate a part of the forum to this.

I have seen it in control panel but have never been quite sure how to do things / what to use it for.

I'm glad there is this part of the forum now so I can ask specific questions about it and get help on it .
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - New site / new polls / new stories! With many more to follow!
http://djdavid.dpscomputing.com (My DJ Website) - Updated for Christmas 08!
NEW LAUNCH! http://davidsmith.dpscomputing.com (My Personal Website) - Temporarily Unavailable .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-06-2007, 07:33
Premium Member
 
Join Date: May 2006
Location: Cambridgeshire
Posts: 425
Default

Stupid question, but can someone summaries what Ruby on Rails is? I keep thinking of trains and mining when I hear of it, though I gather it's some type of coding language. Can anyone recommend some website hostings for examples of it's useage and further reading?
__________________
If it ain't broke continue to fix it until it is.
Some cheap plugs... ...IkonForums... ...StNeotsFC... ...Riverside Theatre Company
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-06-2007, 09:54
paul's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Virtual Private Server
Posts: 1,984
Default

Quote:
Originally Posted by Eidolon View Post
Stupid question, but can someone summaries what Ruby on Rails is? I keep thinking of trains and mining when I hear of it, though I gather it's some type of coding language. Can anyone recommend some website hostings for examples of it's useage and further reading?
Have a look on this;

http://blog.eukhost.com/2006/09/30/ruby-on-rails/
You can find there few link as well through comments which might be useful for further reading.
__________________
OrganizeOne
Darkness does not exist, it is just absence of Light..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-06-2007, 15:42
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,771
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

I would suggest you to look at www.rubyonrails.org

They have managed to establish very well in last couple of months. Ruby on Rails is much more flexible than php and I am not afraid to compare it with Perl.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-06-2007, 16:15
DPS Computing's Avatar
Premium Member
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 5,611
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

Are there plans to have RoR available on all shared servers? - It's just I am informed that I would have to change server to have access to it! (Which support said wouldn't be a problem ). However if its due to be installed on all shared servers it would be pointless making more work for support and getting it transferred.

Thank you in advance!
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - New site / new polls / new stories! With many more to follow!
http://djdavid.dpscomputing.com (My DJ Website) - Updated for Christmas 08!
NEW LAUNCH! http://davidsmith.dpscomputing.com (My Personal Website) - Temporarily Unavailable .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-06-2007, 22:16
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,771
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

as per my knowledge we have enabled RoR on most of the shared servers. If its not there on some of the servers then you can have our support team to install it as it is officially included by cPanel now like perl scripts and php modules.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-06-2007, 15:39
DPS Computing's Avatar
Premium Member
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 5,611
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

Apparently not available on a few of them but quite a few servers have it installed .
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - New site / new polls / new stories! With many more to follow!
http://djdavid.dpscomputing.com (My DJ Website) - Updated for Christmas 08!
NEW LAUNCH! http://davidsmith.dpscomputing.com (My Personal Website) - Temporarily Unavailable .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 03-06-2007, 20:41
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,771
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

Quote:
Originally Posted by DPS Computing View Post
Apparently not available on a few of them but quite a few servers have it installed .
I'll have someone to go through all servers and install RoR on those which are missing it.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 03-06-2007, 20:45
DPS Computing's Avatar
Premium Member
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 5,611
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

Quote:
Originally Posted by eukhost.com View Post
I'll have someone to go through all servers and install RoR on those which are missing it.
Cool, seems like a good idea - RoR seems to have a lot of potential!
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - New site / new polls / new stories! With many more to follow!
http://djdavid.dpscomputing.com (My DJ Website) - Updated for Christmas 08!
NEW LAUNCH! http://davidsmith.dpscomputing.com (My Personal Website) - Temporarily Unavailable .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 03-07-2007, 10:48
Junior Member
 
Join Date: Jun 2007
Posts: 10
Default Shebang

Can anyone tell me what the Shebang is for EUKhost?

I've tried

#!/usr/bin/env ruby

And can anyone help me with a very simple program to make sure I understand how the system works.

I just want ot print out 'hello'

So that should be?

puts 'hello'

Yes?

So I create a ruby program

#!/usr/bin/env ruby
puts 'hello'

call it hellothere.rb

upload it

Should it work like that?

Do I need to encapsulate it within an html file

I also tried

#!/usr/bin/env ruby
<%= puts 'hello'%>

Also does not work - Server error 500
And Error 400 - file not found.

Can anyone help?

Please??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 26-07-2007, 10:21
Member
 
Join Date: Apr 2007
Posts: 44
Default

This is fantastic.

I had been keen to get some ruby on rails stuff going on my shared server but it wasn't available when I signed up. Great job on setting it up Eukhost, I'll have a play with it later when I get a chance.

To the what is RoR questions:

Ruby is an object oriented programming language developed in Japan in the 1990's.
Rails is a dynamic web website hosting development framework built in Ruby, supporting things like javascript and a nice object reference model.

Ruby on Rails is the combination of the two, which allows you to develop nice database driven dynamic web sites/applications, starting with solid framework. It's akin to building a php application with a whole load of standardised third party modules that handle all the underlying stuff (like connections to a database) for you, as well as many more things. Only Ruby is a nicer language (IMHO) than php.

As people have said look at the official website hosting for more info, but hopefully this gives you a quick overview. I'm not a very experienced web developer though, so consider that when you read what I have written.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 27-07-2007, 12:41
DPS Computing's Avatar
Premium Member
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 5,611
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

Thanks for that nice little intro Andrew - it saves searching the official website hosting for it .
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - New site / new polls / new stories! With many more to follow!
http://djdavid.dpscomputing.com (My DJ Website) - Updated for Christmas 08!
NEW LAUNCH! http://davidsmith.dpscomputing.com (My Personal Website) - Temporarily Unavailable .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 24-03-2008, 15:45
Junior Member
 
Join Date: Jun 2007
Posts: 10
Default Deploying Rails on Eukhost

It's been some time since anyone posted to this forum, so I wondered if there was anyone trying to do what I'm trying to do.

I've been playing around with Ruby on Rails for a while now and would like to see if there are really any valid uses for it. After all the promises are great, that it will be agile and it appears that it would enable someone to produce a basic website hosting application very quickly.

However, I have yet to see one. And yet to figure out how to do it. People tell me their web site hosting is running on Ruby, but when you check it out, ou see little .php or .asp signs that it is not.

So what I wondered is whether anyone using Eukhost servers is running a production version of their website hosting day to day and if they can give me any pointers as to how to get into the production mode.

I know about making sure 'production' database is set up correctly in 'database.yml'
I know about running ruby script/server -e production

I even know about uncommenting the variable in Environment.rb to
ENV['RAILS_ENV'] ||= 'production'

I have heard mutterings about running the rails app within 'public_html' folder and have tried that too.

But none of my migrations have affected the 'production' database - so I assume I'm not running in 'production'.

Is there anyone who can give me some simple pointers.

Too much of the documentation deals with 'installation', 'gems'(what are they?) and various other elements involved in setting rails up. I assume I don't need to do any of that, as Eukhost have already done it.

But how do I make the best use of what appears a very promising framework?

Help!!

Brian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 20-05-2008, 09:28
Member
 
Join Date: Apr 2007
Posts: 44
Default

Hi Brian,

Deploying RoR applications is still a tricky thing to do, I'm not sure how you would do it on Eukhost shared hosting.

Sounds like you're doing everything right except the actual migration command.
The line in environment.rb is only telling the server which environment to run in. This then looks up your /config/environments/production.rb file, which tells it things such as whether or not to use caching.

When you run the migrations are you running it from ssh?

If so you need to specify the environment just before you run the migration, e.g.:
(within the applications root directory - not the /app folder, one higher than that)
rake environment RAILS_ENV=production db:migrate

Lots of information on migrations here:
UsingMigrations in Ruby on Rails

I did have an app working on Eukhost shared hosting, but I no longer have an account here. Hopefully I will again soon as it looks like I may have some new web development work coming in soon. (Outside of my full time job)

I seem to remember there being some useful stuff in Cpanel to control rails apps though, so you may not need to do things in the command line.

For reference I currently have one commercial application in development with work, it's nearly ready to go, but I am only responsible for the programming, someone else organised the host and set up the deployment etc. We're using a VPS Hosting and deploying via capistrano - which is very useful in that situation.

Good luck with your rails apps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 19:09.

 

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk