similar to: rake aborted! undefined method `autoload!'

Displaying 20 results from an estimated 3000 matches similar to: "rake aborted! undefined method `autoload!'"

2010 Jun 20
0
Debugging a Rails 3 app with RadRails 2?
When trying to debug a Rails 3 app with RadRails 2.0.4, I''m running into a problem with gem loading, apparently. See below for a stack trace. That problem disappears, when I move Gemfile out of the way, but, of course, then other necessary gems aren''t loaded. From my Debug Configuration Project: <myproject> File: script/rails Working Directory:
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
2010 Jun 20
7
rspec-rails 2.0.0.beta.12 showing undefined method error for route_to
First of all, I''ve been trying to find an answer for this problem all over the internet without luck. The thing is that I am using RVM with ruby 1.9.2-head and I created a new empty gemset. Then I installed bundler gem with: gem bundler install That installed the library into the /Users/damselem/.rvm/gems/ ruby-1.9.2-head at rails3/gems directory. Then I went to my rails 3 app
2011 Apr 30
1
Could not autoload inventory_active_record: uninitialized constant ActiveRecord
Trying to set up the inventory service on puppet 2.6.8, pretty sure I''ve met all the dependencies but puppetmaster logs Could not autoload inventory_active_record: uninitialized constant ActiveRecord When clients attempt to connect. local gems: *** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.7, 2.2.3) actionpack (3.0.7, 2.2.3) activemodel (3.0.7) activerecord (3.0.7)
2010 Aug 26
2
Today: constant JSON::Parser not defined
(Using the latest 3-0-stable and rvm, and ruby-1.9.2-p0) Yesterday everything worked, my own changes are very minor and in the application only. Did anything change that could have caused this problem? Unfortunately simply going back in rails alone to the original "RC2" git-tag did not immediately help, so it may be some other problem (on my own system only, even if I''m
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)
2010 Jun 17
2
"LoadError: no such file to load -- openssl", following Rails Guides
[With apologies for cross-posting at http://railsforum.com/viewtopic.php?id=39587] Hi all, I''m following the edge ''getting started'' guide at http://guides.rails.info/getting_started.html, running ROR 3. I''m running Ruby 1.9.2 (as instructed by the guide), installed using RVM. I get an error when following "4.3 Setting the Application Home Page".
2010 Jun 11
5
Issues creating tables in mysql tests
Hello, I''m a beginner, so any hints are appreciated; I''m still trying to find my way around Rails code. For a bug I''ve found I need to create a table called "values" so I added this: create_table :values do |t| t.integer :value end among the other table creations in activerecord/test/cases/migration_test.rb. Is that ok? But then, when I run the tests
2012 Oct 21
0
rails g problem
When I enter rails g, I get the bunch of logs behind. Any idea what I''m missing? I though it''s trying to install minitest, so I manually installed it. Still this error persists. $ rails g gem install minitest /Library/Ruby/Gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'': no such file to load -- minitest/unit
2010 Nov 20
2
This installation of RMagick was configured with ImageMagick 6.6.4 but ImageMagick 6.6.5-0 is in use
Hi all, just installed ImageMagick on my Mac, then added the gem rmagick, and not can''t launch the server on my local machine. Anyone experience this or have any ideas? rails s /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle: This installation of RMagick was configured with ImageMagick 6.6.4 but ImageMagick 6.6.5-0 is in use. (RuntimeError) from
2010 Jun 25
5
Error installing gems for Rails 3.0.0.beta4 on MacOSx
I tried to install Rails 3 Beta in my snow.leopard machine using the command below: (w/ sudo if it requires) gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n unfortunately after 12 gems installed i got an error regarding builder-2.1.2 12 gems installed Installing ri documentation for tzinfo-0.3.22... Installing ri documentation for
2011 May 25
1
can't load hpricot gem in rails 3
This is in windows .. So from irb, I can load hpricot ok. (ruby 1.8.7) C:\Users\Laurence\rails-play\plug-test>irb irb(main):001:0> require ''hpricot'' LoadError: no such file to load -- hpricot from (irb):1:in `require'' from (irb):1 irb(main):002:0> require ''rubygems'' => true irb(main):003:0> require
2013 Oct 20
1
cannot load such file -- unicode (LoadError)
I''m new to RoR and working on a migration of project developed by another team. I''m using Rails version (3.2.13) and my bundle install works successfully. However while running "rails server", I get the error below. Any suggestions are most appreciated. Thanks! -------------- rails server output --------------
2010 Jul 16
1
Rails 3 bug: undefined method `<=>' for class `ActiveSupport::Multibyte::Chars'
I''m getting the following bug when I try to run rake db:migrate in Rails 3 beta 4: $ rake db:migrate --trace (in C:/Users/Adam/Documents/Aptana Workspace/QuestionBank) default formats are encoded in ISO-8859-1 ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate == CreateUsers: migrating
2010 Aug 14
2
gem install bundler works, gem bundle doesn't?
This is probably a simple user error, but why doesn''t "gem bundle" work after "gem install bundler"? ===== bash$ gem install bundler Successfully installed bundler-0.9.26 1 gem installed Installing ri documentation for bundler-0.9.26... Installing RDoc documentation for bundler-0.9.26... bash$ gem bundle ERROR: While executing gem ... (RuntimeError) Unknown
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 -
2012 Oct 11
3
Puppet Dashboard won't install MySQL schema
I have been working on this issue for almost 5 days and can not get past this error. Puppet Dashboard is installed via RPM from puppetlabs. I have tried versions 1.2.12, 1.2.9 and am currently on 1.2.1. Regardless of the version, I get the same exact error every time I run rake RAILS_ENV=production db:migrate. (in /usr/share/puppet-dashboard) rake aborted! no such file to load --
2010 Nov 22
3
Issue using bundler
I run bundle install, or bundle update, and it fails. I''m using RVM, so if I switch to Ruby 1.9.2, this works fine, but using Ruby 1.8.7 it fails. Any idea? jeremy-woertinks-imac:winovations jeremywoertink$ bundle update Fetching source index for http://rubygems.org/ Using rake (0.8.7) Using RedCloth (4.2.3) Using abstract (1.0.0) Installing activesupport (3.0.1)
2011 Jun 21
2
`exec': wrong number of arguments (ArgumentError) when using bundle exec
Hi! I''m trying to make a migration, but when I do "rake db:migrate" tell me this: You have already activated rake 0.9.2, but your Gemfile requires rake 0.8.7. Consider using bundle exec. Then, I use a bundle exec, but I have other error: `exec'': wrong number of arguments (ArgumentError) from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/cli.rb:346:in
2011 Nov 01
1
rake db:migrate aborted
I''m reading the rails tutorial book and in chapter 6 page 199 I have to make a rake db:migrate, but I get this error: rake aborted! undefined method `prerequisites'' for nil:NilClass (See full trace by running task with --trace) When I try with rake db:migrate --trace I get the following errors: rake aborted! undefined method `prerequisites'' for nil:NilClass