SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict picasso-trigger's Avatar
    Join Date
    Dec 2003
    Location
    somewhere out there
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Want to play with Ruby, can it co-exist on a dev server with apache/php?

    hello,

    i'm gonna start playing with Ruby and I have a question. I code in PHP/MySQL and Ruby sounds pretty awesome ... but without disturbing my workflow and not screwing up my local dev box, can i run both Ruby and my Apache/PHP?

    they don't need to run at the same time, i use WAMP 5 for my dev server and it's not on autostart. so even if i can't run them at the same time, can i shut one set of services down and then launch the other?

    does the apache environment get all screwed up?

    i run on win xp for my dev box.
    _________________________

  2. #2
    SitePoint Wizard samsm's Avatar
    Join Date
    Nov 2001
    Location
    Atlanta, GA, USA
    Posts
    5,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    script/server launches a standalone webserver that generally works fine for development. Most likely you won't have to touch Apache, and both can be running at the same time.
    Using your unpaid time to add free content to SitePoint Pty Ltd's portfolio?

  3. #3
    SitePoint Addict
    Join Date
    Jan 2006
    Posts
    268
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you don't even need to do that though..
    I've got both php and ruby running just fine through apache.
    Just call:
    rails projectname
    inside of your apache's web root and make sure your apache install has ruby enabled, and you'll be fine.
    If you give someone a program,
    you will frustrate them for a day;
    if you teach them how to program,
    you will frustrate them for a lifetime.

  4. #4
    SitePoint Wizard samsm's Avatar
    Join Date
    Nov 2001
    Location
    Atlanta, GA, USA
    Posts
    5,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by pjleonhardt View Post
    you don't even need to do that though..
    I've got both php and ruby running just fine through apache.
    Just call:
    rails projectname
    inside of your apache's web root and make sure your apache install has ruby enabled, and you'll be fine.
    Really? I'd expect the routes not to work correctly without at least a little virtual host configuration.
    Using your unpaid time to add free content to SitePoint Pty Ltd's portfolio?


Bookmarks

Posting Permissions

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