Post by egghead on Oct 15, 2024 7:13:55 GMT
My dev environment is Windows 11. I just created a test Rhoconnect app and ran bundle install :
D:\rhoworkspace\testrcapp>bundle install
Your Gemfile lists the gem rhomobile-debug (>= 1.0.2) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once (per group).
While it's not a problem now, it could cause errors if you change the version of one of them later.
The dependency win32-api (= 1.4.5) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for x86-mswin32, x86-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mswin32 x86-mingw32`.
The dependency win32-process (= 0.6.6) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for x86-mswin32, x86-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mswin32 x86-mingw32`.
The dependency eventmachine (~> 1.0.5) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for ruby, x86-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform ruby x86-mingw32`.
The dependency thin (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for ruby, x86-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform ruby x86-mingw32`.
The dependency rack-fiber_pool (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for ruby, x86-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform ruby x86-mingw32`.
The dependency async-rack (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for ruby, x86-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform ruby x86-mingw32`.
The dependency jdbc-sqlite3 (>= 3.7.2) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
The dependency dbi (>= 0.4.5) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
The dependency dbd-jdbc (>= 0.1.4) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
The dependency puma (~> 1.6.0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
The dependency warbler (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching github.com/tauplatform/async-rack.git
Fetching gem metadata from rubygems.org/.......
Fetching gem metadata from rubygems.org/.
Resolving dependencies...
Unable to find a spec satisfying win32-api (= 1.4.5) in the set. Perhaps the lockfile is corrupted?
And on trying to run the RC app, it does not start, complains about async-rack.git not yet checked out :
D:\rhoworkspace\testrcapp>rhoconnect start
Traceback (most recent call last):
29: from d:/RhoMobileSuite7.6.9/ruby/bin/rhoconnect:23:in `<main>'
28: from d:/RhoMobileSuite7.6.9/ruby/bin/rhoconnect:23:in `load'
27: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/rhoconnect-7.6.9/bin/rhoconnect:14:in `<top (required)>'
26: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/rhoconnect-7.6.9/bin/rhoconnect:21:in `<class:Execute>'
25: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/rhoconnect-7.6.9/bin/rhoconnect:21:in `require_relative'
24: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/rhoconnect-7.6.9/commands/parser.rb:180:in `<top (required)>'
23: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/rhoconnect-7.6.9/commands/parser.rb:37:in `execute'
22: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler.rb:114:in `require'
21: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler.rb:107:in `setup'
20: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:20:in `setup'
19: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:108:in `block in definition_method'
18: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:226:in `requested_specs'
17: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:237:in `specs_for'
16: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:170:in `specs'
15: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:258:in `resolve'
14: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:268:in `index'
13: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/index.rb:11:in `build'
12: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:271:in `block in index'
11: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:271:in `each'
10: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:273:in `block (2 levels) in index'
9: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git.rb:167:in `specs'
8: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/path.rb:100:in `local_specs'
7: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git.rb:200:in `load_spec_files'
6: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/path.rb:163:in `load_spec_files'
5: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/path.rb:126:in `expanded_path'
4: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git.rb:93:in `install_path'
3: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git.rb:225:in `revision'
2: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git/git_proxy.rb:64:in `revision'
1: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git/git_proxy.rb:192:in `find_local_revision'
d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git/git_proxy.rb:235:in `allowed_in_path': The git source github.com/tauplatform/async-rack.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError)
Any workarounds? Thanks
D:\rhoworkspace\testrcapp>bundle install
Your Gemfile lists the gem rhomobile-debug (>= 1.0.2) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once (per group).
While it's not a problem now, it could cause errors if you change the version of one of them later.
The dependency win32-api (= 1.4.5) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for x86-mswin32, x86-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mswin32 x86-mingw32`.
The dependency win32-process (= 0.6.6) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for x86-mswin32, x86-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mswin32 x86-mingw32`.
The dependency eventmachine (~> 1.0.5) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for ruby, x86-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform ruby x86-mingw32`.
The dependency thin (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for ruby, x86-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform ruby x86-mingw32`.
The dependency rack-fiber_pool (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for ruby, x86-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform ruby x86-mingw32`.
The dependency async-rack (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for ruby, x86-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform ruby x86-mingw32`.
The dependency jdbc-sqlite3 (>= 3.7.2) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
The dependency dbi (>= 0.4.5) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
The dependency dbd-jdbc (>= 0.1.4) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
The dependency puma (~> 1.6.0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
The dependency warbler (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x64-mingw32 but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching github.com/tauplatform/async-rack.git
Fetching gem metadata from rubygems.org/.......
Fetching gem metadata from rubygems.org/.
Resolving dependencies...
Unable to find a spec satisfying win32-api (= 1.4.5) in the set. Perhaps the lockfile is corrupted?
And on trying to run the RC app, it does not start, complains about async-rack.git not yet checked out :
D:\rhoworkspace\testrcapp>rhoconnect start
Traceback (most recent call last):
29: from d:/RhoMobileSuite7.6.9/ruby/bin/rhoconnect:23:in `<main>'
28: from d:/RhoMobileSuite7.6.9/ruby/bin/rhoconnect:23:in `load'
27: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/rhoconnect-7.6.9/bin/rhoconnect:14:in `<top (required)>'
26: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/rhoconnect-7.6.9/bin/rhoconnect:21:in `<class:Execute>'
25: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/rhoconnect-7.6.9/bin/rhoconnect:21:in `require_relative'
24: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/rhoconnect-7.6.9/commands/parser.rb:180:in `<top (required)>'
23: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/rhoconnect-7.6.9/commands/parser.rb:37:in `execute'
22: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler.rb:114:in `require'
21: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler.rb:107:in `setup'
20: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:20:in `setup'
19: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:108:in `block in definition_method'
18: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:226:in `requested_specs'
17: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:237:in `specs_for'
16: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:170:in `specs'
15: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:258:in `resolve'
14: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:268:in `index'
13: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/index.rb:11:in `build'
12: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:271:in `block in index'
11: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:271:in `each'
10: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/definition.rb:273:in `block (2 levels) in index'
9: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git.rb:167:in `specs'
8: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/path.rb:100:in `local_specs'
7: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git.rb:200:in `load_spec_files'
6: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/path.rb:163:in `load_spec_files'
5: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/path.rb:126:in `expanded_path'
4: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git.rb:93:in `install_path'
3: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git.rb:225:in `revision'
2: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git/git_proxy.rb:64:in `revision'
1: from d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git/git_proxy.rb:192:in `find_local_revision'
d:/RhoMobileSuite7.6.9/ruby/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/source/git/git_proxy.rb:235:in `allowed_in_path': The git source github.com/tauplatform/async-rack.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError)
Any workarounds? Thanks