Skip to content

Commit

Permalink
Added comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosbrando committed May 19, 2010
1 parent 1067833 commit 570ab68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Support/bin/list_columns.rb
Expand Up @@ -83,6 +83,7 @@ def show_options
begin
return TextMate::UI.tool_tip("Place cursor on class name (or variation) to show its schema") if word.nil? || word.empty?

# Check if Rails is installed.
unless `rails -v 2> /dev/null` =~ /^Rails \d\.\d\.\d/
rvm = File.open("#{TextMate.project_directory}/.rvmrc").read if File.exists?("#{TextMate.project_directory}/.rvmrc")
return TextMate::UI.tool_tip("You don't have Rails installed in this gemset (#{rvm.sub('rvm use', '').strip}).")
Expand Down

0 comments on commit 570ab68

Please sign in to comment.