Hi, I''ve been interested in looking into ROR and finally am faced with a project where I think it may benefit me to learn it. I''ve installed Ruby 1.8 and went through the how to program tute. I''m now ready to install rails but it''s somewhat confusing. I downloaded the latest "gem" from gemrails. The instructions on this page: http://wiki.rubyonrails.com/rails/show/GettingStartedWithRails Say to do this: gem update gem install rails Holy cow man! Where do I expand the zip file to? Where do I run this command at? Either I''m somewhat stupid or that''s a really obscure instruction! Also, I''d like opinions on if you think ROR is a good platform for this project. It''s a small consulting company that needs a site where they can post news and events, keep pages current and have a small section for clients where they can interact with some files. So it''s a bit more than a blog. Would the time I''d need to spend learning ROR be worth it in the long run vs. doing it in plain old php/mySQL? My experience is 9 years in web development, I''m an average programmer, I know basic SQL and basic PHP. I know intermediate to advanced JavaScript and I''m familiar with OO concepts. Thanks in advance. Tom http://www.pixelmech.com/ Melissa: Ace, Where are you? Ace Ventura: I''m in Psychoville and Finkle''s the Mayor.
On Mon, 18 Jul 2005, Tom Dell''Aringa wrote:> gem update > gem install rails > > Holy cow man! Where do I expand the zip file to? Where do I run this > command at? Either I''m somewhat stupid or that''s a really obscure > instruction!What operating system are you running? -- _Deirdre web / blog: http://deirdre.net/ yarn: http://fuzzyorange.com cat''s blog: http://fuzzyorange.com/vsd/ "Memes are a hoax! Pass it on!"
--- Deirdre Saoirse Moen <deirdre-mzk6fgDMp2XR7s880joybQ@public.gmane.org> wrote:> On Mon, 18 Jul 2005, Tom Dell''Aringa wrote: > > > gem update > > gem install rails > > > > Holy cow man! Where do I expand the zip file to? Where do I run this > > command at? Either I''m somewhat stupid or that''s a really obscure > > instruction! > > What operating system are you running?Windows Server 2003 at work, XP Home edition at home. Tom http://www.pixelmech.com/ Melissa: Ace, Where are you? Ace Ventura: I''m in Psychoville and Finkle''s the Mayor.
Oh, dear. Here, have a coffee and a seat and I''ll explain what''s going on with those instructions: The recommended way to install Rails is via a Ruby network installer called RubyGems, and those directions assume that you already have RubyGems and can just type those commands in on your UN*X command line and "get Rails". So the first step would be to either figure out how to install a current copy of RubyGems (which will require Ruby 1.8.4, as will all of Rails) or you can use a webhost that supports it out of the box. I currently use TextDrive for my personal stuff and Dreamhost for some client sites, both offer solid Rails support. If you''re not on a Rails-friendly host and can''t switch, you''ll need to do some installing, which means that you need to have the right privileges on your hosting server. It is possible to install Rails without RubyGems, but there is little or no documentation for it. Basically the author of those install directions assumes that you''re an experienced Rubyist who knows about Gems and would prefer a gem-based install to building the source. - DD On 7/18/05, Tom Dell''Aringa <pixelmech-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > I''ve been interested in looking into ROR and finally am faced with a project where I think it may > benefit me to learn it. > > I''ve installed Ruby 1.8 and went through the how to program tute. I''m now ready to install rails > but it''s somewhat confusing. I downloaded the latest "gem" from gemrails. The instructions on this > page: > > http://wiki.rubyonrails.com/rails/show/GettingStartedWithRails > > Say to do this: > > gem update > gem install rails > > Holy cow man! Where do I expand the zip file to? Where do I run this command at? Either I''m > somewhat stupid or that''s a really obscure instruction! > > Also, I''d like opinions on if you think ROR is a good platform for this project. It''s a small > consulting company that needs a site where they can post news and events, keep pages current and > have a small section for clients where they can interact with some files. So it''s a bit more than > a blog. Would the time I''d need to spend learning ROR be worth it in the long run vs. doing it in > plain old php/mySQL? My experience is 9 years in web development, I''m an average programmer, I > know basic SQL and basic PHP. I know intermediate to advanced JavaScript and I''m familiar with OO > concepts. > > Thanks in advance. > > Tom > > > http://www.pixelmech.com/ > > Melissa: Ace, Where are you? > Ace Ventura: I''m in Psychoville and Finkle''s the Mayor. > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- === === === === === === === === === === === ==ddemaree-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://practicalmadness.com/
On Mon, 18 Jul 2005, Matthew Margolis wrote:> All he needs to do is go here > http://rubyforge.org/frs/?group_id=126&release_id=2471 and download > rubygems as a zip and install it according to the instructions in its > readme. Then you just run the gem update and gem install rails commands.See, one of the problems of a zip (or tarball) with a readme inside that *isn''t* also on the site where one downloaded is that one doesn''t necessarily know what to do with it (especially if one isn''t used to command-line stuff). I especially like the ones that say "Untar this in directory foo." Right then. -- _Deirdre web / blog: http://deirdre.net/ yarn: http://fuzzyorange.com cat''s blog: http://fuzzyorange.com/vsd/ "Memes are a hoax! Pass it on!"
David Demaree wrote:>Oh, dear. Here, have a coffee and a seat and I''ll explain what''s going >on with those instructions: > >The recommended way to install Rails is via a Ruby network installer >called RubyGems, and those directions assume that you already have >RubyGems and can just type those commands in on your UN*X command line >and "get Rails". So the first step would be to either figure out how >to install a current copy of RubyGems (which will require Ruby 1.8.4, >as will all of Rails) or you can use a webhost that supports it out of >the box. I currently use TextDrive for my personal stuff and Dreamhost >for some client sites, both offer solid Rails support. If you''re not >on a Rails-friendly host and can''t switch, you''ll need to do some >installing, which means that you need to have the right privileges on >your hosting server. > >It is possible to install Rails without RubyGems, but there is little >or no documentation for it. Basically the author of those install >directions assumes that you''re an experienced Rubyist who knows about >Gems and would prefer a gem-based install to building the source. > >- DD > > > >On 7/18/05, Tom Dell''Aringa <pixelmech-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > > >>Hi, >> >>I''ve been interested in looking into ROR and finally am faced with a project where I think it may >>benefit me to learn it. >> >>I''ve installed Ruby 1.8 and went through the how to program tute. I''m now ready to install rails >>but it''s somewhat confusing. I downloaded the latest "gem" from gemrails. The instructions on this >>page: >> >>http://wiki.rubyonrails.com/rails/show/GettingStartedWithRails >> >>Say to do this: >> >>gem update >>gem install rails >> >>Holy cow man! Where do I expand the zip file to? Where do I run this command at? Either I''m >>somewhat stupid or that''s a really obscure instruction! >> >>Also, I''d like opinions on if you think ROR is a good platform for this project. It''s a small >>consulting company that needs a site where they can post news and events, keep pages current and >>have a small section for clients where they can interact with some files. So it''s a bit more than >>a blog. Would the time I''d need to spend learning ROR be worth it in the long run vs. doing it in >>plain old php/mySQL? My experience is 9 years in web development, I''m an average programmer, I >>know basic SQL and basic PHP. I know intermediate to advanced JavaScript and I''m familiar with OO >>concepts. >> >>Thanks in advance. >> >>Tom >> >> >>http://www.pixelmech.com/ >> >>Melissa: Ace, Where are you? >>Ace Ventura: I''m in Psychoville and Finkle''s the Mayor. >> >>_______________________________________________ >>Rails mailing list >>Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>http://lists.rubyonrails.org/mailman/listinfo/rails >> >> >> > > > >All he needs to do is go here http://rubyforge.org/frs/?group_id=126&release_id=2471 and download rubygems as a zip and install it according to the instructions in its readme. Then you just run the gem update and gem install rails commands. -Matthew Margolis
Deirdre Saoirse Moen wrote:> On Mon, 18 Jul 2005, Matthew Margolis wrote: > > >>All he needs to do is go here >>http://rubyforge.org/frs/?group_id=126&release_id=2471 and download >>rubygems as a zip and install it according to the instructions in its >>readme. Then you just run the gem update and gem install rails commands. > > > See, one of the problems of a zip (or tarball) with a readme inside that > *isn''t* also on the site where one downloaded is that one doesn''t > necessarily know what to do with it (especially if one isn''t used to > command-line stuff). > > I especially like the ones that say "Untar this in directory foo." > > Right then. >Something you''ll find in Open Source Software (OSS) is that many times the source code (including the README) can be viewed by a web browser. I hope you installed Ruby 1.8.2 (1.8.4 doesn''t exist) from the One-Click Installer found at http://rubyforge.org/frs/download.php/4174/ruby182-15.exe. If not, I suggest you undo whatever you did before and install Ruby this way. Pay attention to the directory it was installed into, you''ll need that in the next step. It makes life easier if you make sure that Ruby''s "bin" folder is in the Path. In XP, go to the Control Panel -> System -> Advanced -> Environment Settings and find the "Path" variable in the lower box. Let''s say that the installer put Ruby in "C:\ruby" - you want to make sure that "C:\ruby\bin" (or "whatever\install\path\root" + "\bin") is somewhere in the "Path" value. Another thing you''ll find in OSS projects is the *.zip or *.tar.gz or *.tgz or *.tar.bz2 compressed archive format of distribution. I personally use the latest tools from http://www.7-zip.org/ to handle all these formats and more. It''s quite common to need to "unzip" these compressed archives to get the files you want. After you unzip the RubyGems and run the "installer" ("ruby setup.rb" in a command prompt window from the root of the unzipped folder), the "gem" command should Just Work. Now you''re ready for "gem install rails". Cheers, Kevin P.S. You might want to google for "command prompt power tweak" to help with all these command line things that have to be in a certain folder to work correctly.