gem installation failed

View: New views
4 Messages — Rating Filter:   Alert me  

gem installation failed

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



i got this error message while installing mysql gem.....

kindly help me to solve this issue....

JRuby limited openssl loaded. gem install jruby-openssl for full
support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
  ERROR: Failed to build gem native extension.

C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/bin/jruby.bat
extconf.rb install mysql --no-rdoc --no-ri
The system cannot find the path specified.
'cmd' is not recognized as an internal or external command,
operable program or batch file.


Gem files will remain installed in C:/Program Files/NetBeans
6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/mysql-2.8.1 for
inspection.
Results logged to C:/Program Files/NetBeans
6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out


thanks in advance....
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: gem installation failed

by Bugzilla from leonardomateo@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, Oct 20, 2009 at 8:58 AM, Devendran Ganesan
<rails-mailing-list@...> wrote:

>
>
> i got this error message while installing mysql gem.....
>
> kindly help me to solve this issue....
>
> JRuby limited openssl loaded. gem install jruby-openssl for full
> support.
> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
> Building native extensions.  This could take a while...
> ERROR:  Error installing mysql:
>  ERROR: Failed to build gem native extension.
>
> C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/bin/jruby.bat
> extconf.rb install mysql --no-rdoc --no-ri
> The system cannot find the path specified.
> 'cmd' is not recognized as an internal or external command,
> operable program or batch file.
>
I'm not a Windows user, nor a J*** user, not even a Netbeans user, but
it seems like Netbeans is trying to execute "cmd" to get a DOS
console.
Try to open it your self and install the gem via the gem command.

Hope it helps.


--
Leonardo Mateo.
There's no place like ~

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: gem installation failed

by Hassan Schroeder-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, Oct 20, 2009 at 4:58 AM, Devendran Ganesan
<rails-mailing-list@...> wrote:

> JRuby limited openssl loaded. gem install jruby-openssl for full
> support.
> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
> Building native extensions.  This could take a while...
> ERROR:  Error installing mysql:
>  ERROR: Failed to build gem native extension.

You probably want the `jdbc-mysql` and (if you're using Rails) the
activerecord-jdbcmysql-adapter gem(s) instead.

HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@...
twitter: @hassan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: gem installation failed

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Devendran Ganesan wrote:

>
> i got this error message while installing mysql gem.....
>
> kindly help me to solve this issue....
>
> JRuby limited openssl loaded. gem install jruby-openssl for full
> support.
> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
> Building native extensions.  This could take a while...
> ERROR:  Error installing mysql:
>   ERROR: Failed to build gem native extension.
>
> C:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/bin/jruby.bat
> extconf.rb install mysql --no-rdoc --no-ri
> The system cannot find the path specified.
> 'cmd' is not recognized as an internal or external command,
> operable program or batch file.
>
>


Deva, any luck with this issue?  Having the exact same problem when I
upgraded to Netbeans 6.7.1 on Windows XP.
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---