similar to: Apache can''t load/require rubygems

Displaying 20 results from an estimated 5000 matches similar to: "Apache can''t load/require rubygems"

2006 May 02
2
Uninstalling RUBYGEMS
Hi, does anyone know how to uninstall rubygem? I installed and it had the notorious hanging problem that no one seems to have an answer to. So I am going to attempt to install Rails without gems. Could someone point me in the right direction if you would not answer me? =) Regards, Edmund -- Posted via http://www.ruby-forum.com/.
2006 May 29
0
Non standard rubygems location
Hi, Page 183 of Programming Ruby, talking about the $: load path variable, states: "You can always add additional directories to this array from within your running program". So why can''t I do this in environment.rb: $:.concat(Dir["/home/jhughes/lib/ruby/site_ruby/1.8"]) # path points at my install of rubygems and then have require ''rubygems''
2006 Jan 10
0
Problem installing rubygems-0.8.11
I''m having an issue installing rubygems-0.8.11 on 2 different boxes but get the same error on both. The first box is a host environment where I am cross-compiling things for the arm-linux architecture. It is a debian sarge box using the ruby1.8 package which is ruby-1.8.2. I successfully cross-compiled ruby 1.8.4 for the arm-linux architecture and it runs well on the embedded
2006 Jul 18
7
backgroundrb and autotest
Hi, First, thanks for the plugin. Sorry if this is not strictly a backgroundrb issue but I thought others on this list might have come across this problem. I''m trying to run the test that comes via the worker generator. The test works fine when running ''rake test_functional'', but when the tests are run by autotest I get "uninitialized constant BackgrounDRb"
2006 Aug 25
4
Rake tasks fail silently, how to debug?
Hi, I''ve been using backgroundrb with some success up to now, but now when I do the start or setup tasks they just fail silently. Nothing in the log, no .pid file, and nothing in the process list. Rake with -trace just says, ** Invoke backgroundrb:setup (first_time) ** Execute backgroundrb:setup Any hints on how I can get more verbosity, or thoughts on what might be happening? (This
2007 Sep 14
2
Mocks in StoryRunner
Hi, I''m trying to get up and running with StoryRunner. I have a story that looks something like the following, but the call to mock_model produces the exception listed below. Am I just misunderstanding the concept? Are mocks not meant to be used in stories like this? Or is this a bug? Changing @user to be an actual AR object makes things run without error. ENV["RAILS_ENV"] =
2007 Sep 19
1
Strange error in StoryRunner (was: Mocks in StoryRunner)
Hi, I''m posting this stack trace again because it keeps popping up, seemingly as the ''default error'' when something is wrong with my story code; for instance, I got it when I referenced a variable in my ''Given'' that I had forgotten to pass into the block. Now I''m getting it when I attempt to post to a login action: And ''user is
2008 Nov 24
14
Problem with RubyGems installation
Hello, I am trying to install RubyGems on Ubuntu and i''m having trouble. I''ve downloaded rubygems 1.3.1 and when i run the sudo ruby setup.rb command I get the problem mentioned below. I''d really appreciate if someone can help me out. Thanks mkdir -p /usr/local/lib/site_ruby/1.8 mkdir -p /usr/bin install -c -m 0644 rbconfig/datadir.rb
2007 Feb 15
17
Odd parameter munging with with()
Hi, I have this setup block: setup do session[:login] = ''jhughes'' @user = mock("user") User.stub!(:find).and_return(@user) @params = {:cn => "Bilbo Baggins", :telephoneNumber => "416-277-4418", :mail => "bilbo at baggins.com"} end And then this spec: specify "should update and save the
2007 Oct 12
3
Strange mock_model behaviour with ActiveResource model
Hi, I have two models in an app that inherit from ActiveResource::Base. The scaffold controller tests for one of the models works fine, but the other one dies when calling mock_model in the "handling GET /fa_codes" spec: Specifically, the call to mock model here: before do @fa_code = mock_model(FaCode) FaCode.stub!(:find).and_return([@fa_code]) end generates this failure:
2006 Aug 08
2
"include DRbUndumped" error
Hi, I am getting my hands on trying the cool BackgrounDrb plugin. Following various discussions and suggestsion, I included "include DRbUndumped" in my ActiveRecord model. However, the following exception occurs after I tried this and hit the page that uses this model. Does anyone know why this is so? Is it possible that an object cannot be DRbUndumped (that would mean, we
2006 Jan 15
15
Gettext and Rails ?
Hello, I''m trying to use ruby-gettext 1.1.1 (installed with gem) with rails and here is all I get : undefined method `init_gettext'' for ApplicationController:Class Here is my source : require ''gettext/rails'' class ApplicationController < ActionController::Base init_gettext "test" end As a Nuby, I don''t really know what to do.
2006 Jun 01
9
@model.errors.empty? => true; @model.valid? => false
Hi, So, how can the situation described in the subject come to be? In other words, what could be invalidating the model, yet not generating an error? thanks, jh ps. here''s the breakpoint session paste: irb(#<#<Class:0xb72eec00>:0xb72eeb10>):003:0> @project.errors.empty? => true irb(#<#<Class:0xb72eec00>:0xb72eeb10>):004:0> @project.valid? => false
2006 Aug 24
0
"rake spec" doesn''t work after upgrade to 0.6.1
Hi: spec <files> works though. Stack trace: rake spec (in /home/jhughes/work/media-catalog/trunk) /usr/bin/ruby1.8 -Ilib /usr/lib/ruby/gems/1.8/gems/rspec-0.6.1/bin/spec "spec/models/category_spec.rb" "spec/models/item_spec.rb" /usr/lib/ruby/gems/1.8/gems/rspec-0.6.1/lib/spec.rb:1:in `require'': no such file to load -- spec/version (LoadError) from
2006 Aug 15
4
observe_form not serializing form
I want to use observe_form to automatically save notes in a text_area. This is the code I have: <form id=''notes_form''> <%= text_area :contact, :notes, :cols => 40, :rows => 10, :id =>''notes_text_area'' %> <%= observe_form(''notes_form'', :frequency => 1,
2006 Apr 01
8
ROR on solaris 10 gem installation error
On my Sun Enterprise 450, I installed ruby-1.8.4 from sunfreeware.com. That installed like a dream. I then downloaded rubygems-0.8.11. Untarred into /usr/local/src and tried to do a /usr/local/bin/ruby install.rb this is what followed and can someone help me figure out what to do? bash-3.00# /usr/local/bin/ruby setup.rb ---> bin <--- bin ---> lib ---> lib/rubygems <---
2006 Mar 31
6
Install rubygems error
I made the mistake of trying to upgrade to 1.8.4 from 1.8.2 and had intended to upgrade to rails 1.1. I have now completely borked my ruby gems installation. After installing ruby I get the following error when trying to execute gem: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- zlib (LoadError) from
2016 Jan 20
2
signing RPM packages with SHA256
On 01/20/2016 04:39 AM, Johnny Hughes wrote: > On 01/20/2016 01:37 AM, Alice Wonder wrote: >> hi, >> >> I noticed that RPM packages I sign use SHA1 >> >> Signature : RSA/SHA1, Fri 08 Jan 2016 10:50:58 AM PST, Key ID >> ad3b591d147abf59 >> >> Signatures from CentOS 7 use SHA256 >> >> Signature : RSA/SHA256, Wed 06 Jan 2016 08:54:58
2016 Jan 20
1
signing RPM packages with SHA256
On 01/20/2016 04:48 AM, Johnny Hughes wrote: > On 01/20/2016 04:39 AM, Johnny Hughes wrote: >> On 01/20/2016 01:37 AM, Alice Wonder wrote: >>> hi, >>> >>> I noticed that RPM packages I sign use SHA1 >>> >>> Signature : RSA/SHA1, Fri 08 Jan 2016 10:50:58 AM PST, Key ID >>> ad3b591d147abf59 >>> >>> Signatures from
2014 Oct 23
2
httpd on centos 7
I have read the info on apache 2.4... I added to the bottom of httpd.conf these lines (and restarted httpd) ------------------------- <Directory /var/www/html> # old 2.2 config # Order Allow,Deny # Allow from all AllowOverride None Require all granted </Directory> <Directory /home/silentm/public_html/gifs> AllowOverride None Require all granted </Directory>