NoMethodError: undefined method ‘describe’ for main:Object when running rspec test in TextMate

I am trying to run rspec test but I can’t seem to get it to work on my
Mac?

The player_spec.rb file contains:

require ‘player’

describe Player do

end

All other related files are in the same folder

Running rspec player_spec.rb from the command line generates the
following errors:

/Users/lloyd_treleven/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require': cannot load such file -- player (LoadError) from /Users/lloyd_treleven/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
from /Users/lloyd_treleven/studio_game/player_spec.rb:1:in <top (required)>' from /Users/lloyd_treleven/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.10.1/lib/rspec/core/configuration.rb:746:inload’
from
/Users/lloyd_treleven/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.10.1/lib/rspec/core/configuration.rb:746:in
block in load_spec_files' from /Users/lloyd_treleven/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.10.1/lib/rspec/core/configuration.rb:746:inmap’
from
/Users/lloyd_treleven/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.10.1/lib/rspec/core/configuration.rb:746:in
load_spec_files' from /Users/lloyd_treleven/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.10.1/lib/rspec/core/command_line.rb:22:inrun’
from
/Users/lloyd_treleven/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:69:in
run' from /Users/lloyd_treleven/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:10:inblock in autorun’

I have the following rspec gem installed
rspec (2.10.0)
rspec-core (2.10.1)
rspec-expectations (2.10.0)
rspec-mocks (2.10.1)

Currently I have rvm 1.13.4 installed

Currently I am running ruby 1.9.3p194 (2012-04-20 revision 35410)
[x86_64-darwin10.8.0]

When I run the via textmate I get the following error message:

NoMethodError: undefined method ‘describe’ for main:Object

I installed the RSpec textmate bundle:

mkdir -p ~/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles
cd ~/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles
git clone git://github.com/rspec/rspec-tmbundle.git RSpec.tmbundle
osascript -e ‘tell app “TextMate” to reload bundles’

What I am doing wrong?