Hi,
I've got rspec working in my project ("rake spec") ok. I've downloaded the
rspec bundles into TextMate however however when I go
Bundles/RSpec/RunSingleExample (or RunExamples) I get the following error
dialog that appears...
-----error-----
Missing the Rails 2.1.1 gem. Please `gem install -v=2.1.1 rails`, update
your RAILS_GEM_VERSION setting in config/environment.rb for the Rails
version you do have installed, or comment out RAILS_GEM_VERSION to use the
latest version installed.
---------------
Q1- Any idea how to solve?
Q2 - Why does TextMate not see that (a) the environment.rb file has this
variable set correctly to 2.1.1, and (b) the rails 2.1.1 gem exists as I
downloaded it?
Q3 - How can I confirm what the environment variables are when this test
from within TextMate?
Q4 - Where would I normally set the environments variables for TextMate?
Q5 - What are the relevant TextMate environment variables that exist that
may need to be set?
Macintosh-2:~ greg$ rails -v
Rails 2.1.1
Macintosh-2:~ greg$ ruby -v
ruby 1.8.6 (2007-09-23 patchlevel 110) [i686-darwin9.3.0]
Macintosh-2:~ greg$
Macintosh-2:~ greg$ gem -v
1.2.0
Macintosh-2:~ greg$
Macintosh-2:~ greg$ cat ~/.profile
PATH=$PATH:/usr/local/bin
TERM_PROGRAM=iTerm.app
test -r /sw/bin/init.sh && . /sw/bin/init.sh
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export DISPLAY=:0.0
Macintosh-2:~ greg$
Macintosh-2:~ greg$ cat /etc/profile
# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
Macintosh-2:~ greg$
Thanks
--
View this message in context: http://www.nabble.com/can%27t-run-RSpec--%28get-%22Missing-the-Rails-2.1.1-…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all,
This issue has already been discussed in the lists, but I didn't find any
conclusive answer. Would it be possible to add in the LaTeX bundle the
option to watch a latex file with latexmk (ie with the -pvc option)? I kind
of understood the advantages of the Watch bundle (mainly speed?) but still
want latexmk to do the job for me (to update cross-references and included
documents like figures).
For the moment, I am using
http://www.nabble.com/LaTeX-Watch-td9730030.html#a9814889 Martin's tip , but
I would like a better integration (like stopping watching), and anyway think
it would be worth being included in the standard LaTeX bundle.
--
View this message in context: http://www.nabble.com/LaTeX-Watch-with-latexmk-tp19158764p19158764.html
Sent from the textmate users mailing list archive at Nabble.com.
I use the nightly builds of WebKit and I am having no luck getting CMD-
R to refresh it. I have altered the Refresh Running Browsers Command
in the Bundle Editor to:
# Check if WebKit is running, if so refresh
ps -xc|grep -sq WebKit && osascript -e 'tell app "WebKit"' -e
'activate' -e 'do JavaScript "window.location.reload();" in first
document' -e 'end tell'
Any suggestions would be welcome.
Cheers,
Eric
Again, I *tried* to report this as a bug, but couldn't.
If I hurriedly type:
if ( foo ) {
bar
}
Upon typing the } Textmate (with autoindentation on) changes it to this:
if ( foo ) {
bar
}
instead of:
if ( foo ) {
bar
}
or better yet:
if ( foo ) {
bar
}
The "closed curly brace must reduce indent level by one" is a bit too
simplistic and I find it actively annoying.
--
View this message in context: http://www.nabble.com/Bug-Report-Feature-Request----Bad-Indentation-Heurist…
Sent from the textmate users mailing list archive at Nabble.com.
I was playing `textmate` gem.
I noticed that my bundle I made for fun <http://github.com/samuraicoder/samuraicoder-tmbundle/
> was not findable using `textmate remote` command.
Am I missing something? Maybe naming convention is wrong?
Or are they manually checked by human to avoid miscellaneous bundles
like mine?
Takaaki
--
Takaaki Kato
http://samuraicoder.net
Whenever I try to run a Python script using PyMate, I just get the
following error message:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Python.tmbundle/Support/PyMate/pymate.rb:68:in
`initialize': wrong number of arguments (2 for 1) (ArgumentError) from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Python.tmbundle/Support/PyMate/pymate.rb:68:in
`new' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Python.tmbundle/Support/PyMate/pymate.rb:68
I've tried updating bundles and the support folder to no avail. I'm
using the cutting-edge version of TextMate.
Any advice on how to fix this would be greatly appreciated.
Thanks,
Chris
--
Follow the path of the Iguana...
http://rebertia.com
hello.my question is if can i somehow change the ctrl+w shortcut with
command+w, or maybe command+e wich i see is doing nothing.
i never close windows, but the current ctrl+w i'm using very often, and is
not very confortable for me the combination.
--
Cristi
www.ralcr.com
I tried to report this as a bug via the website but I'm being flagged as
spam, even when logged in. (Meta bug?)
Anyway:
If I double-click on the && in the following line of text:
if( transform.position.z > CameraTransitionAltitude && !AboveCamera.active
){
I select " && !" which is definitely not what I want or expect.
I've had similar oddness with double-click selection elsewhere but this set
me off.
--
View this message in context: http://www.nabble.com/Bug-Report----Double-click-selection-tp19295446p19295…
Sent from the textmate users mailing list archive at Nabble.com.
Hi
I've been trying to write an AppleScript to save any open TextMate
file into a specific folder with a filename constructed out of the
current date and time.
There is no problem creating the filename but I can't work out how to
get the path and filename into the TextMate file to be saved.
In the script below I've left out the bit that creates the file_name.
as that bit works fine. The problem is the line "save to file
file_path" which doesn't work :(
It does work with that other text editor for the Mac but of course I
don't use that one anymore :)
Thank you for any assistance you can give.
set file_path to "Macintosh HD:Users:patrick:Temporary:" & file_name
tell application "TextMate"
activate
if document 1 exists then
tell document 1
save to file file_path
end tell
else
display dialog "No open file"
end if
end tell
Patrick
http://www.patrickjames.co.uk
On Sep 2, 2008, at 2:45 AM, Allan Odgaard wrote:
|| [...]
|| and this unexpected result when run from PyMate:
|| PyMate r8111 running Python 2.5.2 (/usr/bin/env python) >>> loc.py
|| C/en_US.UTF-8/C/C/C/C
|| 282929992
| TM itself sets LC_CTYPE since it is only concerned about character
| encoding for the processes it launches (for stdin/out).
| If you want to have LC_ALL set for the processes it launches, set it
| in Preferences ? Advanced ? Shell Variables.
If TM were setting LC_CTYPE correctly, wouldn't PyMate produce the same output (stdout) as I saw in the shell?
Dave