Displaying 15 results from an estimated 15 matches for "ct9a".
Did you mean:
c89a
2011 Mar 08
0
keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (NameError)"
...in load_missing_constant'': uninitialized constant
Paperclip::Glue (NameError)" appear before me. Seeing that, I even ran
"sudo gem install paperclip"
and retried running script/console to no success.
Please help :)
------- Here''s how the error looks like:
root@ct9a:~/projects/myApp# script/console
Loading development environment (Rails 2.3.8)
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/lib/
active_support/dependencies.rb:440:in `rescue in
load_missing_constant'': uninitialized constant Paperclip::Glue
(NameError)
from /usr/local/lib/...
2010 Apr 30
12
Can't seem to install RMAGICK on Ubuntu Karmic Koala
...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
----------------------------------------------
ct9a@ubuntu-karmic-koala:~/projects/RealAutoParts# gem install rmagick
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for...
2009 Oct 15
10
AJAX - how to have multiple select form sets implemented?
hi, there :)
Consider a blogging application whereby a user is trying to add a new
blog.
He/she has to select a category. Upon selecting a category from a drop
down box, a new sub categories drop down box will be created (hence an
AJAX call). Got this implemented and it''s ok.
Now, let''s assume that a given blog can have multiple categories (and
subcategories).
For example, a
2010 Jul 12
0
Bundler problems
...tall bundler" in my project directory as a regular
user is impossible due to permissions problem. I had to use sudo
2) running "bundle install" in my project directory as a regular user,
I got the following permission problem.
"Installing rspec (1.3.0) from .gem files at /home/ct9a/projects/myApp/
vendor/bundle/cache /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/
installer.rb:518:in `initialize'': Permission denied - /home/ct9a/
projects/myApp/vendor/bundle/gems/rspec-1.3.0/.document
(Errno::EACCES) "
Any ideas why bundle is trying to refer to my ruby interpretor...
2010 Jun 06
3
running passenger + nginx
hi guys,
Assuming I made some changes to the source code.
My production environment runs on passenger and nginx.
How do I restart passenger and nginx with minimal downtime?
Surely I can''t do a "w" on the terminal because a server will not
always be in zero load.
Would love to hear some recommendations.
PS- I have read on unicorn
2010 Jun 04
6
Ajax fails in IE8
hi guys,
I am testing a new optional funtionality in my site with IE 8 after
success with Firefox 3.6.3, chrome and safari.
The new functionality basically sees a "sub category" drop down list
get generated in my form as soon as a "Category" value is selected
from the "Category" drop down list.
I have been using the standard rails api such as observe_field, and
2010 Mar 16
7
Recommendations for pdf generators
hi, everyone,
i have googled around for some pdf generators. Found
1) PDF::Writer which is a little dated
2) Rupdf (http://scoop.simplyexcited.co.uk//2007/12/15/rupdf-simple-
ruby-pdf-rails-plugin/ and http://agilewebdevelopment.com/plugins/rupdf)
- it''s a little dated. Last revision was on 15th of Dec, 2007.
Any recommendations for pdf generators?
thank you
--
You received this
2010 Aug 06
1
New bie question: Why use assert_equal when there are comparison operators in Rspec?
hi guys,
I''m reading up on Rspec, Mocha and some related material to put BDD
in my new rails app.
I have also checked out Ryan Bates'' railscasts on rspec (that''s how I
got to know about Mocha).
Reading up on the Rspec''s main site, the main example in
http://rspec.rubyforge.org/rspec/1.3.0/ does not show any use of
assert_equals. Rather it just uses the
2010 Dec 24
0
keep getting "undefined method `map' for nil:NilClass (NoMethodError) " in new server
...including sphinx and thinking
sphinx with "gem install ..."
5. ran "sudo apt-get install ruby-dev ruby ri rdoc irb libreadline-
ruby libruby libopenssl-ruby sqlite3 libsqlite3-ruby libsqlite-dev
libsqlite3-dev"
here''s what "gem list --local" gives me:
root@ct9a-dev:~/projects/myApp# gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.9)
actionpack (2.3.9)
activemodel (3.0.3)
activerecord (3.0.3, 2.3.9)
activeresource (2.3.9)
activesupport (3.0.3, 2.3.9)
arel (2.0.6)
authlogic (2.1.6)
breadcrumbs_on_rails (1.0.1)
builder (2.1.2)
i18n (0.5.0)
paperclip...
2010 Jan 03
24
SQLServer on Rails
Does any one know how to setup SQLserver with ruby1.9. It was working
on an earlier version and now nothing works! I have installed the
gems dbi ,dbd-odbc and activerecord-odbc-adapter and can connect in
straight Ruby. However, using rails with database.yml nothing works!
I hosed everything and reinstalled rails and now, I get Win32/Parite
virus on ruby.exe. Any ideas? I''m losing
2010 Mar 04
25
how to share variables in data migrations (up/down)
hi there,
How do we share variables in a given data migration?
For example,
the code below fails to work because "statuses" don''t seem to be in
scope for both up and down.
class AddDefaultValuesToStatuses < ActiveRecord::Migration
statuses = [
{
''details'' => ''details'',
},
{
2010 Mar 02
0
how to get unescaped value of request.url AS-IS?
hi guys,
Calling request.url returns "http://gozila-underground.com/search?
search%5Bby_keyword%5D=&commit=Search" which is an escaped version of
"http://gozila-underground.com:3000/search?
search[by_keyword]=&commit=Search".
In ruby on rails, how to get the unescaped value of request.url (AS
IS)?
thank you
--
You received this message because you are subscribed
2010 Aug 03
0
how to create local subroutines properly in rails?
hi guys,
Using breadcrumbs on rails (http://github.com/weppos/
breadcrumbs_on_rails), I have added a method, "set_breadcrumb" in my
application controller.
That will set up my home breadcrumb.
In my other feedbacks controller, I have the same "set_breadcrumb"
method (in a before_filter). The breadcrumb added here is called
"feedback".
the problem is that when
2010 Apr 21
0
can't seem to install bleak house
hi, guys
I looked at http://guides.rubyonrails.org/debugging_rails_applications.html
and figured I give bleak house a try.
I ran into a problem during installation of the gem.
Here''s an extract:
--------------------------------- Extract start
-----------------------------------------------------------
Makefile:671: warning: overriding commands for target `dist''
Makefile:671:
2010 Apr 07
3
Recommendation for searching with regards to timestamp & foreign key attributes
hi guys,
I need a recommendation for searching with regards to timestamp &
foreign key attributes. Sounds
a bit too much but here''s an example.
Suppose we have a "blog" object. It has many attributes such as
- title
- content
- status_id
- created_at
- updated_at
There are also "status" objects which have the following statuses,
"new",