-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Precompile Assets with JRuby #29
Comments
The following command does work: queue "jruby -S bundle install --without development:test" I don't use the |
Can anyone help debug why this happens? |
Anyway, the better fix would be to set the options for Bundler like so: set :bundle_bin, "jruby -S bundle"
set :bundle_options, "--without development:test" This way you don't need to make your own |
That commit above will also make other commands (like |
Ah. Sorry I forgot to mention that I actually forgot I had to set the The current command I am using works fine with JRuby: queue "jruby -S bundle install --without development:test " +
"--deployment --binstubs ./bin --path #{deploy_to}/#{shared_path}/vendor/bundle" I don't get any issues any longer, and
Without prefixing the commands with The only thing that's still incredibly slow is the asset pipeline, mostly because of JRuby again. So the other issue where assets are being re-compiled when unnecessary would of course be a great help if no front-end related code has changed. Then deployments should be done in a few seconds. JRuby with asset pipeline takes like 90% of the time unfortunately. Which leads up to 90 second deployments. |
Looks like there's no issue left here. The other problem (about unnecessary re-compile of assets) has been fixed (#25). |
Trying to deploy through JRuby using the provided
bundle:install
task.It keeps saying it can't find certain gems during the precompile stage. Any idea why?
The text was updated successfully, but these errors were encountered: