Looks like you are using Rails 3.
In that case, you should be specifying the gem dependency in your Gemfile.

Remove the lines you have added to your environment.rb or application.rb 
file and the following to your Gemfile

gem 'shoulda'

or better still, define it as a test environment dependency only, by adding 
this to your Gemfile:

group :test do
  gem 'shoulda'
end

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/vg8s_jBXWAsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to