similar to: Reposted from Superuser - Installing Ruby on Rails on Ubuntu 10.04: A Living Nightmare

Displaying 20 results from an estimated 9000 matches similar to: "Reposted from Superuser - Installing Ruby on Rails on Ubuntu 10.04: A Living Nightmare"

2007 Oct 28
6
high cpu load
Hi all, My mongrel server (1.0.3), with a very low usage, is taking more than 10% of cpu usage all the time (no background tasks were defined by me). This is very annoying and it is preventing me from being able to thing about good cluster configuration. Any idea on why this is happening? cheers and regards, Danilo -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Jul 30
1
Problem with installing Rails 2.3.8 on Ubuntu 10.04
hi, I installed the ruby-full package. After downloading the rubygems 1.3.7, I installed it without any problem. I guess it should have installed relative gems by default, such as activesupport. Any help is appreciated. Mars root@mars-laptop:~# uname -a Linux mars-laptop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux root@mars-laptop:~# ruby -v ruby 1.8.7
2010 Nov 11
1
Permission denied while running rsync as Superuser
We are running rsync (v3.0.7) as superuser (root), with following options ? /opt/rsync-v3.0.7/bin/rsync --checksum -e rsh --archive --rsync-path=/opt/rsync-v3.0.7/bin/rsync --hard-links --timeout=5184000 --exclude=.snapshot --exclude=../latest --exclude=../previous --delete --compress --stats distuser\@myserver:/source/dir/ /dest/dir Few files are owned by a user ?jim? with following
2008 Jul 26
4
Mongrel on Ruby 1.8.6 w/ patchlevel 279 (Win)
Hi, I can''t install Mongrel on Ruby 1.8.6 (patchlevel 279), using Windows XP. My environment: C:\ruby18>gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.2.0 - RUBY VERSION: 1.8.6 (2008-07-17 patchlevel 279) [i386-mingw32] - INSTALLATION DIRECTORY: c:/ruby18/lib/ruby/gems/1.8 - RUBY EXECUTABLE: c:/ruby18/bin/ruby.exe - EXECUTABLE DIRECTORY: c:/ruby18/bin -
2008 Jun 22
6
Installing Rails
Having a god-awful time installing Rails. I started with the instructions found on this page: http://articles.slicehost.com/2007/11/23/ubuntu-gutsy-mysql-and-ror I get the following error: vbfischer@ubuntu:~$ sudo gem install rails [sudo] password for vbfischer: Bulk updating Gem source index for: http://gems.rubyforge.org/ Updating metadata for 13 gems from http://gems.rubyonrails.org/
2010 Jan 23
10
Trouble creating mingw binary
Hi, I''m trying to build a binary for win32-open with a mingw install but I''m having trouble. I''ve installed MinGW 5.1.6 and I''ve got gcc, etc. But, when I run "ruby extconf.rb; make" I get the following error: C:\Documents and Settings\djberge\Repositories\win32-open3\ext>ruby extconf.rb checking for ruby/io.h... no checking for rb_pid_t in
2008 Nov 20
1
running tests on gem
Is there a way to run he tests with cjust the gem installed? I wanted to run the tests on the gem and tried: $ jruby -S gem list RedCloth *** LOCAL GEMS *** RedCloth (4.1.1) $ jruby --version jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-14 rev 6586) [i386-java] [jruby.git (master)]$ jruby -S gem check -test RedCloth ERROR: While executing gem ... (OptionParser::InvalidOption)
2009 Dec 22
16
Will paginate is missing on rake db:migrate
I have a very annoying problem, when doing rake db:migrate, I get the error message: Missing these required gems: will_paginate ~> 2.3.11 But the gem is not missing, It runs very well in my app. To make the rake pass I have to comment out the gem in my environment.rb file. environment.rb: config.gem "will_paginate", :version => "~> 2.3.11", :source =>
2006 Feb 28
10
Salted hash login, postgresql, unit tests
Hello, I have tried to install the salted hash login generator by following the quick start guide at: http://wiki.rubyonrails.com/rails/pages/SaltedLoginGeneratorQuickstart. Everything seems to work fine until I try to run the unit tests by doing ''rake test_units'', then I get the following error message: <error-message> [brasse@keso login-test]$ rake test_units (in
2007 Nov 06
3
gem problems on Windows
$ gem list wxruby *** LOCAL GEMS *** wxruby (1.9.1, 1.9.0) Ruby interface to the wxWidgets GUI library $ gem install wxruby Need to update 39 gems from http://gems.rubyforge.org ....................................... complete Select which gem to install for your platform (i386-mswin32) 1. wxruby 1.9.2 (x86_64-linux) 2. wxruby 1.9.1 (x86_64-linux) 3. Skip this gem 4. Cancel installation
2008 Nov 07
11
Rails requires RubyGems >= 1.1.1 : problem
Hello, On my local machine (Mac OS X 10.5.5), I get the following error when I try to run script/server start : "Rails requires RubyGems >= 1.1.1 (you have 1.0.1). Please `gem update --system` and try again." The Rails app was a former 1.2.6 upgraded to 2.1, and it worked fine. I''ve run the rake rails:update command. If I create a new Rails app, it starts with the command
2010 Oct 23
4
Could not find 'sqlite3-ruby' error in Ubuntu
Hi all, please help me: First time I totally had to delete all ruby and Rails because of this problem. How to solve it well? The message is: *Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem sources.* *Try running `bundle install`* I have *Ubuntu* Linux. ruby -v = *1.9.2p0* gem -v = *1.3.7* rails -v = error message again, 2 hours ago it was "rails
2009 Jan 01
1
gem_original_require no such file to load -- /var/www/vhosts/gophotoswap.com/httpdocs/current/config/environment ( LoadError )
** Daemonized, any open files are closed. Look at /var/www/vhosts/ gophotoswap.com/httpdocs/shared/pids/mongrel.8000.pid and /var/www/ vhosts/gophotoswap.com/httpdocs/shared/log/mongrel.8000.log for info. ** Starting Mongrel listening at 127.0.0.1:8000 ** Initiating groups for "mongrel":"mongrel". ** Changing group to "mongrel". ** Changing user to
2008 Jan 11
26
Mongrel doesn''t start under Rails 2.0.2/Win XP
All, Mongrel 1.1.3 Rails 2.0.2 Ruby 1.8.6 Windows XP SP2 When I issue the command "ruby script/server" from any of my Rails projects on v. 2.0.2, I get a Windows dialog with the error: "The application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem." I''ve gone through the process of attempting to introduce
2008 Oct 31
4
RedCloth 4.1.0 released with JRuby support
Sorry it took me a week to release the JRuby version. I was out sick most of the week. Thanks a million, Ola Bini, for implementing the Java code! Give it a go: Ruby: gem install RedCloth JRuby: jgem install RedCloth Let me know how it goes for you. Jason
2009 Oct 30
2
wxRuby on Ubuntu 9.10
Installing the gem from rubygems, along with the available wxwidgets packages from synaptic, I'd recieve this error: /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so: /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so: symbol _ZN13wxAuiNotebook14ShowWindowMenuEv, version WXU_2.8.5 not defined in file libwx_gtk2u_aui-2.8.so.0 with link time reference -
2012 Jun 06
1
why to get the error 'undefined method `write_inheritable_attribute''
I started getting this error message when I attempt to do some rake tasks: $ rails destroy scaffold genotypes /usr/share/rails-ruby1.8/railties/lib/rails_generator/options.rb:32:in `default_options'': undefined method `write_inheritable_attribute'' for Rails::Generator::Base:Class (NoMethodError) from /usr/share/rails-ruby1.8/railties/lib/rails_generator/base.rb:90:in
2010 Dec 24
2
buildr Windows 7 64 bit problems
Preface: I''m not overly familiar with the inner workings of RoR, so I apologize for my relatively superficial knowledge upfront I have a new 64 bit Windows 7 machine. My dev environment on my old machine which functions fine (sans a functioning monitor -- thus the new machine), I have the following installed and functioning well: Ruby 1.8.6 using the Windows MSI installer Buildr 1.3.3
2008 Apr 04
2
can't install rails. gem zlib crc error
hi all i''m trying to install ruby on rails on my debian server. i didn''t use apt-get. i installed everything from source. i used this tutorial (without PD-Admin): http://railswiki.de/Ruby_on_Rails_auf_einem_Debian_Server_installieren now i can''t install rails over gem, i''m getting this zlib crc error: root@co2:~# gem install rails --include-dependencies
2009 Dec 29
1
undefined method `alias_method_chain' for I18n::Backend::Simple:Class
Hi, We are running RE: ruby 1.8.7 (2009-06-12 patchlevel 174) [sparc-solaris2.10], MBARI 0x8770, Ruby Enterprise Edition 2009.10 I tried a simple web app with a controller rendering a text and is working in my PC but on the server I get: Error message: undefined method `alias_method_chain'' for I18n::Backend::Simple:Class Exception class: NoMethodError Application root: