Displaying 20 results from an estimated 3000 matches similar to: "Rails can't find it's gems"
2009 Apr 12
9
invalid byte sequence utf-8 OR best option to sanitize content brought in with net::http? single non-utf character causes rails to crash
hi all,
platform: debian lenny, ruby1.91.p0, passenger/apache-multithread,
rails2.3 in vendor/postres and sql server via odbc. all current gems.
i have legacy asp content on win2k servers that i wrap in rails
controllers. this all worked great with ruby1.8, but now that we are
dealing with encoded strings in ruby1.9, i am having page crashes
randomly as users have cut and pasted high ascii code
2009 Feb 27
1
rake bombs on openssl (on Ubuntu)
RoR-ers,
I''ve bumped into an issue with ruby and ssl.
I''m trying to run a rake command which aborts because it cannot find
openssl.rb.
I followed these steps:
- mkdir /rho; chown phor /rho
- wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.bz2
- tar jxf ruby-1.8.7-p72.tar.bz2
- cd ruby-1.8.7-p72
- vi ext/Setup and uncomment these lines:
bigdecimal
curses
2010 Oct 22
1
Could not find rake-0.8.7 in any of the sources
After upgrading my server to:
Ubuntu server 10.10
Ruby 1.9.2
Rails 3.0.1
Passenger 3.0.0
rake is unable to find itself:
> rake -T
Could not find rake-0.8.7 in any of the sources
Try running `bundle install`.
but `gem list` and ''bundle list'' shows that rake-0.8.7 is installed!
When loading the webapp in the browser:
Could not find rake-0.8.7 in any of the sources
2006 Jan 24
5
A little problem
Hi everyone,
I''m Matteo, I''m Italian, so sorry for my bad English.
I''ve just downloaded the "depot" examples, but I''ve an error:
# script/server
bash: script/server: /Users/dave/ruby1.8/bin/ruby: bad interpreter: No
such file or directory
matteod@bones:~/work/rails-code/depot8$
What''s wrong? Would you mind suggesting me how to fix this
2006 Jan 19
5
RoR still not working on SuSE 9.0 - incomplete headers received
Hi,
I''ve already posted my problem a few weeks ago on several forums, or
lists. I still have the same problem:
I have a SuSE 9.0 machine, Apache 2.x, ruby 1.8.4 I wanna get RoR
working with fastCGI.
I have installed different versions of fastCGI, have checked the
permissions of the fcgi-ipc directory, reinstalled everything and it
still doesn''t work.
In the browser window I
2009 Sep 12
5
undefined method `^' for "d":String
Hi guys.
I''m a freshman on Rails (and Ruby) so I''m sorry if my question is
pretty basic, and possible has a vary basic answer. I tried to Google
this problem, but a couple of hour after and no solution found, I
decided to ask for help here.
I have installed ruby 1.9.1p243, Rails 2.3.4, Gem 1.3.5, SQLite
version 3.6.18 (I think this is all that it''s needed).
I´m reading
2011 Nov 25
3
Is package gem and provider gem usage in one puppet run possible?
Hi,
we want to install the ruby-gem package on a Debian system using puppet.
package { ''ruby1.9.1'': ensure => present }
In another manifest we want to use the gem provider to install a ruby gem.
package { ''bundler'': ensure => present, provider => gem }
On the first run the puppet agent run checks for a functional gem binary on the system.
It will
2006 Mar 17
2
Installing MySql using Ruby Gems
I''m using Kubuntu Breezy and I''m trying to install MySql using Ruby I''m
using ruby 1.8.3 and gem 0.8.11
#####
jimmyb@scooter:~$ sudo gem install mysql
Attempting local installation of ''mysql''
Local gem file not found: mysql*.gem
Attempting remote installation of ''mysql''
Updating Gem source index for: http://gems.rubyforge.org
2008 Jan 15
9
using postgres rails/rake fails
hello list,
yesterday i installed a fresh rails installation with a proper upgrade
of gem to version 1.0.1
i saw, there is still a gem package to support postgresql known as
postgres-0.7.9.2008.01.09
on rubyforge, its the newest one of stable postgres support for ruby
additionally i installed, of course, a the postgres database on my
machine to
C:\Programme\PostgreSQL\8.2
after setting up a new
2007 Nov 05
4
mongrel not finding correct ruby path
hello all,
i have been trying to figure this out for the last few hours, and after
seemingly exhausting all the google search results, i figured i would try
this mailing list...
i just updated the ruby version on my ubuntu dapper drake box to the most
recent version. i installed it into /usr/local/bin
problematically, the previous installation was in /usr/bin
mongrel still complains that:
2010 Apr 23
3
rails-3.0.0.beta3 install error on ri 'lib' ENOENT
Hi,
I was getting an odd error installing rails-3.0.0.beta3 on a fresh
Ubuntu 10.04 install. The same exact error was occurring on my Ubuntu
9.10 install, so I''m sure it isn''t something specific to the Ubuntu
version (nor beta for that matter).
This is the error:
mike@ubuntu:~/rubygems-1.3.6$ sudo gem1.9.1 install rails --pre
Successfully installed activesupport-3.0.0.beta3
2010 Feb 19
1
env: ruby1.9: No such file or directory - FIX
In the root of a rails 3 app:
$ rails
env: ruby1.9: No such file or directory
$ script/rails
env: ruby1.9: No such file or directory
$ script/rails generate
env: ruby1.9: No such file or directory
$ ruby -v
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin10.2.0]
$ mate script/rails
#!/usr/bin/env ruby1.9 --> #!/usr/bin/env ruby
--
You received this message because you are subscribed
2010 Jan 03
24
SQLServer on Rails
Does any one know how to setup SQLserver with ruby1.9. It was working
on an earlier version and now nothing works! I have installed the
gems dbi ,dbd-odbc and activerecord-odbc-adapter and can connect in
straight Ruby. However, using rails with database.yml nothing works!
I hosed everything and reinstalled rails and now, I get Win32/Parite
virus on ruby.exe. Any ideas? I''m losing
2009 May 10
3
Ruby 1.9 problem
What wrong:
# rails test
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext/uri.rb:8:in
`<top (required)>'': uninitialized constant URI::Parser (NameError)
from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:3:in
`require''
from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:3:in
`block in
2010 May 29
2
Unable to gem install rails
I am unable to install rails via the CLI, Fedora 13. This is a new
installation and I am not certain why I am receiving this error.
ERROR: Loading command: install (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
ubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.1 (2009-12-07
2013 Jun 18
0
Announce: Puppet 2.7.22 Available [ Security Release ]
Puppet 2.7.22 is now available. 2.7.22 addresses a security
vulnerability discovered in the 2.7.x series of Puppet. This
vulnerability has been assigned Mitre CVE number CVE-2013-3567.
All users of Puppet 2.7.21 and earlier who cannot upgrade to the
current version of Puppet, 3.2.2, are strongly encouraged to upgrade
to 2.7.22.
For more information on this vulnerability, please visit
2007 Nov 13
15
require metaparameter and gems
I tried to install the ''mongrel'' gem tonight via puppet in an attempt to
migrate from webrick to mongrel as described on the puppet site[1]. I
added the following to my manifest:
package {
"rubygems":
ensure => installed;
"mongrel":
ensure => installed,
provider => gem,
require => Package["rubygems"];
}
2010 Jul 21
3
no such file to load -- webgen/webgentask
When I execute `rake` inside of a new webgen-0.5.12 project with ruby1.8
there is the error
no such file to load -- webgen/webgentask
/my/dir/Rakefile:11:in `require''
With ruby1.9 it works.
Michael
2007 Dec 18
3
First Shoot, many more to appear: Rails on Ruby 1.9
Guys,
Subject says everything:
http://www.frederico-araujo.com/2007/12/18/my-first-successful-booting-rails-2-0-2-ruby-1-9-attempt
Even ActionView uses Proc.binding (which isn''t correctly supported in
1.9) it appears that lot of folks will try to put their hands in Ruby
1.9 when it comes out, and of course, try to get Rails with Mongrel
running in it.
Zed, Wayne, Evan and ry: maybe we
2011 Jul 21
5
Freezing one gem in Rails 3
Hi,
I''m working on an app for a colleague.
He has written his own pagination class, but it is buggy and not
very DRY. Therefore I replaced it with the well-known "will_paginate"
gem, and that works just great.
The only problem is, that although this works on my machine, my
colleague (for whatever reason) refuses to install any additional gems
on his machine (I guess this is