Questions tagged [gem]
50 questions
1
vote
3 answers
Cannot install rmagick after server update
I'm running a debian server and upgraded all packages after quite a while (apt-get update, apt-get upgrade, apt-get distro-upgrade). Then rmagick didn't work anymore becuase imagemagick was updated.
So I ran:
gem uninstall rmagick
bundle…

Cojones
- 123
- 3
- 9
1
vote
0 answers
Chef gem_package not using the binary path
I'm trying to install the gems "sensu_plugin" and "mixlib-shellout", on a windows server 2008r2, from a recipe. In this last one, I have the following code :
%w{ sensu-plugin mixlib-shellout }.each do |gem_plugin|
gem_package gem_plugin do
…

Cocotton
- 111
- 3
1
vote
1 answer
Continue Bundler Installation
I'm trying to install Gitorious on Debian Wheezy.
gitorious uses bundler for automated installation.
When I run "bundle install" (not only when installing gitorious, also redmine for example) I sometimes get errors like:
Gem::Ext::BuildError:…

Timo
- 113
- 3
1
vote
3 answers
Upgrading Redmine, activerecord-mysql2-adapter not working
For upgrading Redmine from 1.0.1 to 2.1.2, I need to execute the command: rake db:migrate RAILS_ENV=production
However, doing so produces the following error: rake aborted!
Please install the mysql2 adapter: gem install activerecord-mysql2-adapter…

David Kaczynski
- 101
- 3
- 11
1
vote
2 answers
Install `mysql` gem for use in `chef-client`?
I am trying to deploy a rails application using chef, for the mysql cookbook to create a database, it needs the mysql gem. The mysql gem is installed system-wide by using an Ubuntu package, but this is not usable by chef-client which runs from…

Tader
- 141
- 1
- 7
1
vote
0 answers
Trouble upgrading nokogiri gem to v1.5.2, libxml2 out of date
I'm trying to install a newer version of the nokogiri gem (going to 1.5.2 from 1.4.3.1).
The output that i get looks like this:
[~]# gem install nokogiri -v '1.5.2'
Building native extensions. This could take a while...
ERROR: Error installing…

ilasno
- 236
- 1
- 3
- 16
1
vote
1 answer
Loading dependencies for custom puppet functions
I have written a custom puppet function, which is working fine, that depends on the cloudservers gem (a Rackspace client library). This is fine if I have pre-installed the gem on a server before running puppet but totally breaks if I have not…

Ben Smith
- 157
- 5
1
vote
0 answers
Rails could not find gem
So if I try to start my server I get the error
Could not find abstract-1.0.0 in any of the sources
Try running bundle install.
I run that and I get
Using abstract (1.0.0)
I also have the gem listed in my GemFile
Furthermore running a bundle show…

zhyfer
- 111
- 2
1
vote
1 answer
How is a Ruby Gem usually updated (from developers to my applications)?
We are using the tiny_mce plugin in our applications, utilized through the Ruby Gem.
First question:
The plugin is hosted here https://github.com/kete/tiny_mce/, and there the latest version is listed as 0.1.7…

ilasno
- 236
- 1
- 3
- 16
1
vote
1 answer
Install Ruby gems via gems or using apt-get on Debian
I would like to install gitorious on my Debian squeeze server. For doing so I have to install some gems like the ruby database driver for MySQL.
I have the choice of using a Debian package and install it via apt-get or use gem to install it. To make…

GorillaPatch
- 487
- 3
- 9
- 19
1
vote
1 answer
Error 302 when installing rake gem
i try to install rake on my clean lenny server, i get the following error:
Updating installed gems
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
bad response Found 302 (http://gems.rubyforge.org/latest_specs.4.8)
any advice…

trnc
- 688
- 1
- 12
- 31
1
vote
1 answer
Rails won't install on Ubuntu because of builder
Can someone explain why gem thinks I don't have builder >= 2.1.2 even though I clearly have 3.0.0?
jason@ve:~$ gem install rails --pre
ERROR: Error installing rails:
activemodel requires builder (~> 2.1.2, runtime)
jason@ve:~$ gem list
***…

Jason Swett
- 1,468
- 5
- 23
- 37
1
vote
0 answers
Installing sensu plugins as per ruby version
I have Ruby version 2.3 installed and I was looking to install sensu-plugins-http:6.1.0
because the latest version was installing another dependency which needs ruby to be on higher version.
Like this I keep getting error for many such dependencies…

Learner
- 119
- 3
0
votes
1 answer
procodile syntax errors trying to start staytus
Running Ubuntu on AWS to do a proof of concept for staytus. I am super green and have waded through most of my issues to get to this point.
staytus tutorial is what I've been following, and perhaps it's my lack of skills, but I've found it to be…

Jonathan Mann
- 1
- 1
0
votes
1 answer
Chef deploy not working on Ubuntu 14.04 looking for credentials
I am using Ubuntu 14.04 chef-solo stack but since today when I am running the deploy script its giving me below error. Please assist.
==========
ubuntu@i-production-base:~$ sudo /var/chef/scripts/deploy.rb…

Chandan Singh
- 34
- 5