I had wanted to switch to Ruby 1.9 for my current project. I'm using a fairly minimal number of dependencies and didn't expect any problems. Unfortunately for what ever reason RSpec fails silently under Ruby1.9.1 but works properly on Ruby1.8.7 (at least on my machine). Since I don't have the time to track it down right now it looks like I'm reverting back to Ruby1.8.7 for the time being.
Hopefully I'll have time to dig into it later in the week.
Showing posts with label RSpec. Show all posts
Showing posts with label RSpec. Show all posts
Apr 26, 2009
Can't Use Ruby 1.9.1 Just Yet
Mar 23, 2009
Start a BDD Rails Project
I was starting a new rails project today that I plan on developing with Cucumber and RSpec. I quickly realized that even though there are tons of tutorials out there none seemed to really describe the process of initializing a new project. So here it is in a nutshell.
$ rails blog
$ cd blog
$ ./script/generate rspec
$ ./script/generate cucumber
$ rake db:migrate
At this point you should be able to do a 'rake', 'rake spec' or 'rake features' command and not get any errors.
Subscribe to:
Posts (Atom)