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.
FREEWatch episodeDownloads
| Item | Size |
|---|---|
| Quicktime (MP4) | 22.87 MB |
| iPhone | 9.19 MB |

2 comments
takaaki
10 months ago
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?
Istvan Hoka
9 months ago
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”.