Closed maca closed 12 years ago
I am trying to use Steak with a Sinatra app and I get this error on requiring steak:
/Users/vermelho/.rvm/gems/ruby-1.9.2-p180/gems/rspec-rails-2.6.1/lib/rspec-rails.rb:3:in `module:Rails': uninitialized constant Rails (NameError)
Yes, as noted in the README, Steak 2 is tied to Rails 3. For Rails 2 or non-rails apps use just Capybara or Steak 1.
I am trying to use Steak with a Sinatra app and I get this error on requiring steak:
/Users/vermelho/.rvm/gems/ruby-1.9.2-p180/gems/rspec-rails-2.6.1/lib/rspec-rails.rb:3:in `module:Rails': uninitialized constant Rails (NameError)