Displaying 20 results from an estimated 10000 matches similar to: "gem install rails"
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
2009 Jan 20
0
Zlib error
Hi,
After installing the rubygems 1.3.1, I face the following issues while
installing new gems.
Error:
arun@mysystem:~/Desktop$ sudo gem install ip2country-0.0.2.gem
ERROR: While executing gem ... (Zlib::GzipFile::Error)
not in gzip format
My Environment:
OS - ubuntu 8.04 - the Hardy Heron version.
Ruby - ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
RubyGems Environment:
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 Jun 10
0
strange problem:no such file to load -- nokogiri on rails3
I am test the script named test.rb by command "ruby test.rb" and it
pass.
Then i converte it as rake task.
The rake task pass on rails 2.3.4 but fail on rails 3 beta4 with error
msg:
"no such file to load -- nokogiri"
============================
env :rails 3 beta4, ruby 1.8.7, ubuntu
============================
test.rb
============================
require
2010 Nov 22
3
gem install puppet-2.6.3 problem
All,
Trying to install puppet-2.6.3 on CentOS 5.4 and I get the following.
[root@stsdev-pri ~]# gem install puppet-2.6.3
ERROR: http://rubygems.org/ does not appear to be a repository
ERROR: Error installing puppet-2.6.3:
puppet requires facter (>= 1.5.1, runtime)
Facter is installed:
[root@stsdev-pri ~]# facter -v
1.5.8
Ruby is installed:
[root@stsdev-pri ~]# ruby --version
ruby
2011 Jan 25
0
win7,ruby1.9.2p136. gem install rails not working.
Hello!
I cannot install rails. `gem install rails` returns:
ERROR: While executing gem ... (TypeError)
incompatible marshal file format (can''t be read)
format version 4.8 required; 0.0 given
Interpreter is installed from http://rubyinstaller.org/ .
Fresh installation, `gem list --local` returns:
*** LOCAL GEMS ***
minitest (1.6.0)
rake (0.8.7)
rdoc (2.5.8)
`gem env`
2008 Jul 05
0
Undefined Method Angst After Rails / Ruby / Gem Updates
I have what appears to be a problem accessing methods from within an
application. I can access them from irb, but not from within the
app. In other words:
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''haml''
=> true
irb(main):003:0> Haml.respond_to?(''init_rails'')
=> true
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
2010 Feb 02
0
How to set RUBY EXECUTABLE path in Ruby Gems Environment
I have ruby 2 version in my Mac which are 1.8.6 and 1.8.7.
I would like to set Rubygems environment to point to Ruby 1.8.7.
Anyone know this issure????
ubyGems Environment:
- RUBYGEMS VERSION: 1.3.5
- RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [universal-
darwin9.0]
- INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/
2009 Jun 23
1
ERROR: Error installing mongrel:
Hi,
I am getting some problem while installing mongrel on GoDaddy(fedora)
server.
Env is ::
[root at ip-97-74-86-181 bin]# gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.4
- RUBY VERSION: 1.8.6 (2008-03-03 patchlevel 114) [i386-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS
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
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 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
-
2010 Feb 04
3
Rails Edge: gem bundle error
Hi.
Having installed Ruby 1.9 from source, I decided to have a look at
Rails3 aka Rails edge from git. Therefore, I followed wycats
instructions (http://weblog.rubyonrails.org/2010/1/1/getting-a-new-app-
running-on-edge), but keep getting an error related to Bundler:
$ sudo gem bundle --backtrace
ERROR: While executing gem ... (NoMethodError)
undefined method `path'' for
2011 Nov 29
1
Error in ROR App
hi all,
i am new to ROR,I have one ROR app developed in old version i upgrade
it with following version:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.2
- RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
- INSTALLATION DIRECTORY: D:/Ruby/lib/ruby/gems/1.8
- RUBY EXECUTABLE: D:/Ruby/bin/ruby.exe
- EXECUTABLE DIRECTORY: D:/Ruby/bin
- RUBYGEMS PLATFORMS:
- ruby
-
2009 Dec 05
1
Server Boot stall
Hello,
I am relatively new to the Ruby community. I did look through the archives
and did not find anything that looked like what I am experiencing.
I have tried setting up RoR with the mongrel gem on both of my machines -
one runs Windows WP and the other runs Vista. I was able to do some
development for a couple of days in Netbeans and the server script was
working, but when I updated
2011 May 27
2
Can't install RedCloth gem, fails to compile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
I''m trying to install the RedCloth gem on my Arch Linux (64bit) system,
but hadn''t had success yet, RedCloth doesn''t seem to compile. Here''s the
installation output:
======================================
$ LANG=en_US.utf8 sudo gem install RedCloth
Building native extensions. This could take a while...
2010 Oct 08
0
Problem with installing linecache on Windows XP
I''ve been trying to move a Rails 2.3.8 app from OXS to Windows XP for
demonstration purposes. I''m having a problem with some of the gems;
linecache is one.
When I try to install the linecache gem, I get the following:
>gem install linecache
Building native extensions. This could take a while...
ERROR: Error installing linecache:
ERROR: Failed to build gem native
2010 Sep 30
0
no such file to load --initializer
Hi all,
issuing the command "$rake gems" in a rails-application folder leads
to the error "no such file to load -- initializer"
I am on centos5.2, ruby 1.9.2.p0, rubygems 1.3.7, rails 3.0
irb -> require ''rubygems'' => false
echo $GEM_PATH leads to /usr/local/lib/ruby/gems/1.9.1
gem environment leads to
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7 -
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