To get aboard with Rails, install the ruby-rails package and its dependencies, then:
$ rails new testapp1 --skip-bundle
(files are installed)
$ cd testapp1
$ bundle install --local
(this will show that existing gems are being used)
$ rails server
(then point browser to http://localhost:3000/,From there on out, you're on your own. Enjoy the ride!
OR:)
$ unicorn_rails
(then point browser to http://localhost:8080/)
UPDATE: Well, that didn't take long. A security advisory was issued yesterday for Rails, so I have updated the Rails packages to 3.2.12 accordingly. The supported method for updating Rails apps for newer Rails versions is as follows:
- Open Gemfile in a text editor and update the version number following the gem 'rails' directive.
- Run bundle update --local to update the Gemfile.lock file. Existing gems should be found and used.
- Run rake rails:update to update configuration files, using the 'd' option to verify changes first.
2 comments:
Just want to thank you for maintaining all these ports--it must be a lot of work. Very nice to have this functionality with cygwin!
Can't believe, it works wonderfully!
Post a Comment