Displaying 20 results from an estimated 10000 matches similar to: "problem with starting the rails server through cron"
2009 Apr 06
3
After Rails 2.3.2 upgrade: superclass mismatch for class TestCase (TypeError)
I upgraded a working app from rails 2.1 to 2.3.2. Now when I run rake
test:units I get this error: /usr/lib/ruby/gems/1.8/gems/
activesupport-2.3.2/lib/active_support/test_case.rb:17: superclass
mismatch for class TestCase (TypeError)
I generated a new test app and all tests run OK.
For the upgrade I ran rake:update and renamed the class in test_helper
to ActiveSupport::TestCase. Also renamed
2012 Jan 24
2
Cipher is not a module
Hi,
I''m trying to install puppet as a client on a new machine.
I received this weird error when trying to start up as /etc/init.d/
puppet start :
/usr/lib/ruby/1.8/openssl/cipher.rb:22: Cipher is not a module
(TypeError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
36:in `gem_original_require''
from
2010 Sep 23
3
superclass mismatch for class Tempfile
I''ve been facing a problem when generating a model (or controller, ...). I''m
using rails 2.3.8 and ruby 1.8.7.
Has anybody been facing anything like this?
script/generate controller test
/usr/lib/ruby/1.8/tempfile.rb:12: superclass mismatch for class Tempfile
(TypeError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
2007 Dec 12
4
logger & debug level
greetings,
i am getting the below error message in my mongrel log and I want to
turn that 22 levels into a full trace. but i am unsure where or how
to configure the debug level for mongrel. any advice?
thanks - john
/usr/lib/ruby/gems/1.8/gems/ruby-debug-0.9.3/cli/ruby-debug/
interface.rb:24:in `join'': can''t convert nil into String (TypeError)
from
2007 Sep 12
0
Error when running migrations
I''ve checked out a rails project that i''m working on from a repository,
and created a new database for it. However whenever i try and run the
migrations i get the following error:
rake aborted!
#<AppConfig:0xb7870f84> is not a class/module
Whenever I try to fire up a webrick server, i get the following error:
=> Booting WEBrick...
2010 Dec 15
5
Having trouble testing :( "superclass mismatch" and can't load "test_helper"
I''m having trouble testing my Rails 3 application. Unit testing
doesn''t work. If I try ruby article_test.rb directly, I get a "no
such file to load" error, and if I try rake test:units or ruby unit/
article_test.rb I get this odd "superclass mismatch for class
ArticlesController" error!
I''m hoping I can get this settled...
My test files were
2010 Jan 20
1
CRITICAL: Rails 3 error : parser.bundle unhandled exception!!!
kristian-mandrups-macbook-pro:rails3_apps kristianconsult$ rails my_r3
create
create README
create .gitignore
create Rakefile
create config.ru
create Gemfile
create app
...
kristian-mandrups-macbook-pro:my_r3 kristianconsult$ script/console
/Users/kristianconsult/.gem/ruby/1.8/gems/json-1.1.9/ext/json/ext/
parser.bundle: unhandled exception
2010 Nov 01
0
Vimeo API Error.
I am working on an Application which requires Vimeo API. I have done
that on separate application but when i am trying to get that thing on
actual project it doesn''t work. I have followed this .
http://github.com/matthooks/vimeo
for getting this up.
The error comes when I add config.gem "vimeo" into environment.rb.
where as
[Awijeet@localhost loc]$ gem list -l
vimeo (1.2.2)
2007 Nov 17
0
rake errors
Folks,
I have a rake task that runs via cron and calls a controller action. I
was getting the ''config/boot.rb:28:Warning: require_gem is obsolete''
warning, so I ran rake update:rails. Now I''m getting a whole bunch of
errors and the rake task bombs. The traceback on the errors doesn''t
seem to make much sense to me. Help?
rake task...
require
2009 Apr 15
0
hpricot bug?
I get an error in the hpricot-gem on Windows XP sp3. I have tested
different versions of it and combined them with different versions of
sequel (including the latest of both).
The error triggers on the line when I do: require ’hpricot’.
The line that causes the error in the hpricot-gem in the file
elements.rb (line 395) looks like this:
nth = proc { |num,i| self.position == num.to_i }
What is
2011 Jan 22
1
uninitialized constant ActionView::Helpers::TagHelper::ERB (NameError)
I am a new to ruby and rails and am trying to refactor some code with
rspec and have run into a problem that has stumped me for a few days and
I have searched google and ruby/rails forums to no avail so I really
hope somebody can help me out with this problem which I think may be
caused by a rails config problem. Anyway, I used ''rails new myapp'' to
make a new rails project and
2009 May 25
2
CAn u please tell wats the prob in runnning my project?
[~/kallori]# rake db:migrate
(in /home/gm/kallori)
no such file to load -- hmac-sha1
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require''
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:510:in `require''
2009 Oct 08
0
autospec cannont find gems
I am trying to install rspec for rails and have the following gems
install
C:\INSTAN~3.0-W\rails_apps\katai>gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.4, 2.0.2)
actionpack (2.3.4, 2.0.2)
activerecord (2.3.4, 2.0.2)
activeresource (2.3.4, 2.0.2)
activesupport (2.3.4, 2.0.2)
authlogic (2.1.2)
autotest-rails (4.1.0)
builder (2.1.2)
capistrano (2.5.9, 2.1.0)
cgi_multipart_eof_fix
2006 Dec 29
2
Gems looking in the wrong dir
Hello,
When I tested out SVN 1987, puppetmasterd barfs because gems is
looking in puppet/rails/lib no puppet/rails. This is under FC6 with
gems/rails installed from source. The simple fix for me was to create
the directory lib and link the files in /puppet/rails there.
.r''
Original error:
# puppetmasterd --debug
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
2009 Mar 26
0
another problem starting mongrel
i am having yet another problem starting mongrel on my production
server..
i am getting error [1] .. i thought it was that i needed to install a
new gem, but nothing is ringing any bells..
any ideas?
thanks!
------
[1]
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:442:in
`load_missing_constant'': uninitialized constant Localization::CONFIG
2012 Feb 25
1
Seems I'm missing some kind of library?
When I run "rake db:create --trace" in my rails directory, or if I
attempt a "bundle install" I get the same error around missing
"rubygems/format". I am new, but I am really hoping there is some way
that I can discover which package this "rubygems/format" belongs in.
I did a locate on "format" | grep gem and I didn''t find any
2007 Apr 13
1
mongrel on linux error - custom_require.rb:27:in `gem_original_require'': no such file to load -- (LoadErro
We''re deploying mongrel with Apache on CentOS.
I have installed mongrel but when I try to run it, I get the following
error.
Can someone tell my why and how to fix it. Also does anyone have experience
in deploying mongrel on CentOS ?
mongrel_rails start -d
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load -- (LoadError)
2010 Aug 02
0
delayed)_job gem installation issue
here is my environment.rb
config.gem ''collectiveidea-delayed_job'', :source => ''http://
gems.github.com''
>>gem list | grep coll
collectiveidea-delayed_job (1.8.2)
The gem infact got installed via rake gems:install. but now when I
start my app, it doesn''t recognize the gem being installed. Please
help.
script/generate delayed_job
2007 Nov 26
0
rSpec (rev 2996), Rails (rev 8214): TextMate bundle problems
Hey guys,
I''m trying to get rSpec (rev 2996) working with Rails 2 (rev 8214).
Running the tests from the command line works, no problem.
I installed the RSpec.tmbundle (also rev 2996), and would like to see
the HTML test results in TextMate. When I run the "Run examples in
selected files/directories" command in TextMate, I get the following
dump:
2009 Dec 29
1
undefined method `alias_method_chain' for I18n::Backend::Simple:Class
Hi,
We are running RE:
ruby 1.8.7 (2009-06-12 patchlevel 174) [sparc-solaris2.10], MBARI
0x8770, Ruby Enterprise Edition 2009.10
I tried a simple web app with a controller rendering a text and is
working in my PC but on the server I get:
Error message:
undefined method `alias_method_chain'' for
I18n::Backend::Simple:Class
Exception class:
NoMethodError
Application root: