Mel Riffe
2007-Oct-13 03:50 UTC
[rspec-users] [RSpec] Unexpected behavior using TextMate Bundle...
Howdy, Why does the bundle NOT work when I do the following: - Start TextMate - Open my project - Open my spec - Try to run spec and get an error While the following DOES work: - Open Terminal - Locate my project - Start TextMate via command line (mate .) - Open my spec - Try to run spec and it works Cheers, Mel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071012/85d854ae/attachment.html
George Anderson
2007-Oct-13 04:40 UTC
[rspec-users] [RSpec] Unexpected behavior using TextMate Bundle...
Can you give a bit more information? Versions of rspec, rspec_on_rails, tmbundle. How did you install? gem, .tgz, svn (trunk, CURRENT, or other) In both scenarios, when you "Open my spec," what does TextMate show for the selected "Language" of the file? RSpec, Ruby on Rails, other? Are they the same for the different scenarios. Finally, what''s the error? /g On 10/12/07, Mel Riffe <mriffe at gmail.com> wrote:> Howdy, > > Why does the bundle NOT work when I do the following: > - Start TextMate > - Open my project > - Open my spec > - Try to run spec and get an error > > While the following DOES work: > - Open Terminal > - Locate my project > - Start TextMate via command line (mate .) > - Open my spec > - Try to run spec and it works > > Cheers, > Mel > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- George Anderson BenevolentCode LLC O: (410) 461-7553 C: (410) 218-5185 george at benevolentcode.com
Mel Riffe
2007-Oct-13 13:08 UTC
[rspec-users] [RSpec] Unexpected behavior using TextMate Bundle...
Hi George, Sorry I didn''t post the version information - I was "specin'' it up" and just did the quick hit post. Here''s the information you''re looking for: Versions are ../tags/CURRENT/ Didn''t install gem. The "Language" is Ruby; I don''t see RSpec as an option. Here''s the Error I''m receiving: /Users/mriffe/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec_mate.rb:2:in `require'': No such file to load -- rubygems (LoadError) from /Users/mriffe/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec_mate.rb:2 from /tmp/temp_textmate.TpyRhb:3:in `require'' from /tmp/temp_textmate.TpyRhb:3 Again, this only happens when I DON''T open TextMate from the command line inside my project. Don''t know if this has any bearing, but I''m using QuickSilver to open TM. Ta Mel On 10/13/07, George Anderson <george at benevolentcode.com> wrote:> > Can you give a bit more information? > > Versions of rspec, rspec_on_rails, tmbundle. > > How did you install? gem, .tgz, svn (trunk, CURRENT, or other) > > In both scenarios, when you "Open my spec," what does TextMate show > for the selected "Language" of the file? RSpec, Ruby on Rails, other? > Are they the same for the different scenarios. > > Finally, what''s the error? > > /g > > On 10/12/07, Mel Riffe <mriffe at gmail.com> wrote: > > Howdy, > > > > Why does the bundle NOT work when I do the following: > > - Start TextMate > > - Open my project > > - Open my spec > > - Try to run spec and get an error > > > > While the following DOES work: > > - Open Terminal > > - Locate my project > > - Start TextMate via command line (mate .) > > - Open my spec > > - Try to run spec and it works > > > > Cheers, > > Mel > > > > > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > -- > > George Anderson > > BenevolentCode LLC > O: (410) 461-7553 > C: (410) 218-5185 > > george at benevolentcode.com > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071013/dd1320db/attachment-0001.html
Carl Porth
2007-Oct-13 17:59 UTC
[rspec-users] [RSpec] Unexpected behavior using TextMate Bundle...
I think I had this problem. The difference in behavior is due to TM using different shell environments due to how you are launching it. I think I did something like: http://blog.dnite.org/2007/8/28/textmate-and-your-environment-variables Just substitute in your shell PATH into the one in the plist file. Carl On Oct 13, 2007, at 6:08 AM, Mel Riffe wrote:> Hi George, > > Sorry I didn''t post the version information - I was "specin'' it up" > and just did the quick hit post. > > Here''s the information you''re looking for: > > Versions are ../tags/CURRENT/ > > Didn''t install gem. > > The "Language" is Ruby; I don''t see RSpec as an option. > > Here''s the Error I''m receiving: > /Users/mriffe/Library/Application Support/TextMate/Bundles/ > RSpec.tmbundle/Support/lib/spec_mate.rb:2:in `require'': No such > file to load -- rubygems (LoadError) from /Users/mriffe/Library/ > Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/ > spec_mate.rb:2 from /tmp/temp_textmate.TpyRhb:3:in `require'' from / > tmp/temp_textmate.TpyRhb:3 > > Again, this only happens when I DON''T open TextMate from the > command line inside my project. Don''t know if this has any > bearing, but I''m using QuickSilver to open TM. > > Ta > Mel > > > On 10/13/07, George Anderson <george at benevolentcode.com> wrote: > Can you give a bit more information? > > Versions of rspec, rspec_on_rails, tmbundle. > > How did you install? gem, .tgz, svn (trunk, CURRENT, or other) > > In both scenarios, when you "Open my spec," what does TextMate show > for the selected "Language" of the file? RSpec, Ruby on Rails, other? > Are they the same for the different scenarios. > > Finally, what''s the error? > > /g > > On 10/12/07, Mel Riffe < mriffe at gmail.com> wrote: > > Howdy, > > > > Why does the bundle NOT work when I do the following: > > - Start TextMate > > - Open my project > > - Open my spec > > - Try to run spec and get an error > > > > While the following DOES work: > > - Open Terminal > > - Locate my project > > - Start TextMate via command line (mate .) > > - Open my spec > > - Try to run spec and it works > > > > Cheers, > > Mel > > > > > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > -- > > George Anderson > > BenevolentCode LLC > O: (410) 461-7553 > C: (410) 218-5185 > > george at benevolentcode.com > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071013/cc98b80e/attachment.html