Questions tagged [gem]
50 questions
0
votes
2 answers
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). I'm trying to install some gems via gem…
![](../../users/profiles/119616.webp)
asciiphil
- 3,036
- 3
- 26
- 52
0
votes
1 answer
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 unsure of what the ideal setup for this is - ie, does…
![](../../users/profiles/138894.webp)
ljs.dev
- 1,174
- 2
- 8
- 15
0
votes
1 answer
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 tried the following:
bundler-install:
…
![](../../users/profiles/204304.webp)
Rumbles
- 915
- 1
- 12
- 27
0
votes
1 answer
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...
Successfully installed mysql2-0.3.18
1 gem…
![](../../users/profiles/277027.webp)
mhi
- 1
- 2
0
votes
2 answers
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 is what I get when I try to install (using RVM…
![](../../users/profiles/153027.webp)
Jarrett
- 251
- 1
- 2
- 7
0
votes
1 answer
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 connection resets…
![](../../users/profiles/144542.webp)
xmat
- 1
0
votes
1 answer
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. The first, receiving errors when upgrading to the…
![](../../users/profiles/141567.webp)
davidcmolina
- 1
- 2
0
votes
2 answers
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 running:
ruby 1.8.7.370 at C:/Ruby187/bin/ruby.exe
…
![](../../users/profiles/132095.webp)
WISEMAN
- 3
- 1
0
votes
1 answer
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 documentation for mysql-2.8.1-x86-mingw32...
Installing…
![](../../users/profiles/115079.webp)
Kashif
- 473
- 9
- 20
0
votes
1 answer
Recommended way to install rubygems
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)
Compile from source
Which one is better method?
![](../../users/profiles/52746.webp)
Howard
- 2,005
- 11
- 47
- 70
0
votes
2 answers
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 nil:NilClass
# ruby -v
ruby 1.8.7 (2010-08-16…
![](../../users/profiles/64243.webp)
Ximik
- 143
- 1
- 6
0
votes
1 answer
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' not found
Installing RDoc documentation for…
![](../../users/profiles/61285.webp)
EquinoX
- 357
- 3
- 10
- 26
0
votes
2 answers
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
ERROR: Error installing rails:
bundler requires…
![](../../users/profiles/75436.webp)
Genadinik
- 1,083
- 4
- 18
- 38
0
votes
2 answers
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 number of other gems all of which I installed…
![](../../users/profiles/56715.webp)
Tim Fountain
- 53
- 1
- 8
0
votes
1 answer
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 the following warnings (with lag).
$ rails…
![](../../users/profiles/8670.webp)
Chance
- 207
- 3
- 10