Displaying 20 results from an estimated 9000 matches similar to: "Textmate Formatting has gone away"
2007 Oct 13
3
[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
2008 Mar 04
10
Pretty story output for non-Rails project
I''m taking my first fledgling steps driving a new ruby (non-rails)
project with BDD. I''ve got a (test) story working. However, when I
run the story in TextMate (via command-r), the output is plain text.
See: http://skitch.com/georgeanderson/8grg/run-examples
How do I get the output to look pretty (formatted)?
rspec-1.1.3
OS X 10.5.2
TextMate v1.5.7 (1455)
Thanks,
/g
--
2007 Oct 11
2
Incompatibility Issues after updating CURRENT
Hi,
I''m using piston to manage rspec and rspec_on_rails in vendor/plugins.
----
~/work/simplify_md $ piston st vendor/plugins/
vendor/plugins/rspec
(svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec)
vendor/plugins/rspec_on_rails
(svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails)
----
After I ''piston update''d rspec and
2007 Oct 24
1
Stubbing Kernel.` (backquote)
I''m trying to stub(!) the Kernel.` (backquote) method and I''m having
confusing (to me) results. Here''s the method I''m spec''ing:
class Barcode
...
def raw_barcodes
self.make_temporary_copy
`OcrBarcode #{self.temp_file_path}`
end
...
end
And this is my (newbish) attempt at the spec:
describe "Calling @barcode.raw_barcodes" do
2008 May 06
6
"Plugin not found" after RSpec install
I tried to install the RSpec Rails plugin as described here:
http://rspec.info/documentation/rails/install.html
After I run this...
ruby script/plugin install http://rspec.rubyforge.org/svn/tags/CURRENT/rspec
At the very end after a lot of output I get this error:
Plugin not found: ["http://rspec.rubyforge.org/svn/tags/CURRENT/
rspec"]
It looks as though it actually was installed
2008 Jan 18
9
new in ruby and rspec testing
Hi to all
I''m a new in ruby and RoR programming.
And my problem is Rspec.
I don''t understand how to write test files in rspec.
Maybe it''s because I don''t know ruby good.
Can you send me links to fine examples/screencasts/e-books and other
stuff.
I found some on google but it not enough :(
Thanks for replie''s
--
Posted via http://www.ruby-forum.com/.
2007 Oct 23
6
Problem Upgrading from 1.0.5 to 1.0.8
Hey Guys,
I''m getting the following error:
1)
NameError in ''ProductsController with a GET to /products NO NAME
(Because of Error raised in matcher)''
uninitialized constant Spec::Mocks::BaseExpectation::AnyArgsConstraint
/Users/mattlins/Projects/RailsProjects/SWNetworkServices/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/render_observer.rb:86:in
2009 Mar 07
2
[rspec/tm] When running the textmate bundle hook using command-r I get an error about missing rubygems
I get the following error using both edge version of the TM bundle and
rspec/rspec-rails in vendor/plugins.
/Users/nshb/Library/Application Support/TextMate/Bundles/
RSpec.tmbundle/Support/lib/spec/mate.rb:2:in `require'': No such file
to load -- rubygems (LoadError) from /Users/nshb/Library/Application
Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:2
from
2007 Oct 03
4
TextMate language weirdness
I''m having trouble with TextMate and assigning the RSpec language to
*_spec.rb files within rails projects. Here is what is happening:
I''m in a file that has the language "Ruby on Rails" selected.
I do a ctrl-shift-down to switch to the corresponding _spec.rb file.
The _spec.rb file has the language "Ruby on Rails" selected.
I change the language to
2007 Nov 28
6
textmate bundle
Does anyone else have issues running rspec textmate bundle? I''ve got
revision 2997, but the blasted thing just won''t run.
It is checked out to my /Users/zdennis/Library/Application
Support/TextMate/Bundles/RSpec.tmbundle
When it runs I get the below error...
"textmate" is not a valid class name
2008 May 10
4
Problems running RSpec from w/in TextMate
Hello everyone, I''m new to RSpec, and pretty much Ruby in general. I am
trying to run RSpec from within TextMate to get the nice-looking GUI
that lists my specs and whatnot. It runs fine from the command line,
but when I run it from TextMate, I get the following error (I am working
with a Rails application):
RubyMate r8136 running Ruby r1.8.6 (/usr/local/bin/ruby)
>>>
2007 Jan 09
6
spec not running in TextMate
I tried running a spec with command-r in TextMate and got:
/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/
lib/spec_mate.rb:1:in `require'': No such file to load -- rubygems
(LoadError) from /Library/Application Support/TextMate/Bundles/
RSpec.tmbundle/Support/lib/spec_mate.rb:1 from /tmp/
temp_textmate.GplhPr:3:in `require'' from
2007 Oct 20
3
TextMate bundle in MacroMates repo
Hi
Recently I sent a modified version of the GetBundle bundle to
textmate-dev. It was failing because the RSpec bundle was from
another repo (ie RubyForge). One of the replies said that the RSpec
bundle was now in the MacroMates repo, which it is. Is that an
officially handled thing? If so, what version of the RSpec bundle is
being maintained there - CURRENT? It''s
2007 Jun 14
4
Can''t run RSpec files in TextMate
Hi
Not sure if this is the place to ask this or not. I''ve upgraded to
RSpec 1.0.5, installed the latest TextMate bundle, but whenever I do
"Run Behaviour Descriptions in selected files/directories" I get this:
/Users/ashleymoran/Library/Application Support/TextMate/Pristine Copy/
Bundles/RSpec.tmbundle/Support/lib/spec_mate.rb:18:in `run_files'':
private method
2008 Jan 13
4
TextMate bundle not compatible with nested specs for running focused tests?
Seems like the recently updated (and wonderful) textmate bundle does not
take into account running individual tests that are in nested specs.
Anybody else notice this? Any ideas?
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080113/15d5cc2f/attachment.html
2008 Jan 04
7
best way to modify spec (the command-line tool)?
Hi all, where I work we''ve cooked up a kind of ghetto profiler for our
specs. It basically just does this:
time = Time.now
# run the spec
puts "woah! dude. long spec." if time > 1.second
I''m simplifying here. I think the threshold is actually 0.1 seconds,
and we use more precise language, and highlight the spec in red via
terminal colors, etc.
But the way it works
2007 Oct 11
4
[RSpec] Question about using TextMate Bundle...
Hey Everyone,
First time poster! woot!
Can someone please point me to a Wiki, FAQ, web page, that I can reference
to help me debug why my installation of the TextMate Bundle doesn''t work?
Am I supposed to install the gem, then install the plugins into a project,
then install the bundle before the bundle can work?
I can run ''rake spec'' at the command line just fine;
2007 Dec 07
4
TextMate Sidebar
Hey David,
I just watched the RubyConf recording of your RSpec session and noticed that
you''re using a modified version of TextMate that uses a sidebar instead of a
project drawer. Where did you find that mod?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071207/c900e1bc/attachment.html
2007 Sep 17
3
how do I get the beautiful html rspec results in textmate?
I''m going through PeepCode RSpec Basics and he gets a beautiful rspec
results page in html when he presses a hotkey in TextMate.
I would guess it''s along the lines of Apple + R but I don''t get the same
results and I''m using the same bundle.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Oct 10
9
Rspec Textmate bundle errors
Hello all,
Having a problem with the Rspec textmate bundle and having quizzed
the guys in #textmate to no success about the errors, I''ve been
suggested to try you guys!
When I run the "Run Behaviour Description" command, I get the
following errors:
/Users/alastair/Library/Application Support/TextMate/Bundles/
RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in