Questions tagged [rubygems]
61 questions
101
votes
5 answers
How to install rmagick on Ubuntu 10.04?
Here's what I've done so far:
sudo apt-get install imagemagick libmagickcore-dev
This did not throw any errors, so I think that ImageMagick is installed fine. Then I tried installing the gem:
sudo gem install rmagick
This resulted in the following…
Andrew
- 15,494
64
votes
4 answers
gem install rails doesn't do anything
I installed Ruby and RubyGems on Ubuntu 10.04. Ruby is version 1.8.7. Gems is version 1.3.7. When I try sudo gem install rails, nothing happens. It just hangs forever. What am I missing? Thanks!
bsamek
- 959
16
votes
11 answers
I have compiled ImageMagick on my CentOS, and RMagick won't install
I installed ImageMagick through, (Using ImageMagick 6.7.3-7)
./configure --prefix=/usr && make && make install
When I try to
gem install imagemagick
I get
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
…
Ken Li
- 996
16
votes
1 answer
How to completely remove Ruby, Ruby gems on Mac OS X 10.6.4
Most rubyists might be shocked when they'll read this, but I'd like to know if it's possible to completely remove the Ruby framework as well as all the tools and gems that ship with Mac OS X 10.6.4.
Any help would be appreciated. (And explanations…
just_a_dude
- 475
15
votes
2 answers
How to install the latest version of Ruby and Ruby on Rails in Ubuntu?
I installed Ruby with the command apt-get install ruby1.9.1, but when I enter ruby in the console, nothing happens.
I have to use the command
ruby1.9.1-v
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
But how do I call it with ruby and not…
BILL
- 265
12
votes
1 answer
How to rebuild all my Ruby gems?
I ran into an apparently known issue with the native C compiler on OS X 10.8 not building Ruby gems correctly, so I installed GCC as suggested.
How do I have rvm rebuild all of the already-installed gems?
I tried rvm update --rubygems 1.9.3, which…
Ken
- 123
- 1
- 1
- 4
10
votes
3 answers
How to install the MySQL Ruby Gem on Ubuntu 9.10?
I am having a problem installing the Ruby Gem for MySQL. This is the command that I am running:
sudo gem install mysql
and this is the output that I'm getting:
Building native extensions. This could take a while...
ERROR: Error installing mysql:
…
Andrew
- 15,494
9
votes
1 answer
How to backup ruby gems?
How do you backup ruby gems? I am re-installing the Operating System so I would like to know how to back up ruby gems so that I can re-install it when I have installed the Operating System?
Is it also possible to install gems on a computer without…
Ishan
- 3,432
9
votes
2 answers
How to configure installed Ruby and gems?
My current gem env returns:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/USERNAME/.gems
- RUBYGEMS PREFIX: /home/narkoz
- RUBY EXECUTABLE:…
NARKOZ
- 253
8
votes
5 answers
How do I alias a Homebrew installed Ruby 1.9 gem binary in /usr/local/bin?
Homebrew's Ruby 1.9 ships with rubygems. Doing gem install ... installs files and binaries into some long-winded path. For example, bundler is installed at:
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/bin/bundle
I'd like…
Sridhar Ratnakumar
- 4,949
7
votes
5 answers
How to install RMagick RubyGem on Mac OS X 10.6 Snow Leopard?
I am getting this error while trying to install RMagick:
$ sudo gem install rmagick
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native…
Andrew
- 15,494
6
votes
3 answers
Can't vagrant install a plugin: gem dependency fails despite being installed
I am attempting to install the vagrant-vbguest plugin in Windows 7 from within cygwin 64.
$ vagrant plugin install vagrant-vbguest
Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Bundler, the underlying system Vagrant uses to…
msanford
- 761
5
votes
4 answers
Ruby RubyGems: Why do I always get error messages when trying to install gems?
So I always seem to get error messages when I'm installing new gems. I'm new to Ruby, Rails, and RubyGems so it makes it very frustrating. I'm not sure if I need to configure something, or if I installed something incorrectly...So hopefully you can…
Andrew
- 15,494
4
votes
3 answers
Pass cmd.exe arguments via a shortcut?
I'd like to create a shortcut to run cmd at a particular location with a few commands.
I'm hoping from there I can work out how to make it a right click option to "Run my cmd commands here..."
I've found the shortcuts to run CMD with ruby. Which is…
firefusion
- 2,133
4
votes
2 answers
Rails: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
So I've got a Ruby on Rails application that I am trying to run (in development) on Snow Leopard. I've got it working on my Ubuntu computer, but now I need to get my Snow Leopard environment set up.
Originally, I installed the MySQL 2.8.1 Ruby Gem…
Andrew
- 15,494