You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install the activerecord-jdbcmysql-adapter gem (using Jruby 1.7.16.1) but getting a message about the yard-method-overrides repo. See log below. If I'm correct the repo name has changed to now/yard-method-overrides and the activerecord-jdbcmysql-adapter Gemfile should be updated. Is this correct?
Part of my Gemfile:
platforms :jruby do
gem 'activerecord-jdbcmysql-adapter', :github => 'jruby/activerecord-jdbc-adapter'
gem 'jdbc-mysql'
end
Updating git://github.com/jruby/activerecord-jdbc-adapter.git
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies......................................................................................................................................................................................................................................................................................................................................................................................
Using rake 10.3.2
Using i18n 0.6.11
Using minitest 4.7.5
Using multi_json 1.10.1
Using thread_safe 0.3.4
Using tzinfo 0.3.42
Using activesupport 4.0.0
Using builder 3.1.4
Using erubis 2.7.0
Using rack 1.5.2
Using rack-test 0.6.2
Using actionpack 4.0.0
Using mime-types 1.25.1
Using polyglot 0.3.5
Using treetop 1.4.15
Using mail 2.5.4
Using actionmailer 4.0.0
Using activemodel 4.0.0
Using activerecord-deprecated_finders 1.0.3
Using arel 4.0.2
Using activerecord 4.0.0
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
rake aborted!
Bundler::GitError: The git source git://github.com/kares/yard-method-overrides.git is not yet checked out. Please run bundle install before trying to start your application
/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/git/git_proxy.rb:151:in allowed_in_path' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/git/git_proxy.rb:47:inrevision'
/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/git.rb:212:in revision' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/git.rb:81:ininstall_path'
/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/path.rb:126:in load_spec_files' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/git.rb:185:inload_spec_files'
/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/path.rb:92:in local_specs' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/git.rb:155:inspecs'
/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/definition.rb:516:in converge_locked_specs' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/definition.rb:505:inconverge_locked_specs'
/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/definition.rb:190:in resolve' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/definition.rb:132:inspecs'
/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/definition.rb:177:in specs_for' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/definition.rb:166:inrequested_specs'
/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/environment.rb:18:in requested_specs' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:13:insetup'
/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler.rb:121:in setup' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/setup.rb:17:in(root)'
/usr/local/rvm/gems/jruby-1.7.16.1/bundler/gems/activerecord-jdbc-adapter-63bcb879ea9c/Rakefile:1:in (root)' /usr/local/rvm/gems/jruby-1.7.16.1/bundler/gems/activerecord-jdbc-adapter-63bcb879ea9c/Rakefile:102:in(root)'
(See full trace by running task with --trace)
Gem files will remain installed in /usr/local/rvm/gems/jruby-1.7.16.1/bundler/gems/activerecord-jdbc-adapter-63bcb879ea9c for inspection.
Results logged to /usr/local/rvm/gems/jruby-1.7.16.1/bundler/gems/activerecord-jdbc-adapter-63bcb879ea9c/./gem_make.out
An error occurred while installing activerecord-jdbc-adapter (1.4.0.dev), and
Bundler cannot continue.
The text was updated successfully, but these errors were encountered:
hey @truesynergy ... as the trace states there's an error before the bundle install message :
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
master is trying to elminate the need to have the native .jar commited, but clearly it's not working for you.
you will need to have JDK installed at minimum to have it working with a :git path, there are still issues, I will hopefully look at them at some point. in the mean time just do not use master it's unfinished anyways!
Hi,
I'm trying to install the activerecord-jdbcmysql-adapter gem (using Jruby 1.7.16.1) but getting a message about the yard-method-overrides repo. See log below. If I'm correct the repo name has changed to now/yard-method-overrides and the activerecord-jdbcmysql-adapter Gemfile should be updated. Is this correct?
Part of my Gemfile:
platforms :jruby do
gem 'activerecord-jdbcmysql-adapter', :github => 'jruby/activerecord-jdbc-adapter'
gem 'jdbc-mysql'
end
Updating git://github.com/jruby/activerecord-jdbc-adapter.git
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies......................................................................................................................................................................................................................................................................................................................................................................................
Using rake 10.3.2
Using i18n 0.6.11
Using minitest 4.7.5
Using multi_json 1.10.1
Using thread_safe 0.3.4
Using tzinfo 0.3.42
Using activesupport 4.0.0
Using builder 3.1.4
Using erubis 2.7.0
Using rack 1.5.2
Using rack-test 0.6.2
Using actionpack 4.0.0
Using mime-types 1.25.1
Using polyglot 0.3.5
Using treetop 1.4.15
Using mail 2.5.4
Using actionmailer 4.0.0
Using activemodel 4.0.0
Using activerecord-deprecated_finders 1.0.3
Using arel 4.0.2
Using activerecord 4.0.0
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
rake aborted!
Bundler::GitError: The git source git://github.com/kares/yard-method-overrides.git is not yet checked out. Please run
bundle install
before trying to start your application/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/git/git_proxy.rb:151:in
allowed_in_path' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/git/git_proxy.rb:47:in
revision'/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/git.rb:212:in
revision' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/git.rb:81:in
install_path'/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/path.rb:126:in
load_spec_files' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/git.rb:185:in
load_spec_files'/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/path.rb:92:in
local_specs' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/source/git.rb:155:in
specs'/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/definition.rb:516:in
converge_locked_specs' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/definition.rb:505:in
converge_locked_specs'/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/definition.rb:190:in
resolve' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/definition.rb:132:in
specs'/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/definition.rb:177:in
specs_for' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/definition.rb:166:in
requested_specs'/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/environment.rb:18:in
requested_specs' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:13:in
setup'/usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler.rb:121:in
setup' /usr/local/rvm/gems/jruby-1.7.16.1@global/gems/bundler-1.7.4/lib/bundler/setup.rb:17:in
(root)'/usr/local/rvm/gems/jruby-1.7.16.1/bundler/gems/activerecord-jdbc-adapter-63bcb879ea9c/Rakefile:1:in
(root)' /usr/local/rvm/gems/jruby-1.7.16.1/bundler/gems/activerecord-jdbc-adapter-63bcb879ea9c/Rakefile:102:in
(root)'(See full trace by running task with --trace)
Gem files will remain installed in /usr/local/rvm/gems/jruby-1.7.16.1/bundler/gems/activerecord-jdbc-adapter-63bcb879ea9c for inspection.
Results logged to /usr/local/rvm/gems/jruby-1.7.16.1/bundler/gems/activerecord-jdbc-adapter-63bcb879ea9c/./gem_make.out
An error occurred while installing activerecord-jdbc-adapter (1.4.0.dev), and
Bundler cannot continue.
The text was updated successfully, but these errors were encountered: