http://ruby.morphball.net/rumix/ Rumix2からダウンロードしたruby2.3.1をHerokuのRubyに対応させるためにアップデートしたいです。
こんなエラーが出ました。
remote: ! remote: ! An error occurred while installing ruby-2.3.1 remote: ! remote: ! This version of Ruby is not available on Heroku-18. The minimum supported version remote: ! of Ruby on the Heroku-18 stack can found at: remote: ! remote: ! https://devcenter.heroku.com/articles/ruby-support#supported-runtimes remote: !
そのせいか
heroku run rails db:migrate Running rails db:migrate on ? atzoubbs... up, run.4434 (Free) bash: rails: command not found
となります。
参考にしたサイトはhttps://qiita.com/kazukimatsumoto/items/a0daa7281a3948701c39 です。
その場合、上記コマンドでアドオン登録を行った後、再度マイグレーション処理を実行すると、問題が解決する事があります。 ターミナル $heroku addons:add heroku-postgresql
アドオンはしました。
bundleのexeは要るのでしょうか
#!/usr/bin/env ruby.exe ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) load Gem.bin_path('bundler', 'bundle')
Cygwinでインストールした結果2.2でした。
あなたの回答
tips
プレビュー