similar to: Using multiple Ruby versions

Displaying 20 results from an estimated 30000 matches similar to: "Using multiple Ruby versions"

2008 Feb 01
3
Which version of Ruby for Rails 2.0.2?
I''m using ruby 1.8.6 p111. But some people seem to think that version 1.8.5 is better. Should I give it a whirl? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe
2008 May 10
2
Camping-Omnibus Doesn''t Work With Ruby v1.8.6
I''ve noticed that the copy of Mongrel installed by the camping-omnibus gem doesn''t work with Ruby 1.8.6. Or to be more specific, cgi_multipart_eof_fix (which Mongrel is dependent upon) doesn''t work: > $ sudo gem install mongrel --source http://code.whytheluckystiff.net > > ERROR: Error installing mongrel: > cgi_multipart_eof_fix requires Ruby version
2007 Apr 11
1
Does Ruby 1.8.6 fix the Breakpointer problem?
Hello, Does anyone here know if Ruby 1.8.6 fixes the "BreakPointer" problem in Rails? The reason I ask is that I have been working with Curt Hibb''s InstantRails in Window (at last I have found a usable Rails system on Windows). Currently, I am on InstantRails 1.6, but Curt has made available InstantRails 1.7 which has the following components: Instant Rails 1.7 contains the
2007 Oct 30
7
RSpec Texmate Bundle errors
I''ve the same problem as Alastair when running rspec command : http://lists.macromates.com/pipermail/textmate/2007-October/022585.html ../spec/mate/runner.rb:34:in `run'': undefined method `parse'' for Spec::Runner::OptionParser:Class I fixed this for me by changing the offending line to : ::Spec::Runner::CommandLine.run(argv, STDERR, stdout) (see
2007 Dec 26
3
ruby 1.9 / rails 2.0.2 problem...
just now i installed ruby 1.9 and rails 2.0.2 on it when i create new rails application username-hO7X3CQjxafZmfiEtUfXeA@public.gmane.org:~/project$ rails app can''t convert Enumerable::Enumerator into Array username-hO7X3CQjxafZmfiEtUfXeA@public.gmane.org:~/project$ how to solve it ? or did i make any mistake in installation process? -- Posted via http://www.ruby-forum.com/.
2008 Mar 01
3
Possible bug when creating a Ferret::Search::Sort object?
I may have run across a bug in Ferret: if throws a segmentation fault when I try to create a Sort object using the default fields (SCORE and DOC_ID), but setting reverse to true. Here''s the minimal example: #!/usr/bin/env ruby require ''rubygems'' require ''ferret'' Ferret::Search::Sort.new Ferret::Search::Sort.new( [
2007 Aug 10
3
[ win32utils-Bugs-12979 ] Error while trying to update my gem collection
Bugs item #12979, was opened at 2007-08-10 15:29 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=12979&group_id=85 Category: windows-pr Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Error while trying to update my gem collection Initial Comment: C:\ruby>gem update Updating
2008 Sep 16
8
rspec, Rails 2.1.0, rubygems, Mac OS X Leopard - rubygems does not recognize latest version
I''m trying to run some specs on my Mac OS/Leopard machine (10.5.5) but rubygems won''t allow it: $ spec spec/models/my_spec.rb Rails requires RubyGems >= 0.9.4 (you have 0.9.3). Please `gem update --system` and try again. ...but I already have the latest & greatest installed: $ gem search --local rubygem *** LOCAL GEMS *** rubygems-update (1.2.0, 0.9.5) Tue Sep 16
2007 Apr 04
13
Mongrel dying daily with Ruby 1.8.6
Hi guys, I''ve been running mongrel for a while now with Ruby 1.8.4, and last week upgraded to 1.8.6. Since upgrading, each morning when I wake up there''s a big problem: 1. Accessing the site returns a "500 Internal Server Error" 2. All the mongrel_rails processes are still running, but none of them are active (when I run top) 3. Lighttpd and pound are still
2007 Nov 05
29
Mongrel and memory usage
Hello, I''m running a Rails application which must sort and manipulate a lot of data which are loaded in memory. The Rails app runs on 2 mongrel processes. When I first load the app, both are 32Mb in memory. After some days, both are between 200Mb and 300Mb. My question is : is there some kind of garbage collector in Mongrel? I never see the two Mongrel processes memory footprint
2007 Feb 15
2
Multiple Processes Spawned from mongrel_rails start ?
Hello, I have mongrel 1.0.1, rails 1.2.2 ruby 1.8.5 running on Centos 4.4. When I execute the mongrel_rails start -d I see that 3 processes are spawned. See below: [root at ccc aaa]# mongrel_rails start -d [root at ccc aaa]# ps -def |grep mong root 2743 1 9 07:14 ? 00:00:01 /usr/bin/ruby /usr/bin/mongrel_rails start -d root 2744 2743 0 07:14 ? 00:00:00
2007 Aug 18
6
RSpec: "--color" not working in spec.opts when combined with "--drb"
Windows XP SP 2 ruby 1.8.5 gems: rails 1.2.3 rake 0.7.3 win32console 1.0.8 plugins: rspec 1.0.8 rspec_rails 1.0.8 spec.opts: --colour --format progress --loadby mtime --reverse --drb When I run "rake spec" or "ruby script/spec spec --color" this is the output: D:\dev\project>rake spec (in D:/dev/project)
2007 Nov 26
8
search not working after upgrade
Izit Izit wrote: > Correction on my previous post. > > The correct way to do it is: > > Product.find_by_contents("*",{},:conditions =>search_conditions,:include > => [:supplier],:order =>"products.id" ) > > Leave out the :limit=>:all that is put in by default. Exactly - I tried to make aaf a bit more clever by letting it assume :limit
2008 Jan 11
26
Mongrel doesn''t start under Rails 2.0.2/Win XP
All, Mongrel 1.1.3 Rails 2.0.2 Ruby 1.8.6 Windows XP SP2 When I issue the command "ruby script/server" from any of my Rails projects on v. 2.0.2, I get a Windows dialog with the error: "The application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem." I''ve gone through the process of attempting to introduce
2007 Sep 26
1
Ruby on Rails | MS SQL Server 2005 | Configuration
Request: Full description of mechanims required to intergrate current Ruby / Ruby on Rails with MS SQL Server 2005 Environment: * Ruby 1.8.6-25 (ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]) * Rails 1.2.3 * ruby-dbi 0.1.1 (installed dbi,dbd_ADO) * OS: Windows XP Professional sp4 * MS SQL Server Express 2005 installed on local machine Background: I have used various settings for the
2010 Jun 15
11
mysql gem install not happening on Mac OS Leopard - any inputs at all??
Hello all, Ive got Mac OS X Leopard (10.5.8), ruby 1.8.6 (2009-06-08 patchlevel 369) [universal-darwin9.0] and mysql 5.0.67 installed and working fine with Rails 2.1.0. "which ruby" outputs /usr/bin/ruby. I can see the mysql symlink in / usr/local/mysql. I can also see the mysql-5.0.67-osx10.5-x86 folder in /usr/local . Im trying to upgrade my Rails apps to 2.3.5 but when i try to
2007 May 08
2
Is there a way to specify in the rails application which ruby executable to use.
Basically I am stuck with a production app running on Rails 1.1.6 needing ruby 1.8.4, while we are working in trunk on getting Rails 1.2.3 working which needs ruby 1.8.6. I can set the version of rails using RAILS_GEM_VERSION in environment.rb ... but where can I set the version of ruby to use? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2007 Sep 10
12
mongrel_rails service on windows incompatible with recent ruby builds?
i was suffering from a massive memory leak in my application. after searching and testing for quite a while i finally found that it wasn''t my app that had a leak but the win32ole support that was used by the ADO driver in sqlserver adapter. the solution to fix the leak was to install ruby 1.8.5p52 or 1.8.6p36 but sadly as soon i install one of the fixed releases mongrel won''t
2007 Sep 07
7
rpm spec files for ruby
I am trying to package ruby-1.8.6 for CentOS-4.5 and I would like to take a look at the spec files used for ruby-1.8.1 that ships with CentOS. Is there any place that I can see these or could someone do me the kindness of sending them to me? I am also confused as to how one breaks out the component parts of a build into separate rpm packages. The source distribution from ruby-lang.org seemingly
2009 Feb 22
16
Strange error when running rails 2.3 on ruby 1.9.1 on FreeBSD
I am trying to run rails on FreeBSD 7.1. I''ve already installed Ruby 1.9.1 (from ports), apache, passenger (edge version from git), Rails 2.3 RC 1 (using gem --source like described on the weblog.rubyonrails.org). Everything installed smoothly and I am able to run ruby 1.9.1 programs. The problem is when I try to run rails. It fails with this error: [grzesiu@cratan ~/.gem/ruby/1.9/gems]$