Displaying 20 results from an estimated 10000 matches similar to: "Application failing on undefined method `install_gem_spec_st"
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
Rails application which i create manually like
rails new blog
and the content of the file "blog/config/boot.rb" are
require ''rubygems''
# Set up gems listed in the Gemfile.
gemfile = File.expand_path(''../../Gemfile'', __FILE__)
begin
ENV[''BUNDLE_GEMFILE''] = gemfile
require
2008 Sep 06
0
Web server won't start after freezing gems
My hosting company recently upgraded their Rails version, so I want to
freeze my app to Rails version 1.2.3. I was able to freeze it
successfully, but when I try to start the server on my local
development environment, I''m confronted with this error:
./script/../config/../vendor/rails/railties/lib/initializer.rb:43:in
`send'': undefined method `install_gem_spec_stubs''
2010 Oct 16
1
Unable to start rail application at localhost
i am new to ruby on rail. i installed it to my computer.After that i
created the rail application by typing in terminal
rail rubyapplication
It was create
in my home directory.Afterwared i did follwoing
cd /home/administrator
and
2006 Nov 04
3
undefined method `load_paths=' for Dependencies:Module
I''ve been working on an app, and had a friend check it out to his
machine. I''ve got rails and all my plugins set up with svn:externals,
so when he svn ups it he gets all the latest stuff. I''ve just svn
up''d both machines so we''re running the same versions of everything.
We''re also running the same version of ruby (1.8.4). As far as I can
2009 Apr 25
0
can run up the server after update to 2.3.2
my rails version was 2.2.2 and I turn 2.3.2 last night with gem update
and rake rails:freeze:edge. unfortunately I got a problem when I restart
my server.
a error when I script/server
./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:1:in
`require'': no such file to load --
active_support/core_ext/kernel/reporting (LoadError)
from
2008 Sep 06
2
Server is not running....
Hi all,
I am getting the following error while running ruby
script/server
Same error is also coming even when ruby
script/console.........
./script/../config/boot.rb:45:in `require'': no such file to load --
./script/../config/../vendor/rails/railties/lib/initializer (LoadError)
from ./script/../config/boot.rb:45:in `load_initializer''
2008 Mar 28
1
undefined method ''alias_method_chain''
Running Rails 2.0.2, I get this error:
./script/../config/../vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb:29:
undefined method `alias_method_chain'' for
ActionController::UrlRewriter:Class (NoMethodError)
from /usr/local/rubygems/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
from
2008 May 29
0
NoMethodError: undefined method `configuration' for #<String inside railties?
I''m in the middle of upgrading an application to rails 2.0.2 from
1.2.5 and on startup I see this message printed out:
#<NoMethodError: undefined method `configuration'' for #<String:
0x1145040>>
After some hacking I''ve figured out it emanates from plugin.rb in
railties (railties/lib/rails/plugin.rb) in the following block:
def evaluate_init_rb(initializer)
2006 Aug 10
6
Migrations suddenly broken: undefined method autoload_paths
I really need some help here because I am at a loss. I have been using
migrations just fine now for a while and I suddenly started getting a
very bizarre error when migrations are run:
undefined method `autoload_paths='' for Dependencies:Module
I have tried rolling back my application code, and rolling back the
rails edge revision I am running but neither seem to help.
I have
2008 Nov 05
1
Removed edge rails but cannot find installed rails
I removed edge-rails from a project, git rm, committed and pushed the
revised project to the shared repository, and then git pulled it onto my
Windows XPpro laptop.
Both the original host and my laptop have Rails-2.2.0RC1 installed. The
Gem environment is:
$ rails --version
Rails 2.2.0
$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel
2010 Sep 30
0
no such file to load --initializer
Hi all,
issuing the command "$rake gems" in a rails-application folder leads
to the error "no such file to load -- initializer"
I am on centos5.2, ruby 1.9.2.p0, rubygems 1.3.7, rails 3.0
irb -> require ''rubygems'' => false
echo $GEM_PATH leads to /usr/local/lib/ruby/gems/1.9.1
gem environment leads to
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7 -
2007 Dec 08
1
Trouble updating to Rails 2.0
I recently updated my gems and first I got an error with Rails.
Aparently, Rails 2.0 has a dependency on ActiveResource, but the gems
dont install it as a dependency. At least not when upgrading from
1.2.6 to 2.0
Then, when I try to freeze the gems to generate the new documentation,
I get the following error:
gabriel@fenix:~/dummy$ rake rails:freeze:gems --trace
(in /home/gabriel/dummy)
rake
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
hi
i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. and
i can''t able to run my existing application.
error occurred :
run command for server "script/server -e production -p 3001"
error:
=> Booting WEBrick
=> Rails 2.3.4 application starting on http://0.0.0.0:3001
config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no
specification
2007 Dec 23
7
Help with error "undefined method `downcase' for nil:NilClass" after migration
Hi all,
I have a rails 1.5.2 application. I''ve frozen the application via the
"rake rails:freeze:gems" command. This application worked well on a server
I previously had it installed on. My server was getting really slow, and I
requested that I be moved to a new server. When I perform a "gem list
rails" command on my new host, I receive only version 1.2.6. Since
2010 Jul 10
0
`method_missing': undefined method `i18n' for #<Rails::Railtie::Configuration:0x000001010fce98>
I have recently upgraqded to Ruby 1.9.2-rc1 and reinstalled rails 3
beta 4 with all the dependencies. I have run bundle install in my
rails project. Now I am trying to run some tests...
My test_helper.rb file looks like this:
# test_helper.rb
require ''rubygems''
require ''test/unit''
require ''rails/all''
$ gem list
i18n (0.4.1, 0.3.7)
2006 Aug 17
10
Expected ... to define ...
Hi,
I have edge frozen on vendor, and getting these errors logged:
Expected ../config/../app/controllers/store_controller.rb to define
StoreController
../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:177:in
`load_missing_constant''
../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:275:in
2012 Jun 06
1
why to get the error 'undefined method `write_inheritable_attribute''
I started getting this error message when I attempt to do some rake
tasks:
$ rails destroy scaffold genotypes
/usr/share/rails-ruby1.8/railties/lib/rails_generator/options.rb:32:in
`default_options'': undefined method `write_inheritable_attribute'' for
Rails::Generator::Base:Class (NoMethodError)
from
/usr/share/rails-ruby1.8/railties/lib/rails_generator/base.rb:90:in
2006 Mar 29
0
Intermittent error - undefined method ''destroy_without_callbacks''
When testing my app locally I''m getting intermittent errors which are
driving me mad!
The error is:
NameError ((eval):1:in `alias_method'': undefined method
`destroy_without_callbacks'' for class `Exercise''):
Refreshing the browser sometimes fixes it, as does restarting WEBrick.
Annoying to debug as it only happens intermittently.
Any ideas on why this is
2009 Mar 14
5
The 2.3 branch and Rails Edge failing
I found Brandon''s 2.3 branch for Facebooker and thought I''d give that
a try to get around the problems I ran into starting script/server
with Rails Edge. Unfortunately, no go.
The error I get on start up is:
> /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:440:in `load_missing_constant'': uninitialized
> constant
2007 Apr 24
1
strange frozen string problem starting rails
hi,
I am experiencing a very strange problem with my Rails installation. I''m
using ruby 1.8.6 on Debian Linux, with edge rails.
Whenever I try to start mongrel, I get an exception about "can''t modify
frozen string". I get a similar exception when I try to do "rake
db:migrate". In this case, the exception seems to pop up *after* the
migrations do succesfully