Displaying 20 results from an estimated 10000 matches similar to: "/lib/rack/request.rb in my gem - is this reserved?"
2011 May 15
0
Upgrading to Rails 3.1
I''m working on updating my rails 3.0.5 app to rails 3.1.0.beta1 and I
seem to be running into a problem when doing `rake rails:update` when it
runs `rake rails:update:javascripts`
Here is my bundle:
Gems included by the bundle:
* RedCloth (4.2.7)
* actionmailer (3.1.0.beta1)
* actionpack (3.1.0.beta1)
* activemodel (3.1.0.beta1)
* activerecord (3.1.0.beta1)
* activeresource
2011 Jun 03
0
Rack Middleware support for Rails 2.0.2? If not what is the alternative to implement similar functionality in Rails 2.0.2..
Hello all,
I am using Rails 2.0.2 and Ruby 1.8.7 and I need to make use of rack
middleware for integrating an ajax file upload plugin(https://
github.com/valums/file-uploader) with paperclip in Rails( As given in
this tutorial:-
http://mooooooooooo.wordpress.com/2010/12/03/paperclip-valums%E2%80%99s-file-uploader-and-middleware-continued/).
I have referred to the rack-middleware Railscast by
2010 Aug 26
2
Today: constant JSON::Parser not defined
(Using the latest 3-0-stable and rvm, and ruby-1.9.2-p0)
Yesterday everything worked, my own changes are very minor and in the
application only. Did anything change that could have caused this
problem? Unfortunately simply going back in rails alone to the
original "RC2" git-tag did not immediately help, so it may be some
other problem (on my own system only, even if I''m
2010 Jun 17
2
"LoadError: no such file to load -- openssl", following Rails Guides
[With apologies for cross-posting at http://railsforum.com/viewtopic.php?id=39587]
Hi all,
I''m following the edge ''getting started'' guide at
http://guides.rails.info/getting_started.html, running ROR 3. I''m
running Ruby 1.9.2 (as instructed by the guide), installed using RVM.
I get an error when following "4.3 Setting the Application Home
Page".
2011 Oct 04
4
Problem: Puppet under Passenger.
Having issues getting Puppet running under Passenger.
From httpd error_log:
[ pid=24647 thr=268010020 file=utils.rb:176 time=2011-10-04
11:45:10.892 ]: *** Exception LoadError in
PhusionPassenger::Rack::ApplicationSpawner (no such file to load --
puppet/application/master) (process 24647, thread #<Thread:
0x0000001ff30448>):
from
2013 Aug 29
4
linkedin gem
Hi,
I am following this post *
http://www.sitepoint.com/ruby-social-gems-linkedin/* for using linked gem
and API for getting profile and other stuff
But at the end I am getting this error:
=> Booting WEBrick
=> Rails 3.2.13 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
HI All,
I have installed the Active Admin successfully, but facing the following
error while restarting the server after generating an resource.
*rails generate active_admin:resource item*
/home/logs/Desktop/training/RAILS/courier/app/admin/items.rb:1:in `<top
(required)>'': uninitialized constant Item (NameError)
from
2010 Dec 15
2
Error reverse engineering MySQL with RMRE
Hi
I am been trying in vain to auto-gen models by reverse-engineering
mysql using RMRE. It complains mysql2 gem missing but as seen in my
Rails environment below, it is there.
Here''s my Rails environment and RMRE error. Experts... please help!
Thanks a ton in advance!!
===
Ruby version 1.9.2 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.2
Rails version 3.0.3
Active Record
2010 Dec 09
0
Re: How to use unicorn server on Rails 3 [Solved]
On 8 December 2010 21:25, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:
> I am using Rails 3.0.3, Ruby 1.9.2 with rvm on Ubunutu 10.04. I
> generated a new app by rails new testunicorn. By default the Webrick
> server runs ok. In order to try Unicorn I uncommented gem ''unicorn''
> in Gemfile and did bundle install. rails server still runs
2011 Nov 05
2
Where is my gem file located so that i can rake test
Googling around, I found that apparently adding to the gem file will
fix my problems, but where do i find the gem file? what is the name of
the gem file?
"group :test do
# Pretty printed test output
gem ''minitest'' ####### add this line #######
end"
Here is what happens when i run rake test, please note that i have
already installed minitest
2011 Dec 07
1
Errors when running the local server
Hi all,
I''m running an application on my localhost, but the command "rails server"
behaves very inconsistently. About an hour ago it ran well on another app,
but got errors now.
According to the errors it seemed that the server began to run but the
there is something missing in the library. But I''m very new to Rails so
cannot figure out what do these lines mean:
2012 Sep 18
2
undefined method `to_sym' for nil:NilClass
Hi all,
I am trying to upgrade my rails 2 app to 3 and am getting this error
when trying to login:
NoMethodError in AuthenticateController#authenticate
undefined method `to_sym'' for nil:NilClass
The stack trace is:
activerecord (3.2.2) lib/active_record/validations/uniqueness.rb:26:in
`validate_each''
activemodel (3.2.2) lib/active_model/validator.rb:153:in
2011 Oct 30
2
Could not find rails (>= 0) amongst [bundler-1.0.21]
Hello, I''m new to Ruby and unix/linux development (although been
building .net apps for years).
I''ve almost completed my trek to install Rails ... looks like I have one
final hurdle. After installing rails I try the ''rails -v'' command and
it fails. Any help here would be deeply appreciated.
Here''s the output from my bash session:
bash-3.2$ ruby
2011 Oct 14
3
RSpec 2 not working on Rails 3.1.1
Hey,
I updated some Gems and now rspec seems to be broken. The weird thing is
it fails because of Test::Unit which doesnt make much sense to me.
/Users/username/.rvm/gems/ruby-1.9.2-p290@ror_project/gems/rack-1.3.4/lib/rack/backports/uri/common_192.rb:53:
warning: already initialized constant WFKV_
/Users/username/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/test/unit/testcase.rb:9:in
2010 Jul 10
0
`method_missing': undefined method `i18n' for #<Rails::Railtie::Configuration:0x000001010fce98>
I have recently upgraqded to Ruby 1.9.2-rc1 and reinstalled rails 3
beta 4 with all the dependencies. I have run bundle install in my
rails project. Now I am trying to run some tests...
My test_helper.rb file looks like this:
# test_helper.rb
require ''rubygems''
require ''test/unit''
require ''rails/all''
$ gem list
i18n (0.4.1, 0.3.7)
2012 Jan 23
2
Rails 3.2: invalid %-encoding (100%)
I started getting exception notifications recently from the server
just about the time I upgraded to Rails 3.2. I don''t know if that is a
coincidence or not. Evidently some robot is hitting my site with:
mydomain.com?iframe=true&width=100%&height=100%
and that is throwing an exception.
I have two questions:
1) First, just out of curiosity, who puts
2011 Jul 23
3
Problems running unicorn_rails without bundle exec (in a RVM context)
Hello,
I cannot run unicorn_rails out without using bundle exec . This is the error:
/home/user/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.15/lib/bundler/runtime.rb:31:in
`block in setup'': You have already activated rack 1.3.1, but your
Gemfile requires rack 1.2.3. Consider using bundle exec.
(Gem::LoadError)
Maybe RVM is involved? Maybe I am involved?
Please add me in the CC replies,
2010 May 09
7
"File not found: lib" installing rails-3.0.0.beta3 on my Mac
I''ve always distrusted the ruby and rails installs on my Mac (oOS X
10.6.3) -- sudo gem cleanup can''t seem to get rid of old gem versions
(lots of Gem::InstallError: cannot uninstall).
Because of that, I don''t trust the rails beta3 install I just
completed. Here''s the story:
* config is Apple''s ruby 1.8.7 and gem 1.3.6.
* xcode is installed from
2012 Oct 18
0
unexpected return (LocalJumpError) only when executing this code within autoloaded classes?
Posted on stackoverflow but no traction yet:
http://stackoverflow.com/questions/12942505/why-does-using-set-trace-func-work-in-some-places-but-cause-unexpected-return-l
The following is a generified part of the code in a gem I''m working on:
module SomeModule
class << self
attr_accessor :procedure
def log_events(*args)
args.flatten!
2010 Jun 04
4
Mac OS/X and Rails 3 ?
Hello List,
Label me a newb, but how do you install Rails 3 on your Mac?
Google sent me to these URLs:
http://weblog.rubyonrails.org/2010/2/5/rails-3-0-beta-release/
http://guides.rails.info/3_0_release_notes.html
http://asciicasts.com/episodes/200-rails-3-beta-and-rvm
From early Feb 2010 I see this short recipe:
gem install tzinfo builder memcache-client rack rack-test rack-mount
erubis mail