Episode 1 - Bootstrapping a Rails app

Bddcasts

Click on image above for a preview

Released: Aug 21, 2009, Running time: 6 min

In this episode:

Bootstraping a Rails app. In this episode we get our environment set up. We generate a rails app, get our code cleaned up and pushed to github and install cucumber and rspec, making sure we can run features and specs.

Tags: rails, github

FREEWatch episode

Downloads

Item Size
Quicktime (MP4) 22.87 MB
iPhone 9.19 MB
  • Share

We set up the project that will become Brandizzle.

  1. Generate the Rails
  2. Initialize the Git repository, configure ignores, initial commit
  3. Push to GitHub
  4. script/generate rspec and cucumber
  5. Push to GitHub again

Check out episode 2 to see how we implement static pages with BDD.

Update:

  • (11 Sep 09) – Cleaned up the audio. We’ve had a lot of experience editing and you shouldn’t have the problems, especially around minute 3 that were there.

Screenshots

  • Vlcsnap-2009-08-21-17h49m48s166
  • Vlcsnap-2009-08-21-17h51m26s118
  • Vlcsnap-2009-08-21-17h52m05s2
  • Vlcsnap-2009-08-21-17h52m29s242

2 comments

This is a RailsCasts episode related to Cucumber. http://railscasts.com/episodes/155-beginning-with-cucumber

The RailsCasts episode is using “test.rb” to write all the “config.gem” stuff related to cucumber. But the Brandizzle is using “cucumber.rb”. What is “cucumber.rb” first of all? What’s the difference?

In reply to takaaki

This is a RailsCasts episode related to Cucumber. http://railscasts.com/episodes/155-beginning-with-cucumber

The RailsCasts episode is using “test.rb” to write all the “config.gem” stuff related to cucumber. But the Brandizzle is using “cucumber.rb”. What is “cucumber.rb” first of all? What’s the difference?

At some point, the folks making Cucumber decided it was best to run cucumber under another Rails environment.

Before that, “config/environments/test.rb” was used by both by TestUnit/RSpec and by Cucumber. However, now, when you run “script/generate cucumber”, you get a new environment created with the configuration in “config/environments/cucumber.rb”.

Commenting is disabled.