i adding autonumeric gem project. on local development environment, assets:precompile
or rails s
results in sprockets::filenotfound: couldn't find file 'autonumeric' (in myapp/app/assets/javascripts/application.js)
.
i have tried:
- removing/re-adding gems
- restarting server (when trying
rails s
) - adding
bundle exec
commands - creating new clean vm same codebase
the puzzling thing me, is running fine our ci server , developer's machine. gem versions same, codebase same.
the environmental difference can see environments i'm failing on setup using ruby-build/rbenv
, passing ones using rvm
.
if manually copy assets gem's source app, resolves issue on failing environments, not viable solution.
what other steps can take debug issue?
i explored next apparent option, rebuild new development vm using rvm
vs ruby-build/rbenv
. succeeded in overcoming issue, deduce issue lies in improper method of using rbenv
in other environments.
Comments
Post a Comment