Displaying 20 results from an estimated 10000 matches similar to: "Rails / Rack version mismatch"
2011 May 24
2
problem with rack versions and puppet-dashboard
I get this error
can''t activate rack (~> 1.0.1), already activated rack-1.2.2
It appears that puppet-dashboard uses rack 1.0.1 but passenger 3.0.7
needs to use rack1.2.2
Is there a way around this or make dashboard use rack 1.2.2?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2010 Jun 14
3
How do I upgrade rack in my current rails app?
Hi,
I have a rails 2.3.8 app which has rack 1.1.0.
I get parse_multipart error.
There''s a new release of rack 1.2.0 which might fix the multipart error.
The question is how I upgrade the rack?
I froze the rails.
I did "gem update rack" and it upgraded rack to 1.2.0.
But my rails app still uses rack 1.1.
How do I set the rails app use rack 1.2.0?
Thanks.
Sam
--
Posted via
2010 Jan 05
6
thin server claims I don't have correct rails gem installed
Hi everyone, I need some insight into a problem I just started having.
I''m running ruby 1.8.6 on an ubuntu box with the following gems
installed:
$ sudo gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.3.4, 2.3.2, 2.2.2)
actionpack (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activerecord (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activeresource (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activesupport (2.3.5, 2.3.4,
2009 Jul 08
2
RuntimeError (JPEG marker not found!):
Hi,
while generating the PDF file , i am getting following error..
please help for me.
RuntimeError (JPEG marker not found!):
C:/Ruby/lib/ruby/gems/1.8/gems/pdf-writer-1.1.8/lib/pdf/writer/
graphics/imageinfo.rb:176:in `
measure_JPEG''
C:/Ruby/lib/ruby/gems/1.8/gems/pdf-writer-1.1.8/lib/pdf/writer/
graphics/imageinfo.rb:174:in `
loop''
2010 Sep 03
1
Rack gem in not getting unpacked
Hi All,
my server is having rack gems as:
rack (1.2.1, 1.1.0, 1.0.1, 1.0.0)
when i run the following command in my project/vendor/gems folder:
gem unpack rack-1.0.0
It shows the following error message:
Error: Gem ''rack-1.0.0'' not installed.
Any idea on this??
Thanks,
Saurabh
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
2010 Aug 03
2
PDFKit Fork() Function Unimplemented Error - HELP!
Hello All,
We''re working on a project on a Windows machine that will use PDFKit to
convert an HTML page to a PDF. I have followed all the instructions at
GitHub (http://github.com/jdpace/PDFKit), for installing wkhtmltopdf and
PDFKit, then creating the config file in ''config/initializers/pdfkit.rb''
and then finally, setting up Middleware for Rails apps in
2010 Jun 15
3
Newbie trying to set up rails with MySQL
Hello --
Please pardon my newness -- I''m just getting started with rails, and
I''m having some difficulty getting it set up with MySQL.
I am able to get the basic ruby server running (script\server). When I
created a new page (using script/generate controller about index), I
am not able to navigate to the new page, and Ruby either crashes or
gives me an error:
/!\ FAILSAFE /!\
2009 Aug 14
7
"sudo gem install rails" not able to install thin dependency
Hi folks,
I''m having trouble getting gems to install rails. It just keeps asking
me which version of thin I want to install. Until I choose skip or
cancel, in which case I''m told that something has gone wrong.
Any advice?
Thanks kindly,
Tommy
PS: Gems is 0.94.
---------------------------------------------------------------------
tommy@tommy-laptop:~/www/blog$ sudo gem
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 --
2010 Mar 23
3
NoMethodError in AdminController#index
I am newb in ror. I''ve googled and found no concrete answer to my
problem below:
NoMethodError in AdminController#index
undefined method `scaffold'' for AdminController:Class
RAILS_ROOT: /home/darwin/Sites/music_library
Application Trace | Framework Trace | Full Trace
/home/darwin/Sites/music_library/app/controllers/admin_controller.rb:3
2009 Apr 22
3
Error on running any controller- Noob question
Hi ,
I am running on Vista with webrick ...
When I generate controllers , models and views I get an error as
under.
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/
dependencies.rb:105:in `const_missing''
C:/ROR_lpapp042109/app/controllers/afflnetworks_controller.rb:5:in
`index''
I tried reinstalling but kept stumbling on this.
gem -v
1.3.2
rails -v
2.3.2
2009 Jun 13
5
undefined method `valid_password?'
I''m trying to set up the authlogic gem for rails, just after logging my
user I get this weird error:
NoMethodError in Usuari sessionsController#create
undefined method `valid_password?'' for #<Usuari:0xb69b9a54>
RAILS_ROOT: /home/cocozz/dev/enruscats
Application Trace | Framework Trace | Full Trace
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 :*
2009 Jun 30
2
First time problem
This is the first time I am Running ruby on rails.
When running the "blog" application I got the message
"We''re sorry, but something went wrong.
We''ve been notified about this issue and we''ll take a look at it
shortly."
Then I checked the CODE\blog\log\development.log and got this:
2009 Dec 24
4
NoMethodError
Hi,
In a few words, can someone explain to me the NoMethodError. Googling
for answers will get you to something but a direct answer from experts
will give you something.
NoMethodError in Book#new
Showing app/views/book/new.html.erb where line #4 raised:
undefined method `title'' for #<Book id: nil, created_at: nil,
updated_at: nil>
Extracted source (around line #4):
1:
2009 Jun 09
3
NameError what is it?
I have the following code in app/controllers/processjobs_controller.rb
#
class ProcessJobsController <ApplicationController
def index
@ProcessJobs = ProcessJobs.find(:all)
end
end
#
This is my route file ..
ActionController::Routing::Routes.draw do |map|
map.resources :ProcessJobs
map.connect '':controller/:action/:id''
map.connect
2013 Mar 24
5
Rails 4.0 has_many_through and fields_for
Hi all, I am trying to reproduce rails 3.2 behaviour with fields_for and
nested attributes.
class ControllerAction < ActiveRecord::Base
has_many :interactions, dependent: :destroy
has_many :roles, through: :interactions
scope :controllers, lambda {|name| where("controller_name_id = ?",
name)}
scope :actions, lambda {|name| where("action_name_id =
2012 Jul 31
1
puppet doc questions
Does puppet doc require a specific version of any gems (such as rdoc or
rake) to operate?
I''m getting some errors when I try to generate my rdoc now.
# puppet doc --output /var/www/test --modulepath
/etc/puppet/environments/test/modules -m rdoc
RDoc::RDocError is deprecated and will be removed in RDoc 4
Could not generate documentation: uninitialized constant
RDoc::RDoc::Generator
2010 Apr 26
2
/lib/rack/request.rb in my gem - is this reserved?
Hi!
I write a gem at the moment. The Gem need to register during the
process in the rack middleware.
So I make an folder "rack" inside my "lib" folder. I called the file
"request.rb" because it keeps track of requests.
So we speaking about the file /lib/rack/request.rb
But even if I place an empty file on this, I get the following: