moonmaster9000/specdown — Issue #2: Load Error
Author: giuseppemodarelli
Created: 2012-03-03 20:49:20+00:00
State: open

Hi Matt

I get a LoadError when I add require "todo" to the specdown/env.rb file.
The file todo.rb is in the folder.

That's the folder's tree

Todo
specdown
env.rb
readme.markdown
todo.rb

This is the full trace

> /home/giuseppe/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in 'require': no such file to load -- todo (LoadError)
> from /home/giuseppe/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in 'require'
> from /home/giuseppe/Documents/LearningProjects/Todo/specdown/env.rb: 1 :in ''
> from /home/giuseppe/.rvm/gems/ruby-1.9.2-p290@global/gems/specdown-0.3.0/lib/specdown/command.rb:16:in 'load'
> from /home/giuseppe/.rvm/gems/ruby-1.9.2-p290@global/gems/specdown-0.3.0/lib/specdown/command.rb:16:in 'block in load_test_environment'
> from /home/giuseppe/.rvm/gems/ruby-1.9.2-p290@global/gems/specdown-0.3.0/lib/specdown/command.rb:15:in 'each'
> from /home/giuseppe/.rvm/gems/ruby-1.9.2-p290@global/gems/specdown-0.3.0/lib/specdown/command.rb:15:in 'load_test_environment'
> from /home/giuseppe/.rvm/gems/ruby-1.9.2-p290@global/gems/specdown-0.3.0/lib/specdown/command.rb: 4 :in 'execute'
> from /home/giuseppe/.rvm/gems/ruby-1.9.2-p290@global/gems/specdown-0.3.0/bin/specdown: 4 :in ''
> from /home/giuseppe/.rvm/gems/ruby-1.9.2-p290@global/bin/specdown:19:in 'load'
> from /home/giuseppe/.rvm/gems/ruby-1.9.2-p290@global/bin/specdown:19:in '

'

Thank you ;)