Displaying 20 results from an estimated 20000 matches similar to: "Rails 3 app breaks Rails 2 app"
2010 Mar 05
0
NoMethodError (undefined method `match' for nil:NilClass):
Hi,
I have a redmine server with Ruby 1.8 running along with Webrick. When I
try to access any docs on the server using web interface I get the
following message.
Internal error
An error occurred on the page you are trying to access.
If you continue to experience the problems please contact the
administrator.
I looked to production.log i found the following messages. I really need
your help.
2012 Apr 19
1
active admin undefined method `' for nil:NilClass
im working with active admin i have collection_select or dropdown box
that populates the packages and crews im just wondering i why this
undefined method `[]'' for nil:NilClass`
i dont know what happened but it run few days ago and tested it once but
now it raises this error are there possible way to solve this?
def create
@package = Package.find(params[:package_crew][:package_id])
2008 Dec 17
1
Problem with Phusion passenger V 1.0.5
OS = CentOS-5.2
Ruby = 1.8.6
Rails = 2.0.2
Passenger = 1.0.5
Redmine = 0.7.3
Apache = 2.2.3
I have created an rsync copy of our company project administration site
and am trying to get Redmine to start on the backup server. The http
configuration files are identical on the main and backup sites. The
backup Redmine application directory is an rsync copy of the master
updated every 20 minutes.
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
Hi Guys,
Facing a weird error .
Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
It seems to be happening with mail sending mail . I am using AUTHSMTP to
send mails . Unable to send mail and the app breaks .
Any help will be appreciated . Same code worked with ruby 1.8 and rails
2.3.x .
*Configuration*
Rails 3.2
Ruby 1.9
Engineyard , Linux Instance
*Backtrace :*
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
Hi Guys,
Facing a weird error .
Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
It seems to be happening with mail sending mail . I am using AUTHSMTP to
send mails . Unable to send mail and the app breaks .
Any help will be appreciated . Same code worked with ruby 1.8 and rails
2.3.x .
*Configuration*
Rails 3.2
Ruby 1.9
Engineyard , Linux Instance
*Backtrace :*
2012 Jan 31
0
mod_rails under Apache under Centos 6
On Mon, January 30, 2012 12:12, Boris Epstein wrote:
> Hello listmates,
>
> For some reason we don't seem to be able to launch a
> Ruby-on-rails
> application ( http://www.redmine.org/ ) on a CentOS 6
> machine under Apache.
> Nor can I find a mod_rails as a separate package for it.
> Would anyone have
> any idea what we might be doing wrong?
>
> Thanks.
>
2011 May 21
4
request.format = :mobile causes error "undefined method `ref' for nil:NilClass"
I have a strange problem with setting request.format = :mobile
I can reproduce this problem on a completely fresh Rails 3.0.7 app
with no special gems. This seemed to work well in Rails 2 but for some
reason is hiccuping here, not sure what''s different in Rails 3 that
makes this hiccup. If you look at the stack track, it doesn''t even
pass through my app stack once -- weird --
2009 Jul 29
0
Problem uploading file to database mysql blob field
Hi All,
Please help me ,I need to look into this issue asap, I need to change
the redmine functionality of uploading files to disk to upload them to
database. I tried suggestion on
http://dizzy.co.uk/ruby_on_rails/contents/store-file-uploads-in-database
but no luck , My form is multipart but still getting the error.
Please bare with me I am new to ruby and rails.
Here is the like for my
2010 May 29
0
User Error during memcached integration
Hello, I hope all is well. I am hoping someone can help me with a
problem that I am certain is user error?
The configuration details below work in all my other environments
including integration, development and qa. However, the production
servers give the following error:
unable to find server during initialization.
When I telnet to the memcached box from the server having the problem
and run
2012 Jan 30
1
mod_rails under Apache under Ceontos 6
Hello listmates,
For some reason we don't seem to be able to launch a Ruby-on-rails
application ( http://www.redmine.org/ ) on a CentOS 6 machine under Apache.
Nor can I find a mod_rails as a separate package for it. Would anyone have
any idea what we might be doing wrong?
Thanks.
Boris.
2011 Aug 11
0
JRuby + Rails3 + Unit Tests = "Log" issue?
Hey all,
I am working on a Rails 3.0.7 application that is using JRuby 1.6.3,
running on Debian. I keep encountering an error regarding a missing
"Log" file when I am trying to run some Unit tests (among various
other activities). The cryptic error in question:
LoadError: No such file to load -- Log
Has anyone seen anything like this before? I am baffled as to where to
even begin to
2013 Feb 05
3
dashboard permission issue
I''m having trouble getting puppet dashboard (1.2.21) to run on apache.
i installed puppetmaster-passenger and puppet-dashboard package. It didn''t
create user puppet-dashboard automatically as stated in the installation
guide,
so i created one manually and chowned all files under /puppet-dashboard.
when testing with webrick everything works fine (as root).
when i try with
2009 Sep 23
6
Dreamhost launch issues. What gems are used in my rails app?
Hi guys,
I made a quick app for a family member to be deployed on Dreamhost (low
budget). It''s my first time deploying on DH so I''m not familiar with the
restrictions.
I''m having an issue where I''ve been able to get git on both systems and
used capistrano to deploy the app. However migrations fail. I also tried
exporting my local staging mysql schema and
2010 Dec 10
0
Encoding issues when uploading files
Hello everybody,
I have some troubles with uploading files in my Rails project.
I use Rails 3, Ruby 1.9.2, rack 1.2.1, and both webrick / passenger on
apache
I was investigating and have isolated the strange behaviour on a
simple empty project:
view:
<% form_tag({:action => ''upload''}, :multipart => true) do %>
<%=text_field_tag :desc %>
2008 Oct 28
1
Old Rails app: can't find file_column gem?
Hi all
I''m trying to get some old Rails app to work. But when trying to start
it, I get the following error:
josh$ script/server
=> Booting WEBrick...
./script/../config/../config/environment.rb:5: warning: already
initialized constant RAILS_ENV
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load -- file_column
2013 Jun 05
3
dashboard/passenger not connecting on port 8140
I have setup passenger w/ apache, but my dashboard is not connecting
properly. I am getting the following errors
em::Specification#installation_path called from
/etc/puppet/puppet-dashboard/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:93.
NOTE: Gem::Specification#installation_path is deprecated, use base_dir. It
will be removed on or after 2011-10-01.
2008 Apr 16
1
File descriptor passing broken in FreeBSD 7?
Hi,
I recently tried to use the newly released mod_rails
(www.modrails.com) for Apache, and discovered it doesn't work on
FreeBSD 7. It does however work on FreeBSD 6 just fine.
I tracked it down to sendmsg() as detailed here:
http://code.google.com/p/phusion-passenger/issues/detail?id=16
The mod_rails/passenger unit tests fail on FD passing, as do the Ruby
1.8.6 standard unit
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello!
i got this forum powered by apache and mod_rails
lately when i create / edit posts, i get plain html text showing up
instead of the actual page.
here''s what i see:
--
Content-Type: text/html; charset=utf-8
Set-Cookie:
_mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL
%250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2011 Sep 13
0
load balance multiple puppetmaster, backend workers not authenticating
I''m trying to load balance multiple puppetmasters using apache and
passenger as described in James''s book.
Was able to get a single passenger server installation to work
correctly. When I configure the frontend load balancer and backend
workers, the backend workers does not authenticate even though I am
passing the headers to it.
curl -v -H "Accept: pson, yaml" \
2009 Apr 27
0
Encoding Problem / mod_rails / passenger / Postgresql 8.3
Hi,
when I use mod_rails/passenger with apache2 on linux instead of
webbrick for our application, then it stops working with certain
browsers like the ie, and konqueror but still works with firefox.
I get the following error message:
ActionView::TemplateError (PGError: ERROR: invalid byte sequence for
encoding "UTF8": 0xad
HINT: This error can also happen if the byte sequence does