Hi all,
What I have here is a brand new Rails app with:
- Ruby 2.6.2p47
- Rails 6.0.2.1
- MySql Ver 8.0.19
I need some help to build a OCRA command to build an exe from this app so, first question:
- OCRA only runs on windows, right? I need to be on windows to be able to transform my app into an exe, right?
Second question:
- what would be the command for me to use to make it work?
I was trying something like:
- ocra app/start.rb app --no-dep-run --gem-full --add-all-core --gemfile app/Gemfile --output app.exe -- server
But with no luck, I get the error:
/Users/josemiguelmalaca/.rvm/gems/ruby-2.4.6/gems/ocra-1.3.11/bin/ocra:20: warning: already initialized constant File::ALT_SEPARATOR
=== Scanning Gemfile
/Users/josemiguelmalaca/.rvm/rubies/ruby-2.4.6/lib/ruby/site_ruby/2.4.0/bundler/spec_set.rb:91:in `block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
from /Users/josemiguelmalaca/.rvm/rubies/ruby-2.4.6/lib/ruby/site_ruby/2.4.0/bundler/spec_set.rb:85:in `map!'
from /Users/josemiguelmalaca/.rvm/rubies/ruby-2.4.6/lib/ruby/site_ruby/2.4.0/bundler/spec_set.rb:85:in `materialize'
from /Users/josemiguelmalaca/.rvm/rubies/ruby-2.4.6/lib/ruby/site_ruby/2.4.0/bundler/definition.rb:170:in `specs'
from /Users/josemiguelmalaca/.rvm/rubies/ruby-2.4.6/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:108:in `block in definition_method'
from /Users/josemiguelmalaca/.rvm/gems/ruby-2.4.6/gems/ocra-1.3.11/bin/ocra:578:in `find_gem_files'
from /Users/josemiguelmalaca/.rvm/gems/ruby-2.4.6/gems/ocra-1.3.11/bin/ocra:755:in `build_exe'
from /Users/josemiguelmalaca/.rvm/gems/ruby-2.4.6/gems/ocra-1.3.11/bin/ocra:1231:in `block in <top (required)>'
Any help will be great! Thank you!
Cheers