|
Post by Dave_ on Feb 7, 2018 14:53:00 GMT
I recently upgraded to 6.0.22 from 5.5.0.55, and cannot get a project to build. I even created a brand new project, and tried building that, but it still fails.
My system is as follows:
Windows 10 x64 RhoStudio 6.0.22 (x64) Android NDK r15c Java JDK 8u151 Android SDK build-tools 27.0.3
Every time I run a build, I get the following:
[INFO]
[INFO] Running dx utility
[INFO] Packaging Assets and Jars
[INFO] Add assets/lib/_socket.iseq to C:/Users/Dave/workspace/RhoMobileApplication1/bin/rhodes.ap_...
[INFO] Packaging Native Libs
rake aborted!
NameError: uninitialized constant File::FNM_EXTGLOB
Any ideas?
Thanks
|
|
|
Post by Alex Epifanov on Feb 7, 2018 14:59:52 GMT
This is a known issue. Some dependencies require ruby 2.x. Ruby installer will be updated in Windows RMS installer. As a workaround install Ruby 2.x as system and install rhodes gem there.
|
|
|
Post by Dave_ on Feb 7, 2018 15:48:49 GMT
I've tried that (I think), and the gem won't install. I get the following:
C:\Users\David>gem install C:\Users\Dave\Desktop\RhoMobile\rhodes-6.0.22.gem Fetching: diff-lcs-1.3.gem (100%) Successfully installed diff-lcs-1.3 Fetching: mini_portile2-2.1.0.gem (100%) Successfully installed mini_portile2-2.1.0 Fetching: pkg-config-1.1.9.gem (100%) Successfully installed pkg-config-1.1.9 Fetching: nokogiri-1.6.8-x64-mingw32.gem (100%) Nokogiri is built with the packaged libraries: libxml2-2.9.4, libxslt-1.1.29, zlib-1.2.8, libiconv-1.14. Successfully installed nokogiri-1.6.8-x64-mingw32 Fetching: deep_merge-1.1.1.gem (100%) Successfully installed deep_merge-1.1.1 Fetching: rdoc-4.2.2.gem (100%) rdoc's executable "rdoc" conflicts with C:/Ruby23-x64/bin/rdoc Overwrite the executable? [yN] ERROR: Error installing C:\Users\Dave\Desktop\RhoMobile\rhodes-6.0.22.gem: "rdoc" from rdoc conflicts with C:/Ruby23-x64/bin/rdoc
Any ideas?
|
|
|
Post by Alex Epifanov on Feb 7, 2018 15:57:41 GMT
Here's my output PS C:\Users\alex> ruby -v ruby 2.3.3p222 (2016-11-21 revision 56859) [x64-mingw32] PS C:\Users\alex> gem install Z:\Downloads\rhodes-6.0.22.gem Fetching: rest-client-1.7.3-x64-mingw32.gem (100%) Successfully installed rest-client-1.7.3-x64-mingw32 Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... Thanks for installing Rhodes ! Please visit our website: tau-technologies.comSuccessfully installed rhodes-6.0.22 Parsing documentation for rest-client-1.7.3-x64-mingw32 Installing ri documentation for rest-client-1.7.3-x64-mingw32 Parsing documentation for rhodes-6.0.22 Installing ri documentation for rhodes-6.0.22 Done installing documentation for rest-client, rhodes after 12 seconds 2 gems installed What is your gem list?
|
|
|
Post by Dave_ on Feb 8, 2018 10:16:06 GMT
Hi Alex,
I got it installed in the end, and the Rhodes gems are all within the following directory:
C:\Ruby23-x64\lib\ruby\gems\2.3.0\gems (where Ruby230x64 is the directory installed by RubyInstaller)
The build now succeeds, but the actual app now force closes every time it tries to communicate with the server via https. So I'm guessing it's something in the new OpenSSL library that is causing it to trip, as the exact same code built using 5.5.0.55 using the edge libraries works fine?
Because I'm a bit pressed for time, I think I may have to roll back to 5.5 again, which is unfortunate.
Thanks for your help.
|
|
|
Post by Alex Epifanov on Feb 8, 2018 15:13:16 GMT
Do you have any logs?
|
|
|
Post by Dave_ on Feb 21, 2018 14:40:58 GMT
I figured out what it was. Basically is to do with Rho::Network.post. I had passed a nil value into the Cookie header before the post, which literally causes the app to force close, with nothing being written to the log file. If you pass a blank string in then it is fine. This was not an issue in 6.0.12, so something has changed since that build that now causes this behaviour. Hope this helps.
|
|
|
Post by Alex Epifanov on Feb 24, 2018 12:07:08 GMT
Thanks for your input Dave.
|
|