-
Notifications
You must be signed in to change notification settings - Fork 99
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
Error while compiling rails app #12
Comments
Interesting. This is due to a dependency-library failing to compile, i.e. |
Yeah. You are correct. This was an external error, which I seem to have fixed. But I have run into another error.
I have bundler version 1.15.3. Do I need to downgrade it to v 1.15.2? |
@novneetnov This is definitely my fault, since there is another similarly reported issue . Let me fix it ASAP. |
@novneetnov Weird. I failed to reproduce it locally in the latest |
@pmq20 I have downloaded rubyc by the following command: |
@novneetnov Yes, please clone the master branch and then execute from |
I figured it out. gem cannot read a virtual path. The reason why it works from the master repo is that it is reading a real path. When running from stand-alone Fixed in a84edb6 I'll release it in rubyc v0.4.0 as soon as possible. |
I have the same problem, look forward to rubyc v0.4.0 |
@novneetnov @obromios Ruby Compiler v0.4.0 released! Download: http://enclose.io/rubyc |
I downloaded the latest version and checked that The first is a warning 'The latest bundler is 1.15.4, but you are currently running 1.15.3'. This is puzzling because I am using 1.15.4, and do not have 1.15.3 installed. As well, in the output of the rubyc it actually says it is installing 1.15.3. Second, there appears to be a fatal error 'Your Ruby version is 2.4.1, but your Gemfile specified 2.2.7 As a sanity check, I ran rubyc on a 'hello world' ruby file.
This also failed, with the error
|
@obromios Regarding the sanity check, it looks as though |
Closing due to lack of response. |
error about ncurses fixed by |
-> rm -f /tmp/rubyc/rubyc_work_dir/enclose_io_memfs/lib/ruby/2.4.0/x86_64-linux/enc/utf_16le.so |
I am using ruby 2.3.3 with Rails 5.0.4
While trying to compile a rails app with
./rubyc bin/rails
I ran into an error:And the the output executable binary file was not created. Any light on this?
The text was updated successfully, but these errors were encountered: