-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I have no prior experience at all of ruby. I am not interested in ruby (and so have no knowledge of rails etc) as such but am using puppet to manage a group of servers. I have written some modules and the rspec-puppet system looks like it would be very useful.
However, I cannot get rspec-puppet…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When I do
rspec spec
in my rails project, I get
No examples were matched. Perhaps {:if=>#<Proc:0x0000010126e998@/Users/samliu/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rspec-core-2.3.1/lib/rspec/core/configuration.rb:50 (lambda)>, :unless=>#<Proc:0x0000010126e970@/Users/samliu/.rvm/gems/ruby-1…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
After installing rspec/ZenTest and running autospec, it runs my specs the first time as expected. After making a change to one of my specs and upon running the second time I get the following results:
/usr/bin/ruby1.8 /usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec --autospec /home/schambers/Projects/notebook/spec/models/user_spec…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to install RSpec as a gem after having it installed as a plugin. I've gone ahead and followed the directions found here http://github.com/dchelimsky/rspec-rails/wikis for the section titled rspec and rspec-rails gems. When I run ruby script/generate rspec, I get the error Couldn't find…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I'm following the Rails Tutorial by Michael Hartl and I'm getting this error when I run.
bundle exec rspec spec/requests/static_pages_spec.rb
Invalid gemspec in [/Users/chrishuang02/.rvm/gems/ruby-1.9.3-p125@rails3tutorial2ndEd/specifications/annotate-2.4.1.beta1.gemspec]: invalid date format in…
>>> More