Presumably you’ve opened files in your editor already to write or edit code. Opening the file should be the same in whatever IDE as it is in MS Word. In Windows, it’s usually File menu, open, or Ctrl+O. I don’t think your issue is related to Ruby or Rails, though. You need to be comfortable with your tools if you intend to code with them.
The guides in guides.rubyonrails.org is for the stable rails and the one in edgeguides.rubyonrails.org is for rails master (edge) branch. There can be differences if your Rails version is different from the one assumed in guides.
Thanks Vijay and Nicolas, indeed, I uninstalled Railsinstaller which used Ruby 1.9 and Rails 3.2
(Then took a lengthy detour, following this page: Install Ruby on Rails · Mac · Complete Guide, trying Railsbridge Virtual Machine, installing VirtualBox 4.2, then Vagrant_1.2.7.msi - only it couldn’t locate the railsbridgeboston URL and since as suggested by Ruby on Rails Guides | GoRails
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-librarian-chef
produced some error followed by the touch command not being recognized, I gave up and uninstalled Vagrant and VirtualBox.)
Fine, I installed that, using port 81 for listening and 444 for access (instead of 80 and 443, respectively). It took some time, then passwords were removed from C:/Bitnam/rubystack-2.0.0-20/report.txt and stored elsewhere.
now running Rails 4.1.6, this finally worked:
opened Use Bitnami Ruby Stack for terminal prompt:
cd projects
rails new blog
cd blog/bin
rails server