thecodecrate / rb2exe Goto Github PK
View Code? Open in Web Editor NEWRuby to EXE - Turn ruby scripts into portable executable apps
License: Creative Commons Zero v1.0 Universal
Ruby to EXE - Turn ruby scripts into portable executable apps
License: Creative Commons Zero v1.0 Universal
I think that $ARGV is missing in the else clause when a Gemfile isn't being used, on this line:
$SELFDIR/lib/ruby/bin/ruby "$3"
Only for Ruby 2.2.2? It is so old...,I gem installed it,but found it only supports ruby2.2.2.
I installed ruby 2.2.2, and the rb2exe gem. I've been trying to get this to work for a day and a half now. This is the entire error:
/Users/[USER]/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require': cannot load such file -- bundler (LoadError) from /Users/[USER]/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require'
from /Users/[USER]/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rb2exe-0.3.1/bin/rb2exe:9:in <top (required)>' from /Users/[USER]/.rbenv/versions/2.2.2/bin/rb2exe:23:in
load'
from /Users/[USER]/.rbenv/versions/2.2.2/bin/rb2exe:23:in `
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
for more details.
-- Control frame information -----------------------------------------------
c:0006 p:-17562514491010 s:0017 e:000016 TOP [FINISH]
c:0005 p:---- s:0015 e:000014 CFUNC :require
c:0004 p:0146 s:0011 e:000010 TOP /tmp/selfextract.lnk3tL/lib/vendor/ruby/2.2.0/gems/gosu-0.9.2/lib/gosu.rb:16 [FINISH]
c:0003 p:---- s:0008 e:000007 CFUNC :require
c:0002 p:0031 s:0004 E:0009d0 EVAL Login.rb:4 [FINISH]
c:0001 p:0000 s:0002 E:000d20 TOP [FINISH]
-- Ruby level backtrace information ----------------------------------------
Login.rb:4:in <main>' Login.rb:4:in
require'
/tmp/selfextract.lnk3tL/lib/vendor/ruby/2.2.0/gems/gosu-0.9.2/lib/gosu.rb:16:in <top (required)>' /tmp/selfextract.lnk3tL/lib/vendor/ruby/2.2.0/gems/gosu-0.9.2/lib/gosu.rb:16:in
require'
-- Machine register context ------------------------------------------------
rax: 0x0000000000000030 rbx: 0x00007fc8b95874f0 rcx: 0x0000000000000000
rdx: 0xfffffffffffffff0 rdi: 0x0000000000000030 rsi: 0x0000000000000000
rbp: 0x00007ffee92b3d40 rsp: 0x00007ffee92b3d40 r8: 0x000000008b958767
r9: 0x0000000000000017 r10: 0x00000001073e15c0 r11: 0x00007fff79c9bc40
r12: 0x00007fffb247e070 r13: 0x00007fc8b9004010 r14: 0x0000000000000004
r15: 0x00007ffee92b44f0 rip: 0x0000000107448571 rfl: 0x0000000000010246
-- C level backtrace information -------------------------------------------
0 ruby 0x0000000106ae41db rb_vm_bugreport + 155
1 ruby 0x0000000106989b10 rb_bug_context + 480
2 ruby 0x0000000106a60bb3 sigsegv + 83
3 libsystem_platform.dylib 0x00007fff79c97f5a _sigtramp + 26
4 libruby.2.2.0.dylib 0x0000000107448571 ruby_xmalloc + 17
5 ??? 0x00007ffee92b3d60 0x0 + 140732810345824
-- Other runtime information -----------------------------------------------
Loaded script: Login.rb
Loaded features:
0 enumerator.so
1 rational.so
2 complex.so
3 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/enc/encdb.bundle
4 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/enc/trans/transdb.bundle
5 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/unicode_normalize.rb
6 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/rbconfig.rb
7 thread.rb
8 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/thread.bundle
9 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/compatibility.rb
10 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/defaults.rb
11 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/deprecate.rb
12 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/errors.rb
13 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/version.rb
14 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/requirement.rb
15 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/platform.rb
16 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/basic_specification.rb
17 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/stub_specification.rb
18 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/util/stringio.rb
19 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/specification.rb
20 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/exceptions.rb
21 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb
22 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/monitor.rb
23 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb
24 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems.rb
25 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/path_support.rb
26 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/dependency.rb
27 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/pathname.bundle
28 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/pathname.rb
29 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/constants.rb
30 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/io/console.bundle
31 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/user_interaction.rb
32 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/etc.bundle
33 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/config_file.rb
34 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/ext/build_error.rb
35 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/ext/builder.rb
36 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/ext/configure_builder.rb
37 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/fileutils.rb
38 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/delegate.rb
39 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/tmpdir.rb
40 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/tempfile.rb
41 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/ext/ext_conf_builder.rb
42 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/ext/rake_builder.rb
43 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/optparse.rb
44 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/command.rb
45 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/ext/cmake_builder.rb
46 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/ext.rb
47 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/rubygems_integration.rb
48 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/current_ruby.rb
49 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/shared_helpers.rb
50 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/gem_path_manipulation.rb
51 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/gem_helpers.rb
52 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/match_platform.rb
53 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/rubygems_ext.rb
54 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/version.rb
55 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler.rb
56 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/uri/rfc2396_parser.rb
57 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/uri/rfc3986_parser.rb
58 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/uri/common.rb
59 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/uri/generic.rb
60 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/uri/ftp.rb
61 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/uri/http.rb
62 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/uri/https.rb
63 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/uri/ldap.rb
64 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/uri/ldaps.rb
65 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/uri/mailto.rb
66 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/uri.rb
67 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/settings.rb
68 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/digest.bundle
69 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/digest.rb
70 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/digest/sha1.bundle
71 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/set.rb
72 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/definition.rb
73 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/dependency.rb
74 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/ruby_dsl.rb
75 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/dsl.rb
76 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/source_list.rb
77 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/source.rb
78 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/socket.bundle
79 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/socket.rb
80 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/timeout.rb
81 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/net/protocol.rb
82 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/zlib.bundle
83 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/stringio.bundle
84 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/net/http/exceptions.rb
85 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/net/http/header.rb
86 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/enc/windows_31j.bundle
87 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/net/http/generic_request.rb
88 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/net/http/request.rb
89 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/net/http/requests.rb
90 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/net/http/response.rb
91 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/net/http/responses.rb
92 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/net/http/proxy_delta.rb
93 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/net/http/backward.rb
94 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/net/http.rb
95 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/date_core.bundle
96 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/date.rb
97 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/time.rb
98 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/request/http_pool.rb
99 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/request/https_pool.rb
100 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/request/connection_pools.rb
101 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/request.rb
102 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/cgi/core.rb
103 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/cgi/util.rb
104 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/cgi/cookie.rb
105 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/cgi.rb
106 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/uri_formatter.rb
107 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/openssl.bundle
108 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/openssl/bn.rb
109 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/openssl/cipher.rb
110 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/openssl/config.rb
111 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/openssl/digest.rb
112 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/openssl/x509.rb
113 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/openssl/buffering.rb
114 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/fcntl.bundle
115 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/openssl/ssl.rb
116 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/openssl.rb
117 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/securerandom.rb
118 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/resolv.rb
119 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/remote_fetcher.rb
120 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/text.rb
121 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/name_tuple.rb
122 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/rubygems/spec_fetcher.rb
123 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/source/rubygems.rb
124 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/x86_64-darwin13/strscan.bundle
125 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/source/path.rb
126 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/source/git.rb
127 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/lockfile_parser.rb
128 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/lazy_specification.rb
129 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/tsort.rb
130 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/2.2.0/forwardable.rb
131 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/spec_set.rb
132 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/environment.rb
133 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/runtime.rb
134 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/dep_proxy.rb
135 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/index.rb
136 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/remote_specification.rb
137 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/endpoint_specification.rb
138 /tmp/selfextract.lnk3tL/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/setup.rb
139 /tmp/selfextract.lnk3tL/lib/ruby/lib/restore_environment.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
Don't forget to include the above Crash Report log file.
For details: http://www.ruby-lang.org/bugreport.html
./installer: line 32: 36444 Abort trap: 6 $SELFDIR/lib/ruby/bin/ruby -rbundler/setup "$3" $ARGV
[Process completed]
Hello!
Fantastic library here! I'm having some trouble though. macOS Sierra, ruby 2.2.2, rails 5.0.0.1 -- I've created a new rails project (rails new ExecutableTest). I've compiled it into an executable using rb2exe --rails --target=osx
, which works fantastically on my local machine. (There are a few more intricacies relating to getting it to use Sqlite3 db, I basically had to pass the path to the db as an environment variable containing the absolute path so I could use the executable from anywhere.)
When I try to run it on a Parallels VM of macOS Sierra I just spun up, however, I get this error:
os-x-10:Desktop jaqen$ DB_PATH=`pwd`/release.sqlite3 ./output
/tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/nokogiri-1.6.8/lib/nokogiri.rb:32:in `require': dlopen(/tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/nokogiri-1.6.8/lib/nokogiri/nokogiri.bundle, 9): Library not loaded: /usr/local/opt/libxml2/lib/libxml2.2.dylib (LoadError)
Referenced from: /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/nokogiri-1.6.8/lib/nokogiri/nokogiri.bundle
Reason: Incompatible library version: nokogiri.bundle requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0 - /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/nokogiri-1.6.8/lib/nokogiri/nokogiri.bundle
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/nokogiri-1.6.8/lib/nokogiri.rb:32:in `rescue in <top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/nokogiri-1.6.8/lib/nokogiri.rb:28:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/loofah-2.0.3/lib/loofah.rb:3:in `require'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/loofah-2.0.3/lib/loofah.rb:3:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/rails-html-sanitizer-1.0.3/lib/rails-html-sanitizer.rb:2:in `require'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/rails-html-sanitizer-1.0.3/lib/rails-html-sanitizer.rb:2:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers/sanitize_helper.rb:2:in `require'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers/sanitize_helper.rb:2:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers/text_helper.rb:32:in `<module:TextHelper>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers/text_helper.rb:29:in `<module:Helpers>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers/text_helper.rb:6:in `<module:ActionView>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers/text_helper.rb:4:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers/form_tag_helper.rb:18:in `<module:FormTagHelper>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers/form_tag_helper.rb:14:in `<module:Helpers>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers/form_tag_helper.rb:8:in `<module:ActionView>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers/form_tag_helper.rb:6:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers/form_helper.rb:4:in `require'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers/form_helper.rb:4:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers.rb:50:in `<module:Helpers>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers.rb:4:in `<module:ActionView>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/actionview-5.0.0.1/lib/action_view/helpers.rb:3:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/context.rb:7:in `<module:Context>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/context.rb:6:in `<module:Rails>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/context.rb:5:in `<module:Sprockets>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/context.rb:4:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/sprockets-rails-3.2.0/lib/sprockets/railtie.rb:7:in `require'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/sprockets-rails-3.2.0/lib/sprockets/railtie.rb:7:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/sass-rails-5.0.6/lib/sass/rails/railtie.rb:3:in `require'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/sass-rails-5.0.6/lib/sass/rails/railtie.rb:3:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/sass-rails-5.0.6/lib/sass/rails.rb:11:in `require'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/sass-rails-5.0.6/lib/sass/rails.rb:11:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/sass-rails-5.0.6/lib/sass-rails.rb:1:in `require'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/sass-rails-5.0.6/lib/sass-rails.rb:1:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/runtime.rb:76:in `require'
from /tmp/selfextract.hRLsK1/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
from /tmp/selfextract.hRLsK1/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/runtime.rb:72:in `each'
from /tmp/selfextract.hRLsK1/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/runtime.rb:72:in `block in require'
from /tmp/selfextract.hRLsK1/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/runtime.rb:61:in `each'
from /tmp/selfextract.hRLsK1/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler/runtime.rb:61:in `require'
from /tmp/selfextract.hRLsK1/lib/ruby/lib/ruby/gems/2.2.0/gems/bundler-1.9.9/lib/bundler.rb:134:in `require'
from /private/tmp/selfextract.hRLsK1/lib/app/config/application.rb:7:in `<top (required)>'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:88:in `require'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:88:in `block in server'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `tap'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `server'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
from /tmp/selfextract.hRLsK1/lib/vendor/ruby/2.2.0/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>'
from bin/rails:9:in `require'
from bin/rails:9:in `<main>'
os-x-10:Desktop jaqen$
Any ideas? Perhaps I am misunderstanding the use-case here...is rb2exe meant to make a redistributable binary of a ruby program (incl rails server)? Or perhaps I need to take some extra step to properly precompile libxml2 for nokogiri? Any response is appreciated.
Your ruby version should be EXACTLY 2.2.2, not higher, not lower (your is 2.2.2).
Thank you for creating this gem!
I created a rails app and used your gem to turn it into an executable, though I am getting a syntax error in the output executable at line 11.
/output: line 11: syntax error near unexpected token
;'
./output: line 11: if ; then'
Whenever I do "gem install rb2exe" in my command prompt it says "ERROR: While executing gem ... (Errno::EACCES)
Permission denied @ rb_file_s_symlink - (bin/traveling-ruby-2.2.2/osx/lib/libcrypto.1.0.0.dylib, C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rb2exe-0.3.1/bin/traveling-ruby-2.2.2/osx/lib/libcrypto.dylib)" How do I fix?
I was trying out Example in osx, as --target=osx
flag was not provided it was failing.
This issue was created by mistake. please delete it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.