Displaying 20 results from an estimated 27 matches for "load_initializer".
2013 Oct 15
0
load_initializer' on rails 3
any one can help
after move from 2.3.17 to rails 3.0.0
i am get error
boot.rb:55:in `require'': cannot load such file -- initializer (LoadError)
/config/boot.rb:55:in `load_initializer''
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post t...
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
...s?
File.exist?("#{RAILS_ROOT}/vendor/rails")
end
def preinitialize
load(preinitializer_path) if File.exist?(preinitializer_path)
end
def preinitializer_path
"#{RAILS_ROOT}/config/preinitializer.rb"
end
end
class Boot
def run
load_initializer
Rails::Initializer.run(:set_load_path)
end
end
class VendorBoot < Boot
def load_initializer
require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
Rails::Initializer.run(:install_gem_spec_stubs)
Rails::GemDependency.add_frozen_gem_path
en...
2008 Sep 06
2
Server is not running....
...unning 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''
from ./script/../config/boot.rb:38:in `run''
from ./script/../config/boot.rb:11:in `boot!''
from ./script/../config/boot.rb:109
from script/server:2:in `require''
from script/server:2
Any idea????
--
Thanks & Regards...
2010 Feb 25
2
error on project run.....
...Beans 6.7 Beta/ruby2/jruby-1.2.0/lib/
ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:32:in `require''
from C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/
ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require''
from script/../config/boot.rb:54:in `load_initializer''
from script/../config/boot.rb:39:in `run''
from script/../config/boot.rb:11:in `boot!''
from script/../config/boot.rb:109
from script/../config/boot.rb:2:in `require''
from script\server:2
--
You received this message becau...
2011 Nov 28
1
Queue-Tip/Adhearsion installation tip
...e :
# rake --trace db:create
(in /usr/local/src/queue-tip)
rake aborted!
no such file to load -- initializer
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
/usr/local/src/queue-tip/config/boot.rb:54:in `load_initializer'
/usr/local/src/queue-tip/config/boot.rb:38:in `run'
/usr/local/src/queue-tip/config/boot.rb:11:in `boot!'
/usr/local/src/queue-tip/config/boot.rb:109
/usr/local/src/queue-tip/Rakefile:4:in `require'
/usr/local/src/queue-tip/Rakefile:4
/usr/lib/ruby/1.8/rake.rb:2383:in `load'
/u...
2010 Jan 20
2
Rails 3 Problem: no such file to load -- rails (LoadError)
...k-pro:third_rails kristianconsult$ script/
generate model Post name:string
/Users/kristianconsult/my_rails/rails3_apps/third_rails/config/boot.rb:
71:in `require'': no such file to load -- rails (LoadError)
from /Users/kristianconsult/my_rails/rails3_apps/third_rails/config/
boot.rb:71:in `load_initializer''
from /Users/kristianconsult/my_rails/rails3_apps/third_rails/config/
boot.rb:44:in `run''
from /Users/kristianconsult/my_rails/rails3_apps/third_rails/config/
boot.rb:16:in `boot!''
from /Users/kristianconsult/my_rails/rails3_apps/third_rails/config/
boot.rb:148
from s...
2018 Feb 27
0
Question about instcombine pass.
Hello, Everyone.
I have a question about llvm's "Combine redundant instructions(instcombine)" pass.
I have tested instcombine pass by writing the following three test cases.
But, CASE3 is not optimized as I expected.
Is this behavior expected?
The version of llvm is:
clang version 5.0.1 (tags/RELEASE_501/final 325232)
Option of clang command is:
clang -O1 a.c -S -emit-llvm
2009 Aug 31
3
Getting this error
...g ruby 1.8 to ruby1.9.1.......& on firing script/server to
start a server,
I am getting the following errror.....
/home/HUNT/WEBlog/config/boot.rb:86:in `load_rubygems'': undefined method
`>='' for nil:NilClass (NoMethodError)
from /home/HUNT/WEBlog/config/boot.rb:52:in `load_initializer''
from /home/HUNT/WEBlog/config/boot.rb:38:in `run''
from /home/HUNT/WEBlog/config/boot.rb:11:in `boot!''
from /home/HUNT/WEBlog/config/boot.rb:109:in `<top (required)>''
from script/about:2:in `require''
from script/about:2:in `<main>...
2009 Feb 03
1
"uninitialized constant Gem::Etc (NameError)" when starting server
...Library/Ruby/Site/1.8/rubygems.rb:736:in `source_index''
from /Library/Ruby/Site/1.8/rubygems.rb:140:in `activate''
from /Library/Ruby/Site/1.8/rubygems.rb:49:in `gem''
from ./script/../config/boot.rb:59:in `load_rails_gem''
from ./script/../config/boot.rb:53:in `load_initializer''
from ./script/../config/boot.rb:38:in `run''
from ./script/../config/boot.rb:11:in `boot!''
from ./script/../config/boot.rb:109
from script/server:2:in `require''
from script/server:2
I have made sure everything is up to date with "sudo gem update"...
2012 Jan 03
1
updating rails version to 3.1.3 get error
...ire'': cannot load such file -- initializer (LoadError)
from
D:/Hemant/Suggestica_setup/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require''
from C:/Documents and Settings/ct013/My Documents/Aptana RadRails
Workspace/Suggestica_Admin/config/boot.rb:55:in `load_initializer''
from C:/Documents and Settings/ct013/My Documents/Aptana RadRails
Workspace/Suggestica_Admin/config/boot.rb:38:in `run''
from C:/Documents and Settings/ct013/My Documents/Aptana RadRails
Workspace/Suggestica_Admin/config/boot.rb:11:in `boot!''
from C:/Documents and S...
2010 Oct 16
1
Unable to start rail application at localhost
...ils/gem_dependency.rb:1
from
./script/../config/../vendor/rails/railties/lib/initializer.rb:10:in
`require''
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:10
from ./script/../config/boot.rb:45:in `require''
from ./script/../config/boot.rb:45:in `load_initializer''
from ./script/../config/boot.rb:38:in `run''
from ./script/../config/boot.rb:11:in `boot!''
from ./script/../config/boot.rb:109
from script/server:2:in `require''
from script/server:2
Then i type followi...
2007 Dec 08
1
Trouble updating to Rails 2.0
...le to load -- /home/gabriel/dummy/config/../vendor/rails/
railties/lib/initializer
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
/home/gabriel/dummy/config/boot.rb:45:in `load_initializer''
/home/gabriel/dummy/config/boot.rb:38:in `run''
/home/gabriel/dummy/config/boot.rb:11:in `boot!''
/home/gabriel/dummy/config/boot.rb:108
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/local/lib/site_ruby/1.8/rubygems/cust...
2013 Feb 06
5
rake db:migrate_plugins RAILS_ENV=production fails with "no such file to load -- initializer"
...n Ruby, and attempting to load a new plugin. When I
attempt to run the command:
rake db:migrate_plugins RAILS_ENV=production
It fails with this error:
rake aborted!
no such file to load -- initializer
/var/www/redmine/config/boot.rb:65:in `require''
/var/www/redmine/config/boot.rb:65:in `load_initializer''
/var/www/redmine/config/boot.rb:43:in `run''
/var/www/redmine/config/boot.rb:16:in `boot!''
/var/www/redmine/config/boot.rb:124
/var/www/redmine/Rakefile:4
(See full trace by running task with --trace)
I am a sysadmin and not overly familiar with Ruby or Rails, and
attemp...
2011 Oct 18
8
rspec 1.3.2, Rails 2.3.14 - plugins not loading
Hi there
I have a weird situation. I have inherited a project in Rails 1.2.3
that has been upgraded to Rails 2.3.14 (and is running). I have
installed Cucumber and Rspec to start to write features/tests for the
new code that needs to be written. In my Gemfile, these Gems are
loaded:
group :test do
gem ''rspec-rails'', ''~> 1.3.4'', :require =>
2013 Apr 16
1
Ruby Error Encountered when Installing Dashboard for Puppet Open Source
...with trace turned on and got the following.
rake aborted!
undefined method `source_index'' for Gem:Module
/usr/share/puppet-dashboard/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21:in
`add_frozen_gem_path''
/usr/share/puppet-dashboard/config/boot.rb:50:in `load_initializer''
/usr/share/puppet-dashboard/config/boot.rb:41:in `run''
/usr/share/puppet-dashboard/config/boot.rb:14:in `boot!''
/usr/share/puppet-dashboard/config/boot.rb:113
/usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:45:in
`gem_original_require''...
2008 Sep 06
0
Web server won't start after freezing gems
...or/rails/railties/lib/initializer.rb:43:in
`send'': undefined method `install_gem_spec_stubs'' for
#<Rails::Initializer:0x290444c> (NoMethodError)
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:
43:in `run''
from ./script/../config/boot.rb:46:in `load_initializer''
from ./script/../config/boot.rb:38:in `run''
from ./script/../config/boot.rb:11:in `boot!''
from ./script/../config/boot.rb:109
from ./script/server:2:in `require''
from ./script/server:2
from -e:4:in `load''
from -e:4
Does anyone know what I can do...
2009 Mar 27
1
Starting Mongrels = no such file to load -- initializer (load error)
...:31:in `gem_original_require'': no such
file to load -- initializer (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/rubygems/custom_require.rb:31:in `require''
from /Library/WebServer/bf-deals/releases/20090323161724/config/
boot.rb:54:in `load_initializer''
from /Library/WebServer/bf-deals/releases/20090323161724/config/
boot.rb:39:in `run''
from /Library/WebServer/bf-deals/releases/20090323161724/config/
boot.rb:11:in `boot!''
from /Library/WebServer/bf-deals/releases/20090323161724/config/
boot.rb:109
from /System/Libra...
2009 Apr 25
0
can run up the server after update to 2.3.2
...ties/lib/rails/plugin/loader.rb:1
from
./script/../config/../vendor/rails/railties/lib/initializer.rb:9:in
`require''
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:9
from ./script/../config/boot.rb:45:in `require''
from ./script/../config/boot.rb:45:in `load_initializer''
from ./script/../config/boot.rb:38:in `run''
from ./script/../config/boot.rb:11:in `boot!''
from ./script/../config/boot.rb:110
from script/server:2:in `require''
from script/server:2
and I tried to run rake rails:update, also a problem.
rake aborted!
u...
2010 Oct 22
6
(Unable to start rails application) ruby scipt/server error
1) I installed the ruby-1.9.2-p0 and rubygems-1.3.7 in the
(/usr/local/src directory )
2) Then i installed rails from terminal by typing follwoing
sudo gem install rails --include-dependencies
3) Then i made a rails applcation from terminal as
rails new demo
then
cd demo
ruby
2010 Sep 30
0
no such file to load --initializer
...0.8.7 via gem install gives no
error.
rake gems --trace
rake aborted!
no such file to load -- initializer
<internal:lib/rubygems/custom_require>:29:in `require''
<internal:lib/rubygems/custom_require>:29:in `require''
/opt/lampp/htdocs/clockingit/config/boot.rb:55:in `load_initializer''
/opt/lampp/htdocs/clockingit/config/boot.rb:38:in `run''
/opt/lampp/htdocs/clockingit/config/boot.rb:11:in `boot!''
/opt/lampp/htdocs/clockingit/config/boot.rb:110:in `<top (required)>''
<internal:lib/rubygems/custom_require>:29:in `require''
&l...