Displaying 20 results from an estimated 10000 matches similar to: "Gems on custom dir are ignored"
2008 Apr 15
4
Version Control (and gems)
1. Full version control of a web app would include the constellation
of gems actually used. I can do ''gem list'' and put that into a file
in version control but that could include unused gems. That is, it
could include gems use by other projects.
And putting the whole gem in version control seem like overkill since
the authors do that. But it might be safer.
Do we have a
2006 Aug 08
1
File upload into Mysql (using lighttpd) problem
Hello All,
I''ve run into a snag. (I apologize in advance. I''m not very good at
system administration.)
I''m building an app that allows users to upload files. Up until now I
have been storing the files on the file system, but tonight I decided to
change the app so the files are stored in the database as a longblob.
I thought everything was working great, until I
2008 Jan 16
0
[CruiseControl] RubyOnRails build 8649 failed
The build failed.
CHANGES
-------
Revision 8649 committed by gbuesing on 2008-01-16 20:07:10
Introducing DateTime #utc, #utc? and #utc_offset, for duck-typing compatibility with Time. Closes #10002
M /trunk/activesupport/CHANGELOG
M /trunk/activesupport/lib/active_support/core_ext/date_time/calculations.rb
M /trunk/activesupport/test/core_ext/date_time_ext_test.rb
TEST FAILURES AND
2006 Jul 31
6
Unable to install Gems with RubyGems on Intel OSX with DarwinPorts
I followed Duncan Davidson''s Sandboxing Rails with Darwin Ports guide and
everything went fine up till the part where I had to install gems using gem
install. I would get this stacktrace:
Attempting local installation of ''rake''
Local gem file not found: rake*.gem
Attempting remote installation of ''rake''
2006 Jul 31
0
rescue_action_in_public useless to capture low level errors
Hi all,
I''m trying to make for nicer system error handling, with the help of
rescue_action_in_public
(see Recipe 47, in ''Rails Recipes'')
PROBLEM:
While it lets me capture an incorrect db name in database.yml (for
example),
with lower level errors like when the DB server is just down, I still
get the default system error screen for MySQL::ERROR :
2013 Oct 16
1
Issue with Deploying a Rails app on VPS - cannot load such file -- unicorn/launcher
I am trying to deploy a rails application to a digitalocean VPS droplet. I
have the following setup Ruby on Rails on Ubuntu 12.10 (Nginx + Unicorn). I
have installed Ruby ruby-2.0.0-p247 and rails Rails 4.0.0 via rvm but when
I try to restart Unicorn I get the following error.
/usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems
/core_ext/kernel_require.rb:45:in
2008 Feb 19
1
[CruiseControl] RubyOnRails build 8896 failed
The build failed.
CHANGES
-------
Revision 8896 committed by bitsweat on 2008-02-19 02:56:05
Don''t assume all records from nested include are of same class. Closes #11154 [acechase]
M /trunk/activerecord/lib/active_record/association_preload.rb
A /trunk/activerecord/test/cases/associations/eager_load_nested_include_test.rb
TEST FAILURES AND ERRORS
-----------------------
Name:
2005 Mar 09
2
LoadError
Hi,
Im new to both Ruby and Rails, though am impressed by both. I am however
stuck on a problem, when trying to run a demo. I''ve setup a postgresql
database with a cookbook demo as per OnLamp, returned is the following
error message:
LoadError in Recipe#new
No such file to load -- postgres
script/server:48
Has anyone come across this error before? Anyone know how I should go
about
2006 Apr 17
7
Action Controller: Exception caught
Hi, I''m running the cookbook example from ONLamp.com. I have tried to
test my site and it comes up with the the message on the site:
ActiveRecord::StatementInvalid in RecipeController#index
Mysql::Error: Lost connection to MySQL server during query: SHOW FIELDS
FROM recipes
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Dec 21
0
how does capistrano get the ENV?
I don''t have the same environment variables with a capistrano task as I
do with a conventional ssh session.
When I ssh in and try "env" I see my GEM_HOME and GEM_PATH environment
variables from my ~/.bash_profile (I also have a .gemrc file).
But when I try "cap shell" and "env" I don''t see the GEM_HOME and
GEM_PATH environment variables.
How do I
2006 Apr 11
18
Rails 1.1 in Production
My hosting company is still supporting only Rails 1.0. I have installed
Rails 1.1.2 to my vendor directory and deployed it in production which
should mean that my application should be using the Rails version in my
vendor diretory. But It looks like its still using local gem libraries, here
is the error from dispatch.fcgi when I try and invoke my app
NoMethodError (undefined method
2005 Mar 23
1
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
I am getting random can''t connect to MySQL server errors on my Rails application
located at http://www.thedatingguy.com/blog
Do you have any clue why this is happening?
This is the error:
Mysql::Error (Can''t connect to local MySQL server through socket
''/tmp/mysql.sock'' (61)):
2010 Feb 12
1
Why does config.gem mess up migration?
I was working this morning, trying to clean up my project and I did
something that sent migrations to hell-in-a-hand-basket.
I tried to run rake db:migrate --trace I got the following error msg:
(in /Users/richardmartin/NetBeansProjects/ReTrace)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Mysql::Error: Table
2005 Apr 26
2
SQLite error
I have an app that seems to run fine when I develop on windows, but in
my linux deployment environment I get this error:
uninitialized constant SQLite
Here is the stack trace:
/usr/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_support/dependencies.rb:183:in
`const_missing''
2010 Mar 22
0
rspec bug, on Mysql::Error: MySQL server has gone away: ROLLBACK TO SAVEPOINT active_record_1
hello
can anybody help me with this bug, (this sometimes occur sometimes passes)
1)
ActiveRecord::StatementInvalid in ''MailReader on Simple Tasks should not
accept duplicate email''
Mysql::Error: MySQL server has gone away: ROLLBACK TO SAVEPOINT
active_record_1
/home/poldz/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:219:in
2006 Jun 23
1
''Series'' Pluralization
Howdy,
I have a model I called ''content_series''. I created it and noticed that
Rails called it ''Sery'', so I added ''series'' to the uncountable thing in
the config, like this:
Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, ''\1en''
# inflect.singular /^(ox)en/i, ''\1''
#
2005 Nov 26
4
activerecord rake test_mysql
Hi (I''m resubmitting this because
First question: This is the rails dev list, correct?
I''d like to submit a patch and am following the steps on this page:
http://dev.rubyonrails.org/
Here''s what I did (using mysql 5.0.15-nt):
created 2 databases:
activerecord_unittest
activerecord_unittest2
created 1 user: rails (giving all priveleges to both databases)
ran
2006 Jun 19
1
server crash log
Hi, I''m new to mongrel and so far have liked it a lot during development. I
just tried to stand up a production server following the guide here:
http://blog.innerewut.de/articles/2006/04/21/scaling-rails-with-apache-2-2-mod_proxy_balancer-and-mongrel
This was working well for a few days, until this weekend it crashed with the
following stack trace. It''s running on redhat
2011 Mar 11
2
Problem with Redmine
I am having a problem getting Redmine to run with Oracle (11.2) backend.
I get this error (below) because Oracle table names are limited to 30
characters. Does anyone around here know of a fix or workaround? I''m
wondering if I can simple change the table name, or if that will break
the application.
When doing a db migrate to an Oracle db this creates the error below.
I''m so
2011 Feb 09
0
Mysql2::Error: SAVEPOINT active_record_1 does not exist
Hi,
I''m switching the database of a rails 3 app I have developed from
postgres to mysql so that I can avail of amazon''s rds. Before I make
the change I have been running my test code using mysql on my dev
machine with the mysql2 adaptor . My test code is throwing up some
errors that I haven''t quite been able to get to the bottom of yet.
Basically I have a model that is