Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gem]

The tag has no usage guidance.

0
votes
1answer
51 views

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 ...
0
votes
1answer
37 views

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/...
3
votes
1answer
703 views

Why does puppet module generate produce a Gemfile, and what is its purpose?

I recently ran puppet module generate, and ended up with a whole lot of crap that looked unnecessary for a simple module. I mean, a lot of minimal modules amount to templating a configuration file ...
1
vote
0answers
513 views

Gem bundler disappeared from Ruby on Rails server

Linux (Ubuntu) Ruby on Rails WEBrick server was running fine last night. Woke up this morning and the computer I use to SSH on to my remote server had stalled. After rebooting I attempted to restart ...
0
votes
2answers
25 views

Is there an easy way to install Ruby gems for the currently-installed Ruby version?

This seems like it should be obvious, but I haven't been able to find a way to do it. My basic problem is this: I've got Ruby 1.8.7 installed on a Scientific Linux 6 system (from the base repository)....
1
vote
1answer
312 views

How to install gems for non-default Ruby with Puppet?

The ruby included with RedHat/CentOS-6 is of version 1.8.7, which is too old for many applications. Though simply updating it with a custom-built RPM is possible, my colleagues shy away from the idea ...
0
votes
1answer
548 views

Github deploy key to allow a Docker Hub image to pull private gem with

Given repo "A", a Ruby project with a dependency on a gem, contained within another private Github repo, "B", I need to give Docker Hub permission to clone repo "B" when it builds the image. I'm ...
0
votes
1answer
150 views

Installing a gem using saltstack with --user-install option

I want to replicate the following step of a deployment in saltstack, as a given user: gem install --user-install bundler I checked the documentation and I was still unsure as to how to do this. I ...
1
vote
2answers
3k views

How to puppetize gem install specific to puppet's ruby?

The Puppet Azure module requires specific gems to be installed. The directions https://github.com/puppetlabs/puppetlabs-azure show the following example: /opt/puppetlabs/puppet/bin/gem install azure ...
0
votes
1answer
391 views

gem install does not rebuild all instances of a gem

user@sv1 [/home/user/]# env|grep GEM GEM_HOME=/home/user/.gems/2.1 GEM_PATH=/home/user/.gems/2.1 user@sv1 [/home/user/]# gem install mysql2 Building native extensions. This could take a while... ...
0
votes
3answers
3k views

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. ...
2
votes
1answer
763 views

vagrant plugin install error

I'm trying to install a vagrant plugin $ vagrant plugin install vagrant-aws which exits with this error: Make sure that `gem install nokogiri -v '1.6.3.1'` succeeds before bundling. When I try ...
3
votes
1answer
4k views

gem install append CPPFLAGS / LDFLAGS [closed]

I can't seem to get gem install charlock_holmes -v 0.6.9.4 to work. I can hand edit the ./ext/charlock_holmes/extconf.rb and includ $INCFLAGS << " -I/usr/local/include " $LDFLAGS << " -L/...
2
votes
1answer
635 views

Redmine won't start after move

I met trouble with redmine(or ruby configuration) when move from one server to another redmine@dirty:~/www$ ruby script/rails server webrick -e production /usr/local/rvm/gems/ruby-2.0.0-p353/gems/...
1
vote
0answers
395 views

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 ...
1
vote
1answer
735 views

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 ...
3
votes
1answer
399 views

Install gems of ruby 1.9 bins without suffix in openSuSE

I got issue on my openSuSE instances. By default in openSuSE after installation by gem utility (gem install some_app) you will got something like that: # some_app1.9 # chef-solo1.9 etc. That a bad ...
0
votes
2answers
443 views

mysql gem broken in debian testing?

I've been trying all night, and so far have been unable to compile the mysql gem for ruby on my Debian Testing 64Bit system. I believe it is because I have the openssl v1.0.0 library installed. Here ...
1
vote
3answers
4k views

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 ...
0
votes
1answer
122 views

rails-boilerplate (0.1.9) gem mirror

Using paperclip (3.2.0) Using polyamorous (0.5.0) Using pr_geohash (1.0.0) Using slop (3.3.3) Using pry (0.9.10) Using pry-rails (0.2.2) Gem::RemoteFetcher::FetchError: too many ...
0
votes
1answer
1k views

Error installing new rails version. Failed to build gem native extension

