search for: ruby2

Displaying 13 results from an estimated 13 matches for "ruby2".

Did you mean: ruby
2008 Jul 16
2
Error when running my unit test...
...ons ** Execute db:test:prepare ** Invoke db:test:clone (first_time) ** Invoke db:schema:dump (first_time) ** Invoke environment ** Execute db:schema:dump ** Invoke db:test:purge (first_time) ** Invoke environment ** Execute db:test:purge rake aborted! EMULTIHOP (Reserved) /home/dk90394/netbeans-6.1/ruby2/jruby-1.1/lib/ruby/gems/1.8/gems/ activerecord-2.0.2/lib/active_record/connection_adapters/ mysql_adapter.rb:471:in `connect'' /home/dk90394/netbeans-6.1/ruby2/jruby-1.1/lib/ruby/gems/1.8/gems/ activerecord-2.0.2/lib/active_record/connection_adapters/ mysql_adapter.rb:165:in `initialize'...
2009 Sep 17
1
Load Error Using Mechanize Gem
...thers): mechanize-0.9.3, nokogiri-1.3.3-java Operating System: Windows Vista Home Premium, Service Pack 1, 64-Bit Error message stack: JRuby limited openssl loaded. gem install jruby-openssl for full support. http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL C:/Program Files (x86)/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/1.8/ffi/library.rb:18:in `ffi_lib'': Could not open any of [xml2, xslt, exslt] (LoadError) from C:/Program Files (x86)/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/nokogiri-1.3.3-java/lib/nokogiri/ffi/libxml.rb:5 from C:/Program Files (x86)/Ne...
2010 Jan 07
1
Active Record Error
...thrown. So that''s why I''m email you out of the blue, to which I apologize, but I''m not seeing any solutions on the web or rails forums and you had mentioned you work with rails daily and thought you could quickly identify the problem area. C:/Program Files/NetBeans 6.8/ruby2/jruby-1.4.0/lib/ruby/gems/1.8/gems/ activerecord-2.1.1/lib/active_record/connection_adapters/abstract/ connection_specification.rb:215:in `establish_connection'': undefined method `[]'' for false:FalseClass (NoMethodError) from C:/Program Files/NetBeans 6.8/ruby2/jruby-1.4.0...
2010 Feb 25
2
error on project run.....
Hi, i am new at rails, working on a project,as i run my project in netbeans, the following error comes in the output window, suggest some fix for it. C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/ gems/rails-2.3.2/lib/initializer.rb:32: C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/ initializer.rb:1070: , unexpected kEND (SyntaxError) from C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/ ruby/gems/...
2009 Oct 20
3
gem installation failed
...sue.... 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/jr...
2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
...le'' for class `ActionView::Base'' (NameError) Exiting from D:/projects/passdate2009/src/vendor/rails/railties/lib/ commands/server.rb:49 from D:/projects/passdate2009/src/vendor/rails/railties/lib/ commands/server.rb:27:in `require'' from D:/NetBeans/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/ rubygems/custom_require.rb:27:in `require'' from script\server:3 '' gloablize rewrites render_file (in order to cache templates). render_file does not more exist, though... How can this be resolved? Thx Clemens --~--~---------~--~----~--...
2010 Dec 16
1
Ambiguous match error for Cucumber
...ucumber::Ambiguous) features/tasklist.feature:8:in `When I go to the tasks page'' Failing Scenarios: cucumber features/tasklist.feature:6 # Scenario: List Tasks 1 scenario (1 failed) 3 steps (1 failed, 1 skipped, 1 passed) 0m0.063s rake aborted! Command failed with status (1): [/usr/local/ruby2/bin/ruby -I "/usr/local/r...] (See full trace by running task with --trace) " Can anyone tell me what is the wrong with my test code? Thanks, Mike -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Ra...
2010 Jan 09
9
Problem with Sessions
...e no longer works and I get the following error in WEBrick: => Booting WEBrick => Rails 2.3.2 application starting on http://0.0.0.0:3001 JRuby limited openssl loaded. gem install jruby-openssl for full support. http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL I:/Program Files/NetBeans 6.7.1/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:84 warning: given block not used => Call with -d to detach => Ctrl-C to shutdown server [2010-01-09 17:52:22] INFO WEBrick 1.3.1 [2010-01-09 17:52:22] INFO ruby 1.8.6 (2009-07-23) [java] [2010-01-0...
2003 May 21
1
netstat/ipcs inside jail
...when i'm in a jail, netstat doesn't work properly. Hopefully i have provided sufficient information for anyone willing to help me :p First of all, my system : FreeBSD cube.kmem.org 4.8-STABLE FreeBSD 4.8-STABLE #6: Tue May 20 22:22:47 CEST 2003 root@cube.kmem.org:/usr/obj/usr/src/sys/ruby2 i386 System was updated, mergemaster done, kernel in sync with world. The interfaces par of my rc.conf from the host : ifconfig_rl1="inet 10.0.2.1 netmask 255.255.255.0" ifconfig_rl1_alias0="inet 10.0.2.6 netmask 0xffffffff" route_0="10.0.2.6 -iface lo0" inetd_fla...
2007 Oct 18
6
Bug in minimal.rb
Hi! I discovered WxRuby2 and WxSugar a short while ago (1.9.1) and I really like its professional look and the platform independance. But especially the simplification and ''rubyfication'' that you already achieved and are planning for 1.9.2 (event handlers) is funstuff! Thanks a lot! And with Ruby 1.9...
2006 Nov 24
0
[755] trunk/wxruby2/lib/wx/classes: Nicer more meaningful string representations of objects; hide Wxruby2
...e {border:1px solid #ccc;margin:10px 0;} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[755] trunk/wxruby2/lib/wx/classes: Nicer more meaningful string representations of objects; hide Wxruby2</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>755</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date&...
2006 May 03
6
Scaffold Generation Problem
Greetings all, I''m sure there is probably a very obvious reason for the following problem. However, after much hair pulling, I am just not seeing it yet. As you can see from the trace below, I am not able to complete scaffold generation due to some problem between rails and mysql. I double checked MySQL to make sure both my Ruby user and Root user have full rights to the database.
2005 May 12
26
performance update
...extension and dropping CGI support in favor of fcgi would be worthwhile. But 200 requests per second is pretty fast already, so maybe this should be postponed for a 1.x release. I have experimented with a modified GC algorithm, but it turned out that manual control of GC is still faster. Hopefully ruby2 will improve this. -- stefan