Comments (16)
I think this issue might be in TextMate's own Support/lib files.
This bug is from the line:
TextMate.exit_show_tool_tip("The ‘create partial from selection’ action works within view files only.")
Are you using TextMate version 1.5.9 (1589)? If not, turn on Cutting Edge and do an update. Did that help?
If not, raise a bug with TextMate itself. Not sure where that is. Perhaps start with ##textmate irc channel.
from ruby-on-rails-tmbundle.
I had the same problem. Turning on cutting edge did the trick for me. Thx, drnic.
from ruby-on-rails-tmbundle.
This may work in 10.5, bud for the life of me I cant get it to work in 10.6
i'm getting errors when trying to use comands from the rails bundle. likei:
/Library/Application Support/TextMate/Bundles/Ruby on
Rails.tmbundle/Support/bin/create_partial_from_selection.rb:17:
invalid multibyte char (US-ASCII)
/Library/Application Support/TextMate/Bundles/Ruby on
Rails.tmbundle/Support/bin/create_partial_from_selection.rb:17:
invalid multibyte char (US-ASCII)
/Library/Application Support/TextMate/Bundles/Ruby on
Rails.tmbundle/Support/bin/create_partial_from_selection.rb:17: syntax
error, unexpected $end, expecting ')'
...Mate.exit_show_tool_tip("The ‘create partial from selectio...
... ^
I am using latest edge, so
http://github.com/drnic/ruby-on-rails-tmbundle/issues/issue/14 isn't
it.
my ruby_path his /Users/Administrator/.rvm/bin/textmate_ruby
from ruby-on-rails-tmbundle.
if with 10.5 you are refering to the OS, I am running 10.6.4 and textmate 1.5.9.
And as I said, edge did it for me.
from ruby-on-rails-tmbundle.
yes, I did mean os 10.6.4. I made that distinction because the original poster had "Mac OS 10.5.8"
this is driving me nuts - any ideas?
from ruby-on-rails-tmbundle.
For me, this problem was caused by the TM_RUBY variable (for use with RVM). I just removed it for now...
from ruby-on-rails-tmbundle.
thanks jmonster, that did the trick
from ruby-on-rails-tmbundle.
I haven't tried it, but I just noticed that http://rvm.beginrescueend.com/integration/textmate/ states that you need version >= 0.1.45 for proper TextMate compatibility. I was running 0.1.43; my guess is you have an older version too? The TM_RUBY variable is probably ok once you update.
from ruby-on-rails-tmbundle.
I am running ruby 1.9.2p0 (no rvm) and getting this error as well. I thought it was because the encoding declaration was missing from the ruby files in /Support/bin but that didn't fix the issue for me. I have cutting edge TM turned on and am running the latest (1.5.9 (1589)).
from ruby-on-rails-tmbundle.
Hi, I'm having a problem with Create Partial from Selection as well.
The error message I'm seeing (which appears where my selected text used to be) is:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:355:in to_plist': An object in the argument tree could not be converted (ArgumentError) from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:355:in
request_string_core'
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:193:in request_string' from /Library/Application Support/TextMate/Bundles/Ruby on Rails.tmbundle/Support/bin/create_partial_from_selection.rb:23:in
I'm running rvm 1.0.5 set for ruby 1.9.2. I've followed all the instructions here and in the rvm textmate integration page.
I'm guessing that the problem is that I'm not running the right version of textmate. The release I'm running is 1.5.9 (1510). I've tried to use the update feature, but I'm getting a 500 error. Any suggestions?
from ruby-on-rails-tmbundle.
I tried it with TM_RUBY and setting it to different versions of rubies via rvm.
(rvm wrapper VERSION textmate see http://rvm.beginrescueend.com/integration/textmate/)
As I can see everything is okay, when using ruby 1.8.7. Just when using ruby 1.9.x the error occurs.
from ruby-on-rails-tmbundle.
@dan-dyomo the following article was a life saver for me getting around the errors you getting : http://gnuu.org/2009/05/25/getting-gittmbundle-working-with-ruby19/
from ruby-on-rails-tmbundle.
Several of the rails-y partials in this bundle have multibyte characters, such as ellipsis, but the encoding is not correctly specified. See Support/app/views/annotate/_content.html.erb
from ruby-on-rails-tmbundle.
Sorry guys, commented on the wrong bundle. My last comment was intended for the git bundle.
from ruby-on-rails-tmbundle.
Yes. I used rvm wrapper ruby-1.8.7@foobar textmate ! works fine to me! The problem is ruby 1.9.2 i think.
from ruby-on-rails-tmbundle.
Hi all
I'm still seeing this error in 1.9.2
What's the latest on this issue?
Thanks
from ruby-on-rails-tmbundle.
Related Issues (20)
- Invalid XML in a tmSnippet HOT 1
- insert_add_column_or_create_table.rb:9:in `unprepend': private method `split' called for #<Array:0x1011e9d60> (NoMethodError) HOT 4
- Bundle Help displaying keystrokes incorrectly HOT 2
- generate {scaffold, ...} command tries to run script/generate in Rails 3 HOT 3
- opt-cmd-down does not see js.erb view files
- Show error when rails path is not found HOT 1
- Editing js.erb files in Rails 3
- erb indentation not quite right?
- Upgrade bundle HOT 1
- rails 3 generators from textmate HOT 1
- Class definition with :: doesn't seem to be honored with code coloring
- path error when using Show DB Schema for Current Class
- Bundle doesn't show up anymore HOT 1
- Cucumber syntax warning
- "Create Partial From Selection" Error HOT 2
- Create Partial From selection is not working
- Install with Git HOT 1
- Failure running "Quick Migration" HOT 2
- Create Partial from Selection not working HOT 1
- routes_auto_complete.rb not work with rails 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-on-rails-tmbundle.