Displaying 20 results from an estimated 7000 matches similar to: ""can't activate activesupport" error"
2012 Sep 25
3
Proposal for a new ActiveModel::Errors structure
There are few issues with the current ActiveModel::Errors class.
Firstly, when an error is added to ActiveModel::Errors class via #add
method
(https://github.com/rails/rails/blob/master/activemodel/lib/active_model/errors.rb#L294)
its translation is added. It should not be translated when being added, but
only when being read.
The second issue is a bit bigger. We''d like to create
2011 Nov 22
3
making scatterplot easier to read
Dear R users,
do you know an easy way (other than star plot) of making several points
laying one over another visible? Is it any simple way of increasing such
"multipoint" symbols - or shifting their positions randomly to make several
points in one place visible?
Cheers,
sz.
--
Szymon Drobniak || Population Ecology Group
*Institute of Environmental Sciences, Jagiellonian University
2009 May 11
3
daemons load activesupport 2.2.2 instead of 2.1.0, causing failure
Hi,
I have a couple of daemons that im trying to setup to be run for my
app. The environment load is as follows..
ENV["RAILS_ENV"] ||= "development"
require File.join(File.dirname(__FILE__), "/../../config/environment")
And the error I get is
#<LoadError: no such file to load -- active_support>
#<Gem::Exception: can''t activate activesupport (=
2008 Oct 02
1
acts_as_taggable_on environment issues
Like most people, I''ve got two machines: one for development and one
for production. I''ve done everything I can to make sure the ruby/rails
environments are the same, but of course they''re not identical (I''ll
get into that in a moment). The error that I''m getting happens when I
call a method in a background task controller on the production
machine; I
2007 Dec 03
1
undefined methods page_count
I''m getting "undefined method `page_count'' for #<Array:0xb7073e1c>"
when I tried to run my rails application after installing
will_paginate. Details are as below:
undefined method `page_count'' for #<Array:0xb7073e1c>
Extracted source (around line #7):
4: <%= a.text%>
5: <% end %>
6:
7: <%= will_paginate @announcements,
2008 May 30
4
deprecation warnings
I''m still using 1.2.6 and have an eye on upgrading to 2.0 so I monitor
the logs for deprecation warnings. I thought I was clean and
log/development.log shows nothing when doing ''grep deprec
log/development.log'' but in testing, one of my testing controllers
throws a bunch of these on screen...
2011 Mar 18
6
how to rescue this exception
hi,i don''t know how to capture the following exception if the file
directory or name is not correct.
##########
def index
@csv_array=[]
begin
CSV.foreach(''files/sample.csv'') do|row|
sub_array=row
@csv_array<<sub_array
end
rescue Exception=>e
flash.now[:error]="error:#{e}"
raise
end
end
#########
after
2009 Jun 10
5
uninitialized constant ActiveSupport::Cache (NameError)
Hi
After having updated some GEMS I get `load_missing_constant'':
uninitialized constant ActiveSupport::Cache (NameError) on starting
the server of a freshly generated rails project.
Before, I already had Rails 2.3.2 projects succesfully running, now
all of them generate this error.
These are my GEMS:
actionmailer (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.1.0)
actionpack (2.3.2, 2.2.2, 2.1.2,
2008 Mar 12
12
Mongrel has crashed
Hi,
my mongrel has crashed with following errors in the logfile:
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no
restart).
** Rails signals registered. HUP => reload (without restart). It might
not work well.
** Mongrel 1.1.3 available at 0.0.0.0:3000
**
2008 Jan 26
14
Introducing facebooker.yml
If you are using facebooker as a plugin, you can now have all your
configuration in one place, namely config/facebooker.yml. You can
create this file with rake facebooker:setup. It is also generated
when you install it as a plugin.
It has a similar setup to database.yml with sections for each
environment. You can also configure your ssh reverse tunnels.
If you are upgrading, make sure to
2009 Jul 28
2
Basic question map.root question
Hi
I''m brand new to RoR and just started the intro tutorial.
When trying to set the application home page like this:
http://guides.rubyonrails.org/getting_started.html#setting-the-application-home-page
The server won''t start and gives the following errors (below)
I''m surprised to run into this error so early in the tutorial. Anyone
know what''s wrong with
2007 Dec 11
3
Fresh rspec on rails install blows up
Hi there,
I installed the rspec on rails plugin for a new project today and guess
what -- it blows up!
All by other rspec on rails projects are working fine.
I updated all gems & still no joy. Any ideas how I can troubleshoot this
one ?
Here''s my setup:
- ruby 1.8.4 (2005-12-24) [powerpc-darwin8.7.0]
- Rails 1.2.5
Installed with svn:
ruby script/plugin install
2009 May 24
3
index.erb vs rhtml
I am a total Ruby/RoR n00b having just started reading the ''Ruby on
Rails Bible'' book two days ago. I''ve been trying to work out through
the introductory ''Your first ruby on rails application'' section, but
I''ve run into problems already!
The book goes on about creating the view templates and naming them
with the *.html.erb extension, but I get
2007 Mar 16
5
Bad ActiveSupport gem in gem repository?
All,
I''m attempting to update my gems to 1.2 and I get the following:
Install required dependency activesupport? [Yn] Y
ERROR: While executing gem ... (Gem::InstallError)
invalid gem format for
c:/ruby/lib/ruby/gems/1.8/cache/activesupport-1.4.2.g
em
Anyone else seeing this? Anyone willing to try it to see what''s up?
Thanks,
Wes
--
Posted via
2007 Dec 19
5
Installation Trouble
Hey all,
I''m new to BDD and rspec, but I am very intrigued.
I tried installing rspec and rspec_on_rails into my Rails app, but I am
having some trouble.
I chose to install both as plugins, as the documentation suggests. I
checked out the CURRENT tag from svn, and copied the rspec and
rspec_on_rails directories into my app''s vendor/plugins directory. Then
I ran
2008 Nov 07
11
Rails requires RubyGems >= 1.1.1 : problem
Hello,
On my local machine (Mac OS X 10.5.5), I get the following error when I try
to run script/server start :
"Rails requires RubyGems >= 1.1.1 (you have 1.0.1). Please `gem update
--system` and try again."
The Rails app was a former 1.2.6 upgraded to 2.1, and it worked fine.
I''ve run the rake rails:update command.
If I create a new Rails app, it starts with the command
2010 Apr 15
1
Problems with rake
I receive an error when I try to create or setup database using rake
command. Rake is installed.
Error: bash: /opt/local/bin/rake: /opt/local/bin/ruby: bad
interpreter: No such file or directory. Is it not in the path but how
come I can to gem list show the gems?
Please help
gem list
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.2.2, 1.3.6)
actionpack (2.3.5, 2.2.2, 1.13.6)
actionwebservice
2007 Oct 27
20
problems with ''localization simplified''
Hi you all! I''ve got Mongrel saying this when I use the localization
simplified plug-in: any idea?
** Loading any Rails specific GemPlugins
Exiting
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:92:in
`load_specification'':
/Users/stratboy/Documents/05_SAMPLES/RAILS/newser/vendor/plugins/l10n-simplified-0.8/lib/localization_simplified.rb:13:in
`gsub!'':
2006 Feb 14
7
Action when database changes
Hello,
Is it possible to trigger an action in a controller when
a table from database changes?
I thought about using an utility like cron (railscron) to
check every, e.g. 2 s, if the table changed, but I am wondering
if there is a solution a bit more ''elegant'': to trigger an action
exactly when the change is made.
Best regards,
--
Kuba Nowak
2017 Jul 13
2
Rebalance task fails
Hi Nithya,
I see index in context:
[2017-07-07 10:07:18.230202] E [MSGID: 106062]
[glusterd-utils.c:7997:glusterd_volume_rebalance_use_rsp_dict]
0-glusterd: failed to get index
I wonder if there is anything I can do to fix it.
I was trying to strace gluster process but still have no clue what
exactly is gluster index.
Best regards,
Szymon Miotk
On Thu, Jul 13, 2017 at 10:12 AM, Nithya