My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 9: config.rb:10:in `+': can't convert nil into String (TypeError)
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by han.yuan, Oct 05, 2008

What steps will reproduce the problem?
1. Try to "run" anything... like App Server in Terminal


What is the expected output? What do you see instead?
Error with /Library/Application Support/TextMate/Bundles/RubyAMP.tmbundle/Support/lib/ruby_amp/config.rb:10:in `+': can't convert nil into String 
(TypeError) 

Looked at the code and it seems to be looking for rspec stories that do not exist?  Just a wild guess... something is either wrong with my setup or there 
are missing files in the repo?

What version of the product are you using? On what operating system?
Latest pull on 10/5/2008; OS X 10.5.5;

Please provide any additional information below.
/Library/Application Support/TextMate/Bundles/RubyAMP.tmbundle/Support/lib/ruby_amp/config.rb:10:in `+': can't convert nil into String (TypeError) 
from /Library/Application Support/TextMate/Bundles/RubyAMP.tmbundle/Support/lib/ruby_amp/config.rb:10 from /Library/Application 
Support/TextMate/Bundles/RubyAMP.tmbundle/Support/lib/ruby_amp/config.rb:70:in `call' from /Library/Application 
Support/TextMate/Bundles/RubyAMP.tmbundle/Support/lib/ruby_amp/config.rb:70:in `defaults' from /Library/Application 
Support/TextMate/Bundles/RubyAMP.tmbundle/Support/lib/ruby_amp/config.rb:69:in `each' from /Library/Application 
Support/TextMate/Bundles/RubyAMP.tmbundle/Support/lib/ruby_amp/config.rb:69:in `defaults' from /Library/Application 
Support/TextMate/Bundles/RubyAMP.tmbundle/Support/lib/ruby_amp/config.rb:54:in `config' from /Library/Application 
Support/TextMate/Bundles/RubyAMP.tmbundle/Support/lib/ruby_amp/config.rb:35:in `[]' from /Library/Application 
Support/TextMate/Bundles/RubyAMP.tmbundle/Support/lib/ruby_amp/config.rb:37:in `[]' from /Library/Application 
Support/TextMate/Bundles/RubyAMP.tmbundle/Support/lib/rspec_debugger.rb:30:in `debug_rspec' from /tmp/ruby-amp-2209.rb:6



Comment 1 by han.yuan, Oct 06, 2008
Probably worth noting that my ruby -v:
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]

And my TM_RUBY is pointing to this Ruby.
Comment 2 by han.yuan, Oct 06, 2008
Looks like I needed to install this bundle as well?  

http://github.com/bmabey/rspec-story-tmbundle/tree/master

After installing, things seem to be working. I didn't know that the rspec story bundle was required per the 
instructions I read, so this is probably my mistake.  If not, then it might need to be documented somewhere.
Sign in to add a comment

Hosted by Google Code