![]() |
|
|
#1 |
![]() |
Ruby app
Hi all!
I have to install a ruby application on a linux server using a windows 7 OS How can i do that? I have never used ruby and what is worse, there are no videos on youtube to explain how to install files on a server, for a ruby app. Anyone help! Last edited by Aleksander; Jul 26, 2012 at 10:33 AM. |
|
|
|
|
|
#2 |
![]() Join Date: Oct 2009
Location: Belgium
Posts: 153 (0.12/day)
Thanks: 40
Thanked 23 Times in 21 Posts
|
You can use putty for accessing the server and give in commands.
For one time file transfers, I recommend filezilla or winscp. Other than that, I've only used Ruby (on rails) for my bachelor test and I didn't like it. Maybe this will help: http://ruby.about.com/od/tutorials/h...allrubylin.htm
__________________
Nazgul: Lenovo Thinkpad X121e, 11.6", Intel Core i3 2367M, 8GB DDR3, Intel HD 3000, 320GB HDD |
|
|
|
| The Following User Says Thank You to CounterZeus For This Useful Post: |
|
|
#3 |
![]() |
It is not that i cant access the server.
I have all the files, but there is no index! How can i install it when there is no file like the index.php ![]() With terminal wndow it referrs to the ruby terminal or cmd? And ruby seems really stupid... Rakefile lol! Last edited by Aleksander; Jul 26, 2012 at 10:44 AM. |
|
|
|
|
|
#4 |
![]() Join Date: Jan 2012
Location: Dover, New Hampshire, USA
Posts: 4,232 (8.87/day)
Thanks: 1,259
Thanked 1,309 Times in 973 Posts
|
Ruby web applications don't work like PHP where a script gets run over the internet. If you want to host a ruby app, you really need to use RoR (Ruby on Rails,) which a lot of people don't like or something like Sinatra or Rack.
Sinatra is pretty simple, maybe that will be more like what you're looking for. Keep in mind that Sinatra is web app and web server all in one. Be careful what you say about ruby, if you call it better than PHP a lot of people might disown you. ![]() http://www.sinatrarb.com/ Edit: If you want to use Rails and Apache, maybe something like this is what you're looking for: http://www.modrails.com/
__________________
MyHeat Last edited by Aquinus; Jul 26, 2012 at 11:21 AM. |
|
|
|
| The Following User Says Thank You to Aquinus For This Useful Post: |
|
|
#5 |
![]() |
So how am i supposed to get it work on the server?
It has already a ruby on rails app creator which i created (just after a click it creates it itself). I put in all files. I run the url and it says it cannot be found! Also, a program which is nearly impossible to find any tutorials and other resources to get you started seems a HUGE dissapointment. How can the people support it when there are no tutorials? LOL Last edited by Aleksander; Jul 26, 2012 at 11:29 AM. |
|
|
|
|
|
#6 |
![]() Join Date: Jan 2012
Location: Dover, New Hampshire, USA
Posts: 4,232 (8.87/day)
Thanks: 1,259
Thanked 1,309 Times in 973 Posts
|
I personally don't have experience with RoR, I've heard nasty things but maybe this will help you out. It sounds like you've figured half of it out on your own anyways.
http://guides.rubyonrails.org/getting_started.html
__________________
MyHeat |
|
|
|
| The Following User Says Thank You to Aquinus For This Useful Post: |
|
|
#7 |
![]() |
The files are all ready! It is a self-made script. The only problem is where can i open it?
Even in a local machine i cannot open it! It wont recognize it. |
|
|
|
|
|
#8 | ||
![]() Join Date: Jan 2012
Location: Dover, New Hampshire, USA
Posts: 4,232 (8.87/day)
Thanks: 1,259
Thanked 1,309 Times in 973 Posts
|
Quote:
Quote:
__________________
MyHeat |
||
|
|
|
|
|
#9 |
![]() |
I am trying to do it, but it wont work again.
So difficult :S |
|
|
|
|
|
#10 |
![]() |
Anyone can help?
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ATI Ruby Case | u2konline | Cases, Modding & Electronics | 5 | Feb 9, 2009 07:28 PM |
| [Case Gallery] RUBY, RUBY, RUBY, RUBY (HD3870 X-Fire Rig) | HookeyStreet | Case Mod Gallery | 38 | Jan 4, 2008 11:25 AM |
| Ruby over at Youtube | Bastieeeh | News | 14 | Mar 21, 2007 07:51 PM |
| Ruby. | technicks | Games | 8 | Mar 21, 2007 12:56 AM |
| Project: Blue Ruby | Juggernaut1987 | Project Logs | 11 | Jun 18, 2006 12:22 PM |