Skip to content

Commit

Permalink
[api] move the rails script into the rails4 bin/ folder
Browse files Browse the repository at this point in the history
My IDE won't detect the project as rails4 otherwise
  • Loading branch information
coolo committed Oct 22, 2013
1 parent a532efb commit 8267041
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/api/script/start_test_api
Expand Up @@ -31,7 +31,7 @@ unless File.exists? apiroot + "/config/thinking_sphinx.yml"
end

frontend = Thread.new do
cmdline = "ruby ./script/rails"
cmdline = "ruby ./bin/rails"
frontend_out = IO.popen("cd #{apiroot}; unset BUNDLE_GEMFILE; exec bundle exec #{cmdline} server -e test -p #{CONFIG['frontend_port']} 2>&1")
while frontend_out
begin
Expand Down

0 comments on commit 8267041

Please sign in to comment.