Navigate
Home
ArticleWiki
Forum
Journal
Search
Newsletter
Links
Tech News
expertsrt.com
Welcome Guest.
Username:

Password:

Remember me

SSH and RubyOnRails
Welcome, Guest. Please login or register.
December 01, 2008, 06:46:37 PM
11304 Posts in 1248 Topics by 496 Members
Latest Member: teentiodo
Experts Round Table Network  |  Webservers  |  Apache  |  SSH and RubyOnRails « previous next »
Pages: [1]
Author Topic: SSH and RubyOnRails  (Read 437 times)
klitscher

Offline Offline

Posts: 24


« on: July 13, 2006, 04:35:09 PM »

Hello,  a couple of questions that may or may not be related...

First, I am trying to run a Ruby on Rails script from sourceforge.net on my webserver which supports RoR...but I've never used RoR before, and thought that it worked just like PHP, but apparently it does not...  I need to run the setup.rb script, but when i type it into the browser I just get the file as it would appear in a text editor, so I thought that I would have to run it on SSH to get it setup, but I have never used SSH before...

I downloaded putty (I'm on a windows XP box - client - and my server is Linux/apache) but have been unable to connect and probably wouldn't know what to do once I did.  Any help on either or both of these questions would be helpful, as all the googling has left me confused and 48 hours older.   Thanks in advance.

Ken
Posted on: July 13, 2006, 01:49:28 PM
Okay, I got help from my server tech support on SSH and can connect now, but still no progress on RoR...any thoughts?

Logged
nicholassolutions
Administrator
*
Offline Offline

Posts: 133



WWW
« Reply #1 on: July 13, 2006, 08:47:32 PM »

I've never used RoR, so I can't help you there....but I spend a large part of my time in front of a PuTTY terminal. Here's a quick how-to on connecting:

1) open putty.exe
2) In the host name field (the cursor will be there initially), type you server domain name or IP address
3) for the port, choose 22 if it's not already that
4) click OK
5) the screen will initially be back. The you'll get a prompt that says something like "login as: " (depends on the server) Type your account username and hit enter
6) Then it will say "[your_username_here]'s password: " This trips up a lot of newbies. Type in your password, and hit enter. YOU WILL  SEE NEITHER YOUR PASSWORD NOR **** WHILE YOU TYPE
7) After you enter your pass, you'll get a command prompt, much like the one from windows' cmd.exe. Simple Linux commands are similar, but not identical. Here's a tutorial on getting started with the command prompt:
http://gd.tuwien.ac.at/linuxcommand.org/learning_the_shell.php

Hope that helps.  You can try private messaging Srirangan about looking at your RoR question -- he's got some experience using that technology.

-Matt
Logged
klitscher

Offline Offline

Posts: 24


« Reply #2 on: July 13, 2006, 09:48:55 PM »

Matt,

Thanks for the help...I did get putty figured out...i contacted my server tech support...i had to connect to a different port

As for rails, well, the reason that wasn't working was because it wasn't setup on the server...so he set it up for me and i'm good to go...well, other than the fact that I can't get the project running, but that's a question for the developers...thanks again.

Ken
Logged
Pages: [1]
« previous next »
    Jump to: