Displaying 20 results from an estimated 2000 matches similar to: "TextMate language weirdness"
2007 Oct 15
1
TextMate File Type Detection for RSpec & Rails
For those of you struggling with TextMate not properly detecting
rspec files, Allan Odgaard (the author of TextMate) has kindly
provided a tutorial on how to set up TextMate to associate all .rb
files with rails and all _spec.rb files with rspec.
http://macromates.com/blog/2007/file-type-detection-rspec-rails
His instructions work great and switching between rspec and rails
files has
2005 Oct 06
3
Ruby/Rails TextMate macros
Could someone kindly send me a copy of the TextMate macros that pertain
to Ruby and Rails? I am assuming they are stored in or can be exported
to some kind of plain text file...
Sadly I am not yet able to make the leap from Linux (and Windows) to a
Mac and I am using Slickedit, which has *zero* built in support for
Ruby/Rails. I can add macros and code templates so I thought it might be
2007 Oct 30
7
RSpec Texmate Bundle errors
I''ve the same problem as Alastair when running rspec command :
http://lists.macromates.com/pipermail/textmate/2007-October/022585.html
../spec/mate/runner.rb:34:in `run'': undefined method `parse'' for
Spec::Runner::OptionParser:Class
I fixed this for me by changing the offending line to :
::Spec::Runner::CommandLine.run(argv, STDERR, stdout)
(see
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 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
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
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
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 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
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
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 May 18
1
problems with textmate and rspec bundle
Folks,
I saw David''s tutorial yesterday at RailsConf and started working on
RSpec lastnight and am having a *ton* of trouble with the bundle for
TextMate. I''ve made *some* progress, but thought I''d throw it to the
list
* I run ruby, including rb-rubygems using the MacPorts install (per
JDD''s Sandboxing Rails)
* installed rspec 0.9.4 (also rcov 0.8.0.2 and
2007 Sep 21
3
TextMate Bundle and exception when switching to alternate file.
Hey,
sorry if this is something better suited to another list.
I''ve encountered a strange problem with the RSpec.tmbundle in trunk -
namely that it was raising an exception when pressing
ctrl-shift-downarrow (switch between spec and source - "Alternate
File").
I tracked down the issue to be handling of the file_type in
switch_command.rb#content_for() - the code expected the
2006 Jun 17
4
Textmate Madness
Has anyone come across this problem... I created some Ruby files in Textmate
on my Mac - and everything works fine. However, when I run those files on a
Windows machine I get e.g.
compile error
./script/../config/../app/views/station/consumption/new.rhtml:2:
Invalid char `\002'' in expression
./script/../config/../app/views/station/consumption/new.rhtml:4: parse
error, unexpected
2006 Jan 26
2
semi-on topic -- textmate question
Apologies in advance.
I have been using textmate and am getting to like it more and more.
The feature that is turning my crank and frothing my coffee right now
is "snippets". Wow! Is this ever cool! And if you aren''t using
Textmate, give it a try.
Anyhow, my snippets are saving me so much time and so utterly
wonderful that like other things in my life that are in
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
2009 Jan 28
2
[Cucumber, TextMate Bundle] Call for help
Hey all,
As some of you may know I created the Cucumber TextMate bundle:
http://github.com/bmabey/cucumber-tmbundle/tree/master
What most of you probably don''t know is that I stopped using TextMate
(in favor of Vim) several months ago. Since then the Cucumber bundle
has been somewhat neglected by me and I''ve mostly pulled in patches and
regenerated the syntax for new
2006 Nov 09
2
Focused Specs/Tests in Non-Textmate editors
Hello,
I wrote a script that runs a focused spec/test from the filename and line
number.
I bound this to an external tool in my Idea environment.
http://weblog.freeopinion.org/articles/2006/11/04/focused-unit-test-spec-script
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Feb 02
3
S5 slide show system
S5 - http://meyerweb.com/eric/tools/s5/ - is an html-based slide-show
system. It produces professional-looking slideshows from text with a
little xml markup.
Has anyone tried using Markdown to generate S5 slide-shows? I think
this would be a pretty neat system. I'm thinking a level-1 header
could be the slideshow title, and level-2 headers could define
individual slides.
Any thoughts?
- Dan
2007 Oct 31
5
Rspec Release Plan (was Am I missing something with Heckle?)
On Oct 31, 2007 11:36 AM, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
> When can we expect the next release of rspec?
Definitely by the end of November.
Likely by mid-November.
Hopefully in a matter of days.
The next release will be 1.1.0.
We''re going to a release model in which 1.odd.x will be considered
experimental. This means that while we will document