I am using WAMP(windows, Apache, mySQL and PHP) for my web development. So I have already MySQL and Apache working. Could any one tell me how to install Ruby on Rails on this environment? Can I just put ror in the root directory, www? A newbie needs your help. :-) -- 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 -~----------~----~----~----~------~----~------~--~---
Hi Elvis The fastest way to do RoR is to use InstantRails On Oct 7, 6:46 pm, Elvis Parsley <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I am using WAMP(windows, Apache, mySQL and PHP) for my web development. > So I have already MySQL and Apache working. Could any one tell me how to > install Ruby on Rails on this environment? Can I just put ror in the > root directory, www? > > A newbie needs your help. :-) > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---
Thanks, But I read somewhere that installing more than one mysql will not work. What worries me to install InstantRails will confrict with my present other installation. How to avoid it?? -- 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 -~----------~----~----~----~------~----~------~--~---
Elvis Parsley wrote:> Thanks, > > But I read somewhere that installing more than one mysql will not work. > What worries me to install InstantRails will confrict with my present > other installation. > > How to avoid it?? >Installing more than one MySQL works. It''s just that you will need to make sure that they start on different ports. In the case of Instantrails, in the directory X:\InstantRails\mysql there is a file called my.ini - add a line like this to it: port=3307 Note that 3306 is the default MySQL port; it must be set differently here for the one that you want to launch on a different port. That said, your Rails application will need to be adjusted to work with this. You will need to change config/database.yml to include the port number in it. You will need to do something like this: development: adapter: mysql database: app_development username: root password: host: localhost port: 3307 (note the port line) Cheers Mohit. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks Mohit for your tips. Does having two apache create any problem or any conflicts? -- 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 -~----------~----~----~----~------~----~------~--~---
Elvis Parsley wrote:> Thanks Mohit for your tips. > > > Does having two apache create any problem or any conflicts? > > >I don''t use Apache while I''m doing development. So, I usually don''t start the Apache server on the InstantRails. I use webrick/ mongrel (got by typing ruby script\server in the Rails application''s directory) and that starts on Port 3000. I guess it should be possible to start 2 Apache servers as long as they run on different ports. But, I haven''t tried that, so I''m not sure. Cheers Mohit. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 10/8/07, Elvis Parsley <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Thanks, > > But I read somewhere that installing more than one mysql will not work. > What worries me to install InstantRails will confrict with my present > other installation. > > How to avoid it??Ditch instant rails and use the one-click Ruby installer with your current mysql install (or preferrably postgresql or sqlite3..). Apache isn''t part of the RoR development environment anyway, and would only give you head aches. All you need to work with Rails is Ruby, RubyGems, a database and the rails- and db-connection gems. If you want the experience of setting up a ''production'' environment, use your existing apache install for that too. Stick with standalone webrick or mongrel for development, though. Regards, Isak> -- > 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 -~----------~----~----~----~------~----~------~--~---
Isak Hansen wrote:> On 10/8/07, Elvis Parsley <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: >> >> Thanks, >> >> But I read somewhere that installing more than one mysql will not work. >> What worries me to install InstantRails will confrict with my present >> other installation. >> >> How to avoid it?? > > Ditch instant rails and use the one-click Ruby installer with your > current mysql install (or preferrably postgresql or sqlite3..). > > Apache isn''t part of the RoR development environment anyway, and would > only give you head aches. All you need to work with Rails is Ruby, > RubyGems, a database and the rails- and db-connection gems. > > If you want the experience of setting up a ''production'' environment, > use your existing apache install for that too. Stick with standalone > webrick or mongrel for development, though. > > > Regards, > IsakI think the whole point of this thread was to ask how to do what you just said. I am having the same issue. I use WAMP for a couple of sites that are currently live on the net and would like to program one in Rails using the same files. I did the one click installer as well as installing gems and rails and I''m still having some issues with my applications. Is there a file where I need to set ruby to use that part of Wamp even though I''m running mongrel too... -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.