You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully deployed my project using Mina, but I'm having some issues. Running mina console results in rails' default output:
Usage:
rails new APP_PATH [options]
Options:
-r, [--ruby=PATH] # Path to the Ruby binary of your choice
# Default: /usr/bin/ruby
-m, [--template=TEMPLATE] # Path to some application template (can be a filesystem path or URL)
[...]
Manually running bundle exec rails c (or any rails command) on the server gets me the same.
Also, mina-whenever updates my crontab, but instead of expected ... rails runner ... I am seeing lines like ... script/runner ... which is Whenever gem's default when it can't find the correct bins.
So, why isn't my Mina-deployed site recognized as a rails project? Should the bin directory be in the project root, as usual? (It's not.)
I'm using:
Rails 4.2.7.1
Mina 1.0.6
Ubuntu 16.04 on Digitalocean
The text was updated successfully, but these errors were encountered:
This is a project that was upgraded from Rails 3. I did not realize that the /bin directory should be version controlled in Rails 4. To resolve, remove /bin from .gitignore, and commit files to repo.
I have successfully deployed my project using Mina, but I'm having some issues. Running
mina console
results in rails' default output:Manually running
bundle exec rails c
(or any rails command) on the server gets me the same.Also, mina-whenever updates my crontab, but instead of expected
... rails runner ...
I am seeing lines like... script/runner ...
which is Whenever gem's default when it can't find the correct bins.So, why isn't my Mina-deployed site recognized as a rails project? Should the bin directory be in the project root, as usual? (It's not.)
I'm using:
The text was updated successfully, but these errors were encountered: