Questions tagged [ruby]

Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.

Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. http://www.ruby-lang.org/

Alternative Ruby implementations:

418 questions
1
vote
5 answers

Installing a Ruby Gem for a specific version of Ruby in Ubuntu

I have Ruby 1.8 and Ruby 1.9.1 on my Ubuntu operating system. When I do a gem install php_http_build_query, it installs the gem to Ruby 1.8. How do I get it to install it to Ruby 1.9.1?
learningtech
  • 1,141
1
vote
1 answer

Unable to find a Ruby executable

I tried installing Aptana Studio 3, but when I tried running it I got an error saying "Unable to find a Ruby executable." Here's a Picture:
user1723714
1
vote
0 answers

rbenv install 2.3.1 gives "BUILD FAILED (OS X 10.14.5) and configure: error: C compiler cannot create executables

I feel ashamed to ask a question here since I just want to start learning programming and now already spend a day to try all solutions offered. So far nothing helped. (base) [ruby-build (master)]$ rbenv install 2.6.3 ruby-build: use openssl from…
1
vote
0 answers

Error when running pod install

I'm getting this error when running pod install on my machine : pod install /Users/joao/.rvm/gems/ruby-2.2.4/gems/bundler-1.13.1/lib/bundler/rubygems_ext.rb:45:in `full_gem_path': uninitialized constant Bundler::Plugin::API::Source (NameError) …
jonypz
  • 111
0
votes
1 answer

ruby installation as normal ubuntu user

I am trying to automate ruby installation through script in amazon ec2 ubuntu instance. Through script I can download, configure and make ruby from source but while trying to install ( make install ) it throws the following error. I placed my ruby…
0
votes
1 answer

Change default Ruby for all users with rbenv

I installed rbenv in vagrant this way: apt-get update apt-get install -y automake bison build-essential git-core libffi-dev libreadline6-dev libgdbm3 libgdbm-dev libncurses5-dev libssl-dev libtool libyaml-dev vim zlib1g-dev [ -e /bin/rbenv ] || { …
Dmitry
  • 165
0
votes
2 answers

Why do I get a permission error installing Ruby 1.9.3 with RVM?

I need to install a newer version of Ruby than 1.8.7. I already managed to install Homebrew and RVM, but this is what happens when I try to install Ruby. aldaman:~ Alex$ rvm install 1.9.3 mkdir: /usr/local/rvm/log/ruby-1.9.3-p429: Permission…
Alex Daff
0
votes
1 answer

How to install Pocket Island Open Source Application?

I have no idea with Ruby Language. I just want to install and try Pocket Island Open Source. git://github.com/wooga/Pocket-Island.git What are the requirement and how to run it? I'm using Ubuntu Desktop. If possible, Please guide step by step.
0
votes
0 answers

What data are safe to publish from the "config.log" and what not?

I am totally new to programming world and I don't succeed in finding a solution to download Ruby. The question I asked isn't answered so far. Therefore I want to publish my config.log. But I really dunno if it is safe to publish all from the…
-1
votes
1 answer

Do not know what program to open a Sublime 2 file with

I have a Windows and I'm using Ruby 1.9.1-p429, and it won't allow me to view my test.rb file on cmd when i type cd. I'll go through step-by-step of what I did. I saved a test .rb file on Sublime to my desktop. I open cmd and type "cd", expecting it…
-5
votes
2 answers

Remove last word from whole string

I have following string 2014-04-29T06-19-20_17368f93ce02e18f278ae22d248e7d0692db3f54d2409_1088x288.mp4.uploaded I want to remove the last .uploaded word from this whole string . How can I do this?