Snaggy
2007-Oct-02 20:38 UTC
ruby servers and command line and gems... what''s that! (I''m a php guy)
I''m used to working in php, where I have my .php files and all I have to do is put them in a www directory served by apache, or upload them to a php host. Now I''m trying ruby and RoR and first I discover they don''t use apache, then that there are 3 servers, webrick mongrel an lighthttpd, which I can''t really understand. Second, it''s full of command lines, what for? I got no cl in php... and gems too... well I think I get it here, they''re extensions, "nicely" installed... (I don''t see the point in installing anyway, shouldn''t a require do the trick?) I love ruby syntax, but prefere php for the reasons I told, probably just because I can''t understand them.. anyway is it possible to work in ruby as I would in php? Using apache and that''s it? I''ve been trying the camping framework since rails was getting to big and powerful for my little app, but I can''t get its stupid server to run. I''d like to simply copy a folder in a www directory and query the index.rb file.... I''m talking to much, sorry... bye! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Snaggy
2007-Oct-02 21:04 UTC
Re: ruby servers and command line and gems... what''s that! (I''m a php guy)
Hey I found something interesting! I just realised a major difference between php and ruby: ruby han no opening tags! That means It wouldn''t work like php... But I found this eRuby project that seems cool, it uses apache and seems to work just like php does. Am I right? This might be the right way to go then! (only problem then would be find a host, wouldn''t it..) bye --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Daniel Waite
2007-Oct-02 21:56 UTC
Re: ruby servers and command line and gems... what''s that! (
Snaggy wrote:> I''ve been trying the camping framework since rails was getting to big >and powerful for my little app, but I can''t get its stupid server to > run. I''d like to simply copy a folder in a www directory and query the > index.rb file....Hi Snaggy. Welcome to Rails. Sorry your journey has been frustrating thus far; I hope it gets better. If you''re serious about learning Rails, I''d strongly recommend you pick up Agile Web Development with Rails 2nd edition. You can get a PDF copy for $23.50 via the Pragmatic Programmers: http://www.pragmaticprogrammer.com/titles/rails/index.html That should get you well beyond what you''re probably doing with PHP, and if you have any questions along the way, feel free to ask. - Rabbit -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---