I am trying to build my first ruby on rails app using the following guide (http://ruby.railstutorial.org/chapters/a-demo-app#code-demo_gemfile_sqlite_version_redux) and have run into a few obstacles. ...
2
votes
2answers
526 views

Monit and Thin and Unfound Gems

I've been using Monit to monitor my Thin server and everything was working until I upgraded my Rails version from 2.3.4 to 2.3.14. Now when I try and start Thin using monit it gives me an unfound gem ...
0
votes
2answers
318 views

Missing these required gems: mongrel (but installed)

i am trying to install new plugins for redmine 1.4.4. Having copied folder and run rake db:migrate_plugins RAILS_ENV=production rake wrote: Missing these required gems: mongrel >= 0 You're ...
1
vote
2answers
3k views

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 ...
14
votes
3answers
13k views

Checking if a ruby gem is installed from bash script

I need to, from a bash script, check to see if certain Ruby gems are installed . I thought I could do something like if ! gem list <name>; then do_stuff; fi but testing on the command line ...
1
vote
0answers
158 views

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. ...
0
votes
1answer
131 views

Ruby MySQL/Gem issue Windows 7

I'm trying to use mysql for RoR on windows 7. for that I install mysql gem as follow. PS D:\Apps> gem install mysql Successfully installed mysql-2.8.1-x86-mingw32 1 gem installed Installing ri ...
1
vote
1answer
864 views

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 ...
3
votes
1answer
155 views

Passenger fails to run on first load, but successfully launches after single refresh

I have a pretty simply passenger installation on my production server. It seems that every night the passenger process quits due to inactivity. When I hit the site in the morning, passenger starts up ...
0
votes
1answer
81 views

Recommended way to install rubygems [closed]

There are server way to install rubygems Using apt-get: apt-get install rubygems1.8 Using rvm: bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)...
2
votes
0answers
600 views

Problems installing Gitorious on Debian 6.0.4

i am trying to install Gitorious on latest Debian 6.0.4 but i am running into some problems and hope there is somebody out here who might be able to help. I followed this article: http://gitorious....
0
votes
2answers
240 views

RubyGem on Debian

Hello I have this problem while installing many of the gems on my Debian 6 (upped to date). # gem install activemodel ERROR: While executing gem ... (NoMethodError) undefined method `call' for ...
0
votes
1answer
131 views

issue with installing rails using rubygem

I tried doing the following: sudo gem install rails and I always get the error message: Successfully installed rails-3.0.9 1 gem installed Installing ri documentation for rails-3.0.9... file 'lib' ...
1
vote
0answers
131 views

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 ...
7
votes
5answers
3k views

RVM not picking up /etc/gemrc

in a system wide RVM .... heres my /etc/gemrc --- gem:--no-ri --no-rdoc heres the system gem env GEM PATHS: - /usr/lib/ruby/gems/1.9.1 - /home/${USER}/.gem/ruby/1.9.1 GEM ...
0
votes
2answers
209 views

Can't remove RubyGem in Ubuntu

I ran this command: gem --version 1.3.5 I found it to be kind of strange since I didn't specify which gem I was asking about. I am trying to install the rails gem like this: gem install rails ...
1
vote
1answer
46 views

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 ...
0
votes
2answers
157 views

Rails: missing gem roxml

I'm trying to setup a Rails app on an Ubuntu machine, but the app always fails with the error: Missing these required gems: roxml the gem is installed, and appears in gem list. The app requires a ...
0
votes
1answer
2k views

Getting “Insecure world writable dir /home/chance ” in PATH, mode 040777 for Rails and Gem on Ubuntu 10.10

I've tried this but it didn't work and seemed to be for osx. I have a fresh Ubuntu 10.10 (x64) install with rvm, rails 3 and ruby 1.9.2. I have a new rails app but using either gem or rails results in ...
1
vote
1answer
1k views

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 ...
0
votes
2answers
2k views

Unicorn 3.3.1 and Rack 1.1.0 issues?

I'm upgrading from the Ruby Enterprise Edition 1.8.6 to the latest 1.8.7 version with Unicorn to facilitate an upgrade to Rails 2.3.10, and am running into some issues. Should I uninstall the older ...
1
vote
1answer
376 views

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://...
1
vote
1answer
271 views

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 ...
0
votes
1answer
787 views

MySql gem installation failure

I'm attempting to install a mysql gem on my workstation with this command gem install mysql-2.8.1.gem output : > Building native extensions. This could take a while... ERROR: Error installing ...
0
votes
1answer
331 views

how to install rmagick on ubuntu 8

I am trying to install the rmagick gem in ubuntu, but is is failing. the output of gem_make.out is at: http://pastie.org/private/m7gyn96xy6yqmtp2kyog the output of mkmf.log is at http://pastie.org/...
0
votes
2answers
910 views

Why is gem so incredibly slow on my Debian Lenny server?

Here's what I've got so far: # gem install passenger Building native extensions. This could take a while... Successfully installed rack-1.2.1 Successfully installed passenger-2.2.15 2 gems installed ...
2
votes
1answer
514 views

Memcache on ubuntu server lucid and ruby 1.9.1

I'm trying to set up a memcache server on the above setup. I'm getting the following error: /var/lib/gems/1.9.1/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:443:in `...