search for: ruby186

Displaying 18 results from an estimated 18 matches for "ruby186".

2010 Jun 15
3
Newbie trying to set up rails with MySQL
....8.6 (2010-02-04) [i386-mingw32] [2010-06-15 13:52:56] INFO WEBrick::HTTPServer#start: pid=3664 port=3000 /!\ FAILSAFE /!\ Tue Jun 15 13:53:04 -0700 2010 Status: 500 Internal Server Error Access denied for user ''root''@''localhost'' (using password: NO) C:/Ruby186/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/ active_record/conne ction_adapters/mysql_adapter.rb:619:in `real_connect'' C:/Ruby186/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/ active_record/conne ction_adapters/mysql_adapter.rb:619:in `connect'' C:/Ruby186/lib/ruby/gems/...
2011 Apr 27
1
'bignum too big to convert into long' while migration in rails
...now any one . Please it is urgent to me. D:\raj\tweasier>rake db:migrate --trace (in D:/raj/tweasier) DEPRECATION WARNING: Rake tasks in vendor/plugins/open_flash_chart_2/tasks, vend or/plugins/resque/tasks, and vendor/plugins/resque/tasks are deprecated. Use lib /tasks instead. (called from c:/Ruby186/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/t asks/rails.rb:10) RESQUE CONF {"production_private"=>"localhost:9878", "auth"=>{"username"=>"tweas ier", "password"=>"cdzvc4"}, "development"=>"localhost:6382...
2010 Mar 12
7
"We're sorry, but something went wrong." from RoR app
...ssage. The development log is presented below. Suggestions are extremely welcome. Thanks in Advance, Richard Development.log ============ /!\ FAILSAFE /!\ Fri Mar 12 13:42:10 -0500 2010 Status: 500 Internal Server Error Unknown database ''rts_development'' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/connection_adapters/ mysql_adapter.rb:589:in `real_connect'' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/connection_adapters/ mysql_adapter.rb:589:in `connect'...
2010 Aug 03
2
PDFKit Fork() Function Unimplemented Error - HELP!
...00 Internal Server Error. Upon inspection of the console, we find a fork() function unimplemented error. The console output is listed below: --------------- /!\ FAILSAFE /!\ Tue Aug 03 08:28:19 -0700 2010 Status: 500 Internal Server Error fork() function is unimplemented on this machine C:/Ruby186/lib/ruby/gems/1.8/gems/pdfkit-0.4.3/lib/pdfkit/pdfkit.rb:60:in `open'' C:/Ruby186/lib/ruby/gems/1.8/gems/pdfkit-0.4.3/lib/pdfkit/pdfkit.rb:60:in `to_pdf'' C:/Ruby186/lib/ruby/gems/1.8/gems/pdfkit-0.4.3/lib/pdfkit/middleware.rb:23:in `call'' C:/Ruby186/lib/ruby/ge...
2010 Jul 16
31
Added associations but don't see generated methods
Hi, I''ve got a Rails app working that includes two two classes, etc.: Expense & Vendor. I eventually learned that the mental concept I had of their relationship should be express in Rails as: class Expense < ActiveRecord::Base; belongs_to :vendor; end class Vendor < ActiveRecord::Base; has_many :expenses; end
2007 Aug 24
2
error in rails 1.2.3 activerecord
...now where to fix this in the activerecord module.... there is no such column in the sys.view.user_constraints. SELECT uc.index_name FROM user_constraints uc WHERE uc.constraint_type = ''P'' this prevents me from doing a rake test:functionals ...as in below.... C:\railsspace>c:\ruby186\ruby\bin\ruby c:\ruby186\ruby\bin\rake test:functionals --trace (in C:/railsspace) ** Invoke test:functionals (first_time) ** Invoke db:test:prepare (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:test:prepare ** Invoke db:test:clone (first_time) ** Invoke db:sc...
2010 Dec 24
2
buildr Windows 7 64 bit problems
Preface: I''m not overly familiar with the inner workings of RoR, so I apologize for my relatively superficial knowledge upfront I have a new 64 bit Windows 7 machine. My dev environment on my old machine which functions fine (sans a functioning monitor -- thus the new machine), I have the following installed and functioning well: Ruby 1.8.6 using the Windows MSI installer Buildr 1.3.3
2010 Dec 07
0
Is this error related to connection pool
...etch mail from pop server. But some times I get error. Mainly three error. And I have to restart the application again to remove this errors. But after some time the same errors again happens 1) Mysql::Error (Can''t connect to MySQL server on ''localhost'' (10048)): C:/Ruby186/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:548:in `real_connect'' C:/Ruby186/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:548:in `connect'' C:/Ruby186/lib/ruby/gems/1.8/...
2009 Jan 14
7
Utter Newbie, HELP!!!!
Dear Ruby on Rails Expert with Compassion for a Newbie, (:->) I just got started. I tried: At the Windows Command Prompt: ruby puts "Hello, world!" ^D The response is: -:2: syntax error, unexpected ''^'', expecting $end I am using Ruby 2.2 (ruby186-26.exe). What can I do, besides pull out my hair? This can be very discouraging for a complete novice. Roger --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this gro...
2008 Aug 22
2
How to find/open Spec::Expectations and Spec::Matchers
.../expectations.html, referencing the subject items. I''m running ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] over WinXP-Pro/SP2. I believe I installed RSpec with a Ruby gem. At least, I think that''s confirmed because I have a lot of stuff in the directory K:\_Utilities \ruby186-26_rc2\ruby\lib\ruby\gems\1.8\doc\rspec-1.1.4 I didn’t find any Expectations or Matchers in the rspec-1.1.4 directory. So, how can I find and open these files for reading? Thanks in Advance, Richard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are...
2009 Jun 13
2
removing Mocha; 'spec spec' fails but the specific model file passes
...------------------------------------------ 11:41 /c/work/quizmaker_demo (questions)$ spec spec ...................................c:/work/quizmaker_demo/spec/models/ user_spec.rb:86 User.authenticate(''nonexisting'', ''secret'').should be_nil (rdb:1) s c:/tools/ruby/ruby186/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/ class_method.rb:40 stubbee.__metaclass__.class_eval("def #{method}(*args, &block); mocha.method_missing(:#{method}, *a (rdb:1) c
2007 Nov 01
5
system hangs while running gem install rails
Hi, My system hangs when I start "gem install rails --remote" command in cli. It is throwing message like "Bulk updating Gem source index for: http://gems.rubyforge.org" and then hangs. When I see FAQ 3.2 in 3rd chapter (http://docs.rubygems.org/read/ chapter/19), it is not answered. Even am facing the same issue. Could you help me to resolve this issue? Thanks
2008 Aug 29
4
newbie question for installation
Hi all... just something really confused. Today I downloaded "ruby186-26.exe" according the tutorial.. then have it installed without problem then I use "gem install rails --include--dependencies" to get rails then when I use "rails testabc" for my first application I got following errors: . .. ... create script/process/reaper cr...
2010 Jul 09
0
Installing FXRuby; error and solution
...stalled_fox_version'': couldn''t find FOX header files</p> <p><br></p> <p>Then you might want to do what I did ...</p> <p><br></p> <p>Instead of attempting to install the gem, run</p> <p>&nbsp; FXRuby-1.6.19-ruby186.exe</p> <p>which can be found at</p> <p>&nbsp;&nbsp;<a class=rvts8 href="http://rubyforge.org/frs/?group_id=300">http://rubyforge.org/frs/?group_id=300</a></p> <p><br></p> <p>instead.</p> <p><br>&l...
2008 Dec 12
2
Puppet keeps trying to install packages
.../packages/apache-2.2.9_5.tbz", provider => freebsd } service { "apache22": ensure => running, enable => true, hasstatus => true, hasrestart => true } } And my site.pp is: import "classes/*" node default { include test include ruby186 include sudo include apache22 } Now when I run puppetd --test the first time it installs and starts apache. But on all following runs I get: err: //Node[default]/apache22/Package[apache22]/ensure: change from absent to present failed: Execution of ''/usr/sbin/pkg_add http://x.x.x.x/pa...
2010 Feb 23
2
Problem: The command "rake db:create:all" crashes
...ame t.timestamps end end def self.down drop_table :suppliers end end Then I ran "rake db:create:all". The Command Window display for this is: K:\_Projects\Ruby\_Rails_Apps\_EIMS\RTS>rake db:create:all (in K:/_Projects/Ruby/_Rails_Apps/_EIMS/RTS) K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activesupport-2.3.5/lib/active_support/core_ext/module/ introspection.rb:73: [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application''s s...
2008 Dec 17
0
Missing Dependency subversion is needed by package subversion-ruby
...ver help comes this way. Here''s the full output from a yum install (thanks again): [code] $ sudo yum install git Password: Loading "installonlyn" plugin Loading "rhnplugin" plugin Loading "protectbase" plugin Setting up Install Process Setting up repositories ruby186 100% |=========================| 951 B 00:00 rpmforge 100% |=========================| 1.1 kB 00:00 rhel-i386-server-5 100% |=========================| 1.4 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |===========...
2008 Nov 21
15
Switching the version of Rails that an app uses
...ILS_GEM_VERSION: 2.0.2 ============= That looks promising!! D. = = = = = = = = = = = = = = = = = = = = = = = = I pointed Firefox 3.0.4 at http://localhost:3000/payrolls and got a Routing Error (because I hadn’t fleshed out the app yet) and got Mongrel output that included the line: K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ actionpack-2.2.0/lib/action_controller/routing/ recognition_optimisation.rb:66:in [snip] indicating that Rails 2.2.0 was being used, not 2.0.2 that I specified nor 2.2.1 that Rails –v reported. --~--~---------~--~----~------------~-------~--~----~ You received...