similar to: keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (NameError)"

Displaying 20 results from an estimated 2000 matches similar to: "keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (NameError)""

2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
Hello, I am trying to use the paperclip plugin in my rails app to upload images for posts. I am using Rails 2.0.2 and ruby 1.8.7 on Ubuntu 10.04 os for project specific purposes. I am referring to the following tutorials for this :- 1. http://railscasts.com/episodes/134-paperclip?view=comments 2. http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails.html I did a git clone on the
2010 Dec 24
0
keep getting "undefined method `map' for nil:NilClass (NoMethodError) " in new server
hi guys, I have a new development server (ubuntu 10). I have done the following (the versions match my existing development machine which works fine): 1. installed ruby 1.9.1p378 2. installed ruby gems 1.3.7 3. installed rails 2.3.8 (used "gem install rails -v 2.3.8") 4. manually installed my other gems including sphinx and thinking sphinx with "gem install ..." 5. ran
2010 Aug 30
3
paperclip gem install failed
when i''m installing paperclip gem its return err (i18n requires RubyGems version >= 1.3.6) the os is ubuntu 10.04 64bit -nirosh- -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send
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 Nov 08
0
error on migration
Hi all, I''m just getting started with rspec. I''m using trunk rspec with edge rails. I get an error on migration though, here it is: rake db:migrate RAILS_ENV="test" --trace (in /home/pat/railsapp) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `failure_message'' for class
2010 Nov 29
0
rake aborted! getaddrinfo: Name or service not known
I''m deploying new rails applications. Everything works well except when it comes to the db migration: * executing "cd /var/rails/benefits_test/releases/20101129190121 && /opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production db:util:migrate" servers: ["ps-test-app1"] [ps-test-app1] executing command ** [out :: ps-test-app1] (in
2010 Feb 27
1
Cannot migrate DB due to "getaddrinfo: Name or service not known"
I am using Rails 2.2.2 and try to do a DB migration, but got the following error. I am using Centos 5.4. Can someone give me a clue? >> rake db:migrate RAILS_ENV="production" rake aborted! getaddrinfo: Name or service not known (See full trace by running task with --trace) [current]$ rake db:migrate RAILS_ENV="production" --trace ** Invoke db:migrate (first_time) **
2009 May 12
0
`load_missing_constant': uninitialized constant Rails::Generator (NameError)
Hello, I''m probably missing something pretty basic here as a rails newbie but I''m trying to write a plugin and I am trying to get my generator to work. I am trying to call the manifest method in my vendor/plugins/media_module/generators/media_module_generator.rb from my vendor/plugins/media_module/init.rb. here''s the code in vendor/plugins/media_module/init.rb:
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
2010 Nov 30
2
db migration fails
I''m deploying new rails applications. Everything works well except when it comes to the db migration: * executing "cd /var/rails/benefits_test/releases/20101129190121 && /opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production db:util:migrate" servers: ["ps-test-app1"] [ps-test-app1] executing command ** [out :: ps-test-app1] (in
2011 Jan 08
1
Paperclip custom Interpolation in url
Folks, I have a simple model hierarchy (reduced to example as below) class Post < ActiveRecord::Base has_many :comments end class Comment < ActiveRecord::Base belongs_to :post has_attached_file :photo, # :url => "/assets/class_cal/<original post date>/:id/:style/:basename.:extension" :url =>
2011 Feb 15
0
paperclip unit files created during tests left on system
I have a rails 3.0.3 app that uses paperclip (2.3.8) to store files on s3 using the s3 gem. In my units tests I''m using the local file system and I have noticed that the files are left on the system after the tests have run. Looking at the logs I could see that the destroy method was never called on the model with the attachment. I added a teardown method that explicitly made the destroy
2009 Apr 30
1
Plese have a look on this error and tell me y it comes
Drive\Ruby Projects\ramf>ruby script/generate model category by/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440:in `load_missing_constant initialized constant RAMF::OperationProcessorsManager (NameError) from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:in `const_mis from E:/D Drive/Ruby
2010 Apr 30
12
Can't seem to install RMAGICK on Ubuntu Karmic Koala
hi guys, I have been trying to install Rmagick on ubuntu karmic koala for a day. Yes, ImageMagicK has already been installed and works great with paperclip and a few other perl scripts I have (which uses Image::Magick). The following is what the execution looks like when I tried to install rmagick ( " gem install rmagick" ): -------------------- Extract start
2012 Oct 21
1
load_missing_constant
I have a model ''site'' defined in a sub-folder ''cms'' class Cms::Site < ActiveRecord::Base ..... the model is loaded correctly , checked in console: application.rb config.autoload_paths += Dir["#{config.root}/app/models/**/"] console >Cms::Site.all => [] Now trying to access this model from a sites_controller ( in backoffice/cms
2010 Jul 30
0
`load_missing_constant': uninitialized constant Rails::Railt
Hi All, I run rake gems:install rake gems:unpack If i add configure the rspec-rails gem in config/environment.rb: config.gem "rspec-rails", :version => ">= 1.3.2" and then run server. I am getting this error: /home/Amit/Myworkspace/MyApplication/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning:
2008 Jun 06
0
load_missing_constant': uninitialized constant ExceptionNoti
I have installed exception notifier plugin in my application & i am getting the error like this load_missing_constant'': uninitialized constant ExceptionNotifier (NameError) Please solve it -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2009 May 12
1
`load_missing_constant': uninitialized constant Rails::Gener
Hello, I''m probably missing something pretty basic here as a rails newbie but I''m trying to write a plugin and I am trying to get my generator to work. I am trying to call the manifest method in my vendor/plugins/media_module/generators/media_module_generator.rb from my vendor/plugins/media_module/init.rb. here''s the code in vendor/plugins/media_module/init.rb:
2007 Aug 01
1
PaginationHelper load_missing_constant error
I just ran into this error after updating rails and the rspec_on_rails plugin (both are on edge): /Users/ben/Work/wizzdl/vendor/rails/activerecord/lib/../../ activesupport/lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant ActionView::Helpers::PaginationHelper (NameError) from /Users/ben/Work/wizzdl/vendor/rails/activerecord/
2012 Jun 07
2
load_missing_constant: Expected to define class in module
Hi I''m having some weird issues with Rails 3 and classes defined in modules. To be more precise I''ve created several files that define classes in the AppBase module like: module AppBase class BackendMenu [content omitted] end end When a page tries to use the BackendMenu class like AppBase::BackendMenu I get an error saying "Expected backend_menu.rb to define