similar to: What is the purpose of Rails::Initializer#add_support_load_paths ?

Displaying 20 results from an estimated 60000 matches similar to: "What is the purpose of Rails::Initializer#add_support_load_paths ?"

2007 Dec 28
1
WEBrick.. won't start and showing '/rails-2.0.2/lib/initializer.rb:159:in `require_frameworks': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError)' errors
Hi WEBric won''t strat and showing the following errors:- => Booting WEBrick... /mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/rails-2.0.2/ lib/initializer.rb:159:in `require_frameworks'': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError) from /mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/ rails-2.0.2/lib/initializer.rb:156:in
2007 Oct 03
2
rails:freeze:edge task is broken [updating to 2.0]
On 10/3/07, Glenn Rempe <glenn.rempe@gmail.com> wrote: > > > You may want to also take a look at this bug report that I filed. I > had the same problem and running the ''rake rails:freeze:edge > TAG=rel_2-0-0_PR'' TWO times resolved the issue for me when upgrading a > 1.2.3 app. Explanation in the bug report. > >
2007 Nov 26
2
Rails 1.2.6 gem freeze fails with gem 0.9.5 system
Freezing to the gems for Rails 1.2.6 rake aborted! uninitialized constant Gem::GemRunner tracing gives: no such file to load -- /Users/nathany/Sites/boat/oat/config/../vendor/ rails/railties/lib/initializer /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' ... which seems like it may be trying to load the frozen gems before they are there? It
2007 Nov 01
1
List of Nth removed associated objects.
Given the following.. Foo has_many :bars Bar has_many ::widgets Widget has_many :gadgets Gadget has_many :parts All of the following are now possible... @foo.bars @bar.widgets @part.gadget.widget.bar.foo However, I can''t just do the opposite of that last one... @foo.bars.widgets.gadgets.parts and get a full list of every Part associated with @foo. I know there''s several
2012 Jan 23
2
Rails 3.2: invalid %-encoding (100%)
I started getting exception notifications recently from the server just about the time I upgraded to Rails 3.2. I don''t know if that is a coincidence or not. Evidently some robot is hitting my site with: mydomain.com?iframe=true&width=100%&height=100% and that is throwing an exception. I have two questions: 1) First, just out of curiosity, who puts
2007 Jul 17
2
Plugin Problems: const_missing: uninitialized constant Rails::Initializer::CalendarHelper
I''m receiving this error when I try to start Mongrel on my local machine. I''ve checked my Rails, Rake, and Gem versions, as well as all of the other gems I''m using. http://pastie.caboo.se/79503 The situation is that I simply started an empty Rails app and generated an empty plugin. I added the plugin into the ActionView::Base class in init.rb and really only added one
2005 Nov 14
2
OggPCM : Need more justification for chunked data
HI all, John Kkoleszar has asked for the option of storing data. He gave the rational that a) SIMD optimized filters b) Writing filter chains. Conrad Parker supported this say that both Core Audio and Jack operate on multiple single channel buffers. On IRC both Jean-Marc and MikeS argued that if OggPCM supports interleaved, the addition of chunked is hard to justify. My slant on the
2010 Aug 17
6
Overly aggressive constant unloading of Rails 3.0
In Rails 3.0 (both RC and edge), any constant that''s defined while loading a file in development mode will get unloaded on each request, regardless of whether it comes from an autoload path in the application or from external code such as a gem. Example file (tested on a fresh edge app): # kittens.rb require ''nibbler/json'' # "nibbler" is a gem specified
2006 Mar 10
3
[OT] Rails in Bristol?
I suppose it''s just idle curiosity... but I''m wondering if there are any Railsers from/in Bristol (I mean the English city, if there''s more than one) ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060310/7ee9689d/attachment.html
2012 Apr 27
3
rails console --sandbox is only half-baked
Recently I''ve found out some mentions to the "--sandbox" parameter to the "rails console" command. And I found the idea interesting, but since I''m using Sequel instead of ActiveRecord I guessed this wouldn''t work for me. But after talking about this subject in the Sequel mailing list, Jeremy Evans has brought to my attention that there are some
2011 Jun 19
0
[LLVMdev] Closing in on an initial release of Tart
I've been absent from the list for a while due to a number of unexpected circumstances, including a hard drive failure on my primary desktop machine. However, the good news is that after 4 years of work, my LLVM-based compiler is nearing the state where I feel comfortable declaring an official 0.1 release. The language is called "Tart" and the one line summary is "Tart is to
2011 Apr 27
3
Can't configure cach_store in an initializer
I''m trying to use redis-store as my cache_store. I also have an app_confirg.rb initalizer which loads a yaml file for config settings. In my redis.rb initializer I have: MyApp::Application.config.cache_store = :redis_store, APP_CONFIG[''redis''] However, this doesn''t appear to work. If I do Rails.cache in my rails console I can clearly see it''s using
2010 Feb 25
2
error on project run.....
Hi, i am new at rails, working on a project,as i run my project in netbeans, the following error comes in the output window, suggest some fix for it. C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/ gems/rails-2.3.2/lib/initializer.rb:32: C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/ initializer.rb:1070: , unexpected kEND
2015 Feb 27
1
[LLVMdev] Replacing an initializer
Hi all, suppose I would like to change the initial value of a global. Is the supposed way to change the initializer via const_global_iterator I I->setInitializer(newOne) ? afaik, newOne is a constant - right? Is the original Initializer automatically purged or do I need to delete it? thanks Alex
2013 Jun 25
1
Casting gem usage in Rails 4/Ruby 2 vs. Rails 4 push for concern usage/Rails delegation
Just read about the Casting gem: https://discuss.gemnasium.com/t/casting-adding-behavior-to-objects-without-using-extend/34 https://github.com/saturnflyer/casting What are the Rails core team''s opinions about using Casting vs. ActiveSupport::Concern usage, Rails delegation, etc.? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2005 Oct 27
0
Skipping framework in new initializer doesn't skip framework
Hi, rails-0.14.2/lib/initializer.rb states: # This initialization routine does nothing unless <tt>:active_record</tt> # is one of the frameworks to load (Configuration#frameworks). If it is, # this sets the database configuration from Configuration#database_configuration # and then establishes the connection. def initialize_database # code end In
2005 Oct 27
0
Re: Skipping framework in new initializer doesn't skip framework - IGNORE
Please ignore. Sorry for the garbage on the list. I had accidently pasted this at the bottom of environment.rb ActiveRecord::Base.establish_connection ouch... jh On 10/27/05, James Hughes <hughes.james-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Hi, > > rails-0.14.2/lib/initializer.rb states: > > # This initialization routine does nothing unless
2011 Nov 09
14
Rony 1.9.3-p0 on Rails 2.3.x: the helpers "require" problem
Yes, I know that Rails *2.3.x* is no longer fully supported (this is why I''m posting it to rails/issues). Still, I would like to post the topic so that everyone who experience the same problem could quickly google for it (no, afaik no solution for this yet). I''m trying to migrate a 1.5 years *2.3.x* app from Ruby version *1.8.7* to * 1.9.3-p0*. The strange problem I
2016 Aug 24
2
Change GlobalValue Type/Initializer
Hi, I am trying to update the initializer of a global value and I have encounter two issues: The first one is that I can not change the type of the global value. Let say that I have the following variable: @.str = private unnamed_addr constant [6 x i8] c”Test0A\00", align 1 How can I change the ”Test0A\00” to ”OtherTest0A\00”. Is this possible? I know that you can change the initializer
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 -