Skip to content

Commit

Permalink
Changed belongs_to scope and fixed rvm gemsets list for rvm 0.1.33
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosbrando committed May 25, 2010
1 parent 976a3af commit aef8f05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Snippets/belongs_to (bt).plist
Expand Up @@ -7,7 +7,7 @@
<key>name</key>
<string>belongs_to</string>
<key>scope</key>
<string>source.ruby.rails</string>
<string>source.rails.model</string>
<key>tabTrigger</key>
<string>bt</string>
<key>uuid</key>
Expand Down
3 changes: 1 addition & 2 deletions Support/lib/rvm/choose_rvm.rb
Expand Up @@ -9,8 +9,7 @@

options = rubies.collect do |ruby|
gemsets = `rvm #{ruby} gemset list`.split("\n")
gemsets.shift
gemsets.delete_if { |vg| vg == '*' }
gemsets.reject! { |e| e.empty? || e =~ /^<i>/ }

[ruby, gemsets.map { |g| "#{ruby}@#{g}" }]
end.flatten
Expand Down

0 comments on commit aef8f05

Please sign in to comment.