Good afternoon
Excuse me, i have a problem with rails 4.0.0, i’ve been working with
this
framework for the last 4 months, without any problem or issue, but now
when
i try to run one server on windows so, a project to i’ve been working
for
the last week and working fine, appear this error:
Bundler::GemNotFound: Could not find mysql2-0.3.11 in any of the
sources…
materialize at
C:/jruby-1.7.10/lib/ruby/gems/shared/gems/bundler-1.5.3/lib
/bundler/spec_set.rb:92
map! at org/jruby/RubyArray.java:2441
materialize at
C:/jruby-1.7.10/lib/ruby/gems/shared/gems/bundler-1.5.3/lib
/bundler/spec_set.rb:85
specs at
C:/jruby-1.7.10/lib/ruby/gems/shared/gems/bundler-1.5.3/lib
/bundler/definition.rb:133
specs_for at
C:/jruby-1.7.10/lib/ruby/gems/shared/gems/bundler-1.5.3/lib
/bundler/definition.rb:178
requested_specs at
C:/jruby-1.7.10/lib/ruby/gems/shared/gems/bundler-1.5.3/lib
/bundler/definition.rb:167
requested_specs at
C:/jruby-1.7.10/lib/ruby/gems/shared/gems/bundler-1.5.3/lib
/bundler/environment.rb:18
setup at
C:/jruby-1.7.10/lib/ruby/gems/shared/gems/bundler-1.5.3/lib
/bundler/runtime.rb:13
setup at
C:/jruby-1.7.10/lib/ruby/gems/shared/gems/bundler-1.5.3/lib
/bundler.rb:119
(root) at
C:/jruby-1.7.10/lib/ruby/gems/shared/gems/bundler-1.5.3/lib
/bundler/setup.rb:17
require at org/jruby/RubyKernel.java:1083
(root) at
C:/jruby-1.7.10/lib/ruby/shared/rubygems/core_ext/kernel_re
quire.rb:1
require at
C:/jruby-1.7.10/lib/ruby/shared/rubygems/core_ext/kernel_re
quire.rb:135
require at org/jruby/RubyKernel.java:1083
(root) at
C:/Users/fernando/rubyonrails/tampicomusic/config/boot.rb:4
(root) at
C:/jruby-1.7.10/lib/ruby/shared/rubygems/core_ext/kernel_re
quire.rb:1
(root) at bin/rails:3
When i try to install the gem(again, because i have installed before)
with
bundle install ( if i install the gem with, gem install, appear a
message
telling the gem not found) appear this error:
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension
.
c:/jruby-1.7.10/bin/jruby.exe extconf.rb
NotImplementedError: C extension support is not enabled. Pass
-Xcext.enabled=tru
e to JRuby or set JRUBY_OPTS.
(root) at c:/jruby-1.7.10/lib/ruby/shared/mkmf.rb:8
require at org/jruby/RubyKernel.java:1083
(root) at
c:/jruby-1.7.10/lib/ruby/shared/rubygems/core_ext/kernel_require.rb
:1
¿What’s going on?.
My projects working so well yesterday, i never seen that logs, and i
confused when i see the path jruby.
My version for rails: 4.0.0 rc1
My version for ruby: 1.9.3p385 (2013-02-06) [i386-mingw32]
S.O : Windows 7 64 bits.