Skip to content

Commit

Permalink
Hack for rails 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pstuteville committed Feb 7, 2012
1 parent 4d7d44a commit 4d01cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard/rails/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def build_rails_command
rails_options << '-u' if options[:debugger]
rails_options << options[:server] if options[:server]

%{sh -c 'cd #{Dir.pwd} && rails s #{rails_options.join(' ')} &'}
%{sh -c 'cd #{Dir.pwd} && script/server #{rails_options.join(' ')} &'}
end

def pid_file
Expand Down

0 comments on commit 4d01cd1

Please sign in to comment.