similar to: nothing rendered, but dispatch.rb returns the page

Displaying 20 results from an estimated 8000 matches similar to: "nothing rendered, but dispatch.rb returns the page"

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 Aug 03
5
Cannot find gem for Rails error from dispatch.cgi
Hi All, I''m developing a Rails app with Rails v1.1.4, but when I upload it to Dreamhost and try to serve it with dispatch.cgi, I get the error "Cannot find gem for Rails =1.1.4". However, I have installed the 1.1.4 gem in my home directory and set GEM_PATH to look there; additionally, rake throws no errors and "rails -v" displays "Rails 1.1.4". Any
2007 Feb 27
5
Camping on Dreamhost - Please Help!
Hi Folks, I''ve been trying to get camping up and running on dreamhost for the past six hours, but have had no success. I''d really appreciate any suggestions! The camping gem is on the dreamhost server, but just to make sure it wasn''t a dependency issue causing all the problems, I installed camping + the full set of dependencies in my own gem directory (both are on the
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
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
2008 Jun 09
0
Error when executing "rake db:migrate" with frozen Rails 2.1.0 on Media Temple
I''m hoping someone might have some insight into this, because I don''t quite know how to figure this one out. I''m running the command with Capistrano''s deploy:migrate to my (mt) Media Temple (gs) Grid Server, but I get the same error (from "rake aborted!" and on below) when I run "rake db:migrate" directly on the server in the
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
2011 Apr 18
2
rubygems fail - require hpricot!
Hi guys, I wanted to fetch some info from webpage and use it in my db. I read hpricot is one way to do it. But the problem is I''m unable to use it with my app. For some reason after successfully installing hpricot it fails when I try to use it in the rails console. I''ve been trying to fix this for the last four-five days. I''m stumped ! I tried re-installing everything
2009 Sep 09
5
Newbie question: undefined method 'number_with_delimiter'(probably configuration problem)
Hi all: i am using gem to insall rails 2.3.3 and using $rails myapp to generate my application, but strangely i can''t use the number_helper below is my env: export RUBY_HOME=$HOME/ruby export GEM_HOME=$HOME/gems export RUBYLIB=$RUBY_HOME/lib:$RUBY_HOME/lib/ruby:$RUBY_HOME/lib/ site_ruby/1.8 export PATH=$HOME/gems/bin:$HOME/ruby/bin: and: $ locate number_helper.rb
2006 Apr 10
0
Gems on custom dir are ignored
Hi: Im working on my hosting linux platform and Im trying to use custom gems not that default installed on /usr/lib/ruby/gems/1.8 I installed gems on $HOME/apps/lib/gems/1.8 I export: export GEM_HOME=$HOME/apps/lib/gems/1.8 export GEM_PATH=$HOME/apps/lib/gems/1.8 I got rails 1.1.2 rails -v shows Rails 1.1.2 but on a page using dispatch.rb I got
2010 Dec 11
2
Problem using rvm in bash script
I am using rvm installed on Ubuntu 10.04 as recommended in the rvm docs (including changes to .bashrc) and all is working well with several versions of Rails, and Ruby 1.8.7 and 1.9.2. If I run rvm use 1.9.2 it says Using /home/colinl/.rvm/gems/ruby-1.9.2-p0 and if I run rvm info It shows exactly what I would expect for 1.9.2 and I can start the rails server and all is well. The problem arises if
2007 Feb 05
4
rubgems in user directory - HELP!
I''m trying to install ruby on rails to a host server that I don''t have root access to. The server already has ruby. I''ve followed the info on these two pages for installing rubygems in a non-root user directory: http://rubygems.org/read/chapter/3 http://wiki.rubyonrails.com/rails/pages/HowToUseMultipleGemRepositories rubygems appears to be installed correctly but when
2007 Jul 31
2
Camping-list Digest, Vol 15, Issue 2
Eli, This is interesting. I enabled DEBUG logging in Apache and tailed the error.log. Lo and behold, you''re right, its a problem with one of my require statements. Namely: `gem_original_require'': no such file to load -- camping/fastcgi (LoadError) Strange, it works fine when I do it in IRB, or do it from a ruby script at the bash prompt. Apache runs as the same user that
2006 Aug 16
6
Experience with ferret on Dreamhost ?
Does anybody have experience with running ferret on dreamhost ? My app is running ok until I install the acts_as_ferret plugin, at which point I get "Rails application failed to start properly" errors. I''ve used script/console to confirm that I can require ''ferret'' and make a new Index object . Everything appears to be ok in that respect. Unfortunately
2005 Dec 18
8
Invoking Rails from an API
Hi, I am trying to use ruby int an embedded web server. The environment does not have the luxury of CGI or WebBrick. I find limited documentation on how to get this to work. As a test program on windows, I tried the code in the section below. I have the issues. 1. Is public/dispatch.rb the right script to invoke a rails app? If so, what is the right way to invoke dispatch.rb? 2.
2007 Mar 28
3
Camping on Dreamhost - Please Help!
Dan did you get camping running on dreamhost already?? i?m trying to run it also but i haven''t succeed yet. it runs on command line but when i add the rewrite rules on .htaccess i get a internal server error. I emailed support to ask about ScriptAlias and they say they cannot change or add that to apache conf. -- Andr? G. Cardozo
2006 Jul 20
1
Installing flickr.rb on Dreamhost Error - HELP
I tried to install flickr.rb on my Dreamhost server, and I got an error. This is what I did to install it: $> gem install flickr I''m not sure if there are any other parameters... does anyone know why I got errors when trying to install this? What does it mean when it asks "Install required dependency xml-simple?" By the way, here''s the results: [myserver]$
2007 Feb 08
1
mongrel cluster and local gems loading problem
Hello, I''m trying to augment the GEM_PATH to load gems from ~/.gem/ using this at the begging of the rails application config/environment.rb file: ENV[''GEM_PATH''] = File.expand_path(''~/.gem'') This works fine from within script/console: $ script/console >> require ''pdf/writer'' => true But when I try to run:
2008 Jul 03
1
halp! howto config env.rb to look for rmagick gem?
hi, my rails application is having trouble locating rmagick to use with acts as attachment. my host put the gem in /home/myaccount/ruby/gems/gems/rmagick. how do i tell my rails app rmagick is located there? i tried require "/home/myaccount/ruby/gems/gems/rmagick", but that was crashing my rails app. and ENV[''GEM_PATH''] =
2006 Jul 27
5
Dreamhost working deploy.rb? Can anyone post/send me a copy?
Hi, Just trying to get Capistrano working to Dreamhost. I''m hitting a permissions issue on the reaper file at the moment. Has anyone a copy of the capistrano DEPLOY.RB file they could post or send me a copy of please? Thanks Greg -- Posted via http://www.ruby-forum.com/.