Fernando Segura Gòmez
2014-Mar-10 18:46 UTC
Problem with installing gems and run server (weird, the project run so well yesterday)
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.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/8c9ccdba-0b53-4ae1-9466-a05bc98aa27d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.