简体   繁体   中英

heroku “script/rails: Permission denied”

heroku run -a app script/rails console

gives:

Running `script/rails console` attached to terminal... up, run.3422
bash: script/rails: Permission denied

am on Windows 8 ...

heroku version
heroku/toolbelt/2.41.0 (i386-mingw32) ruby/1.9.3

needed to add "ruby" after app and before command ...

heroku run -a my-app ruby script/rails console

Running `ruby script/rails console` attached to terminal... up, run.5473

... various deprecation warnings re "You have Rails 2.3-style plugins in vendor/plugins! 

Loading production environment (Rails 3.2.11)
irb(main):001:0>

(clue was provided from here )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM