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

learn more… | top users | synonyms

2
votes
0answers
209 views

`brew doctor` shows warning: “config” scripts exist outside your system or Homebrew directories

When I use brew doctor, I get following error. Warning: "config" scripts exist outside your system or Homebrew directories. `./configure` scripts often look for *-config scripts to determine if ...
2
votes
0answers
183 views

Can I install some ruby gem on a standard OS X user?

I have a Admin user for serious stuff and a Standard user for daily tasks, including front-end development. On the Admin user, I can install Brew, RVM, Middleman etc. But on the Stardard user, where I ...
2
votes
0answers
193 views

How do I install sass on centos 5.9 with ruby 1.8.7?

I have CentOS 5.9 on an x86_64. I've installed ruby 1.8.7. Whenever I try to install sass I get an Error saying sass requires Ruby version >= 1.8.7. but that's what I have installed. This is the ...
2
votes
0answers
136 views

Why does RVM Ruby require libksba?

The rvm requirements says I should install "libksba" before installing Ruby 1.9.3. Why? How can I tell if I already have "libksba" installed? I'm running Mountain Lion 10.8.2 and Xcode 4.5 ...
2
votes
0answers
52 views

Can I use e text editor with an existing ruby installation?

I'm using windows and e text editor. I installed cygwin along with the e text editor as it prompted me too, but running ruby programs produces no errors and no output. I'd like to use an existing ruby ...
2
votes
0answers
200 views

Problems with git and bundler

I'm trying to set up Gitorious on my Server with this tutorial and having problems over problems with gem/git. After fixing a lot of libs and dependancies, bundler now won't work with git ...
2
votes
0answers
196 views

Are there any Google Chrome extensions for inserting Furigana over Kanji?

Are there any Google Chrome extensions or userscripts for automatically inserting Furigana characters over Kanji in web pages? Please don't suggest Furigana Injector, because it doesn't work and is ...
2
votes
0answers
52 views

Customize netbeans rails module

The Netbeans rails plugin has a simple a project structure: However, I have encountered the following problems: I cant access config.ru file I cant access app/uploaders dir (carrierwave gem) ...
1
vote
0answers
23 views

Issues compiling passenger for apache2 on CentOS

I am trying to install openproject on a CentOS 6.5 (Release 3 from OVH) following this tutorial but with mysql in place of postgresql. I'm nearly done but I can't seem to compile passenger for apache ...
1
vote
0answers
115 views

yaml.h not found after installing libyaml

I have installed libyaml yet Ruby install can not find yaml.h. I do not have sudo permissions so everything must be done as a normal user. wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz ...
1
vote
0answers
37 views

How to Properly Use a Cloned Rails Project

Recently, I set up a new dev machine. To get it to seamlessly work with my other machine, I used Git to put my project on BitBucket. Then, I cloned it to my new machine. However, running rails s on ...
1
vote
0answers
83 views

I am having trouble using SASS/Compass on localhost in Fedora 18

I am attempting to use SASS/Compass in Fedora 18 on my localhost test server, located at: /var/www/html Ruby/gems and compass have already been installed. Now, I'm trying to create a test file and ...
1
vote
0answers
18 views

Storing web-development libraries locally and update them whenever you are connected to internet

I'm learning things on the web and pretty much have developed several websites. Internet in our country is a bit poor and slow so developing using ruby or node js is pretty much a pain in the ass ...
1
vote
0answers
42 views

Is Textmate like Ruby Markers “#=>” in notepad++ available?

I use Notepad++ to write Ruby code. Now sometimes to test some Ruby features I used to go IRB to see how that works. Can I get the same flavor in Notepad++ itself,like Textmate editor as below? x = ...
1
vote
0answers
157 views

How do I run WEBrick as an upstart job?

I need to get WEBrick (basically a Rails web server) to work using upstart, but cannot figure out what should I write in script. The following gives me an error: chdir /rails-app exec su -s /bin/sh ...
1
vote
0answers
291 views

Remove all Ruby from Ubuntu

I'm trying to start a new project with RadiantCMS, but I'm having lots of problems , because in the server are 2 different Ruby Installations. the First one , was installed following the next tut: ...
1
vote
0answers
234 views

No Ruby icon on '.rb' files after Ruby installation with RailsInstaller on Win XP. How to associate?

At first time I installed Ruby using RubyInstaller for Windows. And in the process of installation there was a checkbox whether I want to have .rb files to be Ruby files. If I agree all the .rb files ...
1
vote
0answers
53 views

No error output for ruby commands

I am currently having the following problem: Some of my ruby/rbenv commands commands (e.g.: bundle exec irb, rbenv rehash) fail when executing. However I don't get any error output: [~]$ bundle ...
1
vote
0answers
45 views

Mysql InnoDB and quickly applying large updates

Basically my problem is that I have a large table of about 17,000,000 products that I need to apply a bunch of updates to really quickly. The table has 30 columns with the id set as int(10) ...
1
vote
0answers
104 views

How do I execute a Ruby 1.9.3 program from Windows Explorer on Windows 7?

I wrote a Ruby program that will check a *.log file for key words and phrases. The program is called "Check_Log.rb". I use Windows 7 and I'd like to be able to right click the log file in Windows ...
1
vote
0answers
513 views

Installation on Linux & Win7: Aptana, PostgreSQL, Ruby, JQuery (WWW on Apache)

Basically I have 2 systems, where I want to develop (and use) my application: A Linux (Debian) system. This is my server. Here I have PostgreSQL (& phpPgAdmin), Apache, Ruby. Typically I use ...
1
vote
0answers
175 views

How do I make Gedit run a custom command when I save a certain type of file?

Can I tell Gedit to automatically run a command like slimrb -p foo.slim foo.html whenever I save a file ending in .slim?
1
vote
0answers
104 views

Circumventing a manual HTML login page for “unclassified” websites (automation purposes, credentials known)

The IT department just made my life a little bit harder again: they introduced a manual HTML login page for all websites they have not "classified". This means that all the applications which try to ...
0
votes
0answers
17 views

Can't install ruby gems

For some reasons I can't install ruby gems anymore. I run into SSL problems recently and think that could be the problem. After asking google I've changed the gem sources from https:// to http://, but ...
0
votes
0answers
14 views

How to fix this “Errno::EACCES: Permission denied” error while executing a compiler script?

On trying to execute a compiler script from command prompt, like this "C:\sass.bat" "--cache-location" "C:\Users\admin-win8\sass-compiler" "--debug-info" "C:\webapp" "C:\webapp\css\all2.scss" ...
0
votes
0answers
7 views

How can I get Homebrew and MAMP (Pro) to play nicely together?

I am using MAMP Pro for most of my local application development and am trying to install ruby , etc via homebrew however homebrew will give me the following warning: Warning: "config" scripts exist ...
0
votes
0answers
17 views

Vagrantfile - is rvm in ~/.rvm/scripts/rvm or ~/.rvm/bin/rvm?

I'm still learning my way around some of the more hidden files in terminal and I was trying to setup a Vagrant box with rails via shell script provisioning, with some help from these links: ...
0
votes
0answers
45 views

How to install ruby tesseract on linux mint(after following instructions I keep getting a compilation error)

Hi I'm trying to install ruby tesseract on linux mint OS. I've installed tesseract and ruby teseract-ocr but every time I try I require the gem I get this compilation error: CompilationError: compile ...
0
votes
0answers
39 views

All rails application logs being written to apache error log

I've deployed a ruby on rails 4.0.3 application to a server that I've configured with the following likely relevant software: Ubuntu 12.04.4 x64 server Phusion Passenger 4.0.37 Apache 2.2.22 Ruby ...
0
votes
0answers
38 views

Correct way of setting Ruby2.1 as the go-to application when it referenced to/called via shell?

I have installed Ruby 2.1 on my headless Debian server (7.4) by downloading the source from https://www.ruby-lang.org/en/downloads/ and then running the routine of ./configure make make install ...
0
votes
0answers
25 views

Upstart spawned threads won't clean up

I have an upstart job which runs: exec su - pi -c 'cd /data/zeus_station/releases/20140217074914; export PORT=5100; ~/.rbenv/bin/rbenv exec bundle exec thin start -R config/config.ru -p 9000 >> ...
0
votes
0answers
19 views

Pow server - my site need port number for .dev

there, I am new to Ruby and trying to use Pow in my Mac. When I type MYSITE.dev/ in my browser, it always says "The connection was reset". But it works fine for MYSITE.dev:20559. It seems that I ...
0
votes
0answers
50 views

compass stopped working after installing old ruby

I was trying to get command-t to work in vim, and when troubleshooting it seemed like I needed to install an older ruby (1.8.7) than the one I had (2.0.0) I tried installing ruby 1.8.7 but got some ...
0
votes
0answers
100 views

Opening a file in Aptana Studio 3 from command line

I am learning Ruby on Rails using Michael Hartl's railstutorials webcasts. He opens files from command line using Textmate. How can we open a file from command line using Aptana Studio? What is the ...
0
votes
0answers
20 views

trying to gem install t, problems with certificate

i'm trying to install this project on OS X 10.6.8. i'm following the installation instructions which say to first add the certificate with the command gem cert --add <(curl -Ls ...
0
votes
0answers
23 views

After Reinstall of Rails, Cannot Run `rails server`

On my main dev computer, I had had ruby installed from a ppa. I decided to reinstall it with rvm for consistency between computers. To uninstall my current environment, I ran sudo apt-get remove ...
0
votes
0answers
54 views

Cursor keys leave insert mode in irb in vi mode

I am using vi-mode in a ruby IRB by having a ~/.inputrc containing only the following line: set editing-mode vi Since I changed from ruby 1.8.7-p371 to ruby 1.9.3 and 2.0.0, IRB (and the rails ...
0
votes
0answers
147 views

Redmine installation in cpanel. Error installing a gem named pg

I am trying to install redmine . I am using cpanel. I know cpanel wont support rails 3 which latest cpanel uses. So i downgraded my rails version and also i am trying to install redmine 1.4.3 which is ...
0
votes
0answers
211 views

Launchd Exited with code: 1

I have been spending way too much time trying to figure this one out. My launchd job keeps giving me the error "Exited with code: 1". Here is the plist: <?xml version="1.0" encoding="UTF-8" ...
0
votes
0answers
133 views

Can't install pg gem on mac os x Lion

Im using Mac OS X 10.7.4 Trying to install pg gem to work with PostgreSQL. Typing: sudo gem install pg Got This answer: Building native extensions. This could take a while... ERROR: Error ...
0
votes
0answers
39 views

Is there are any way to expose file on VPN client to public access through VPN?

I built a site using Ruby On Rails and deployed it on hetzner's VPS. My home-stationed computer got some files on hard drives and I need to be them exposed to public access. The PC has no public IP, ...
0
votes
0answers
113 views

Problems installing ruby-gem pg

I'm trying to install pg through gem, but I have problems doing so. Others seem to have similar issues but none of what I found on the internet helps in my case. Here is what's happening. I try to ...
0
votes
0answers
101 views

I am getting this error “Insecure world writable dir /Volumes/BOOTCAMP in path, mode 040777”

I tried the answer sudo chmod go-w in my /Volumes/BOOTCAMP but I'm still getting the warning It says Insecure world writable dir /Volumes/BOOTCAMP in PATH, mode 040777 and when I echo $PATH I get ...
0
votes
0answers
49 views

Can gitlab be installed with Cherokee web server?

I've looked all over and can't figure out you could use Cherokee instead of Apache or Nginx for gitlab. I'd rather not run multiple webservers (and imagine that they could conflict anyway). I'm giving ...
0
votes
0answers
37 views

NewRelic Server Monitoring Agent

I am running a ruby on rails stack and I have quite a few ruby processes: 5 unicorns processes (1 master, 4 workers), 1 delayed job worker, and some continuous others tasks done with rake. But ...
0
votes
0answers
97 views

What is the /opt/sm folder in Ruby?

Anyone know what the /opt/sm folder contains in Ruby? When trying to run Brew Doctor I was given a warning that /opt/sm already existed. I've also gotten errors when installing certain Ruby Gems such ...
0
votes
0answers
399 views

Run RVM Ruby with Chef Ruby

I have a CentOS 6.4 install, and I had RVM with 1.9.3 for Ruby. Then I installed Chef omnibus installer, and could not get it to work. I would even do a absolute path to the ruby binaries for Chef, ...
0
votes
0answers
37 views

running redcar 0.13 on windows 7 64bit

Here's what I get when trying to run redcar 0.13 on windows 7 64 bit: C:/RUBY193/lib/ruby/gems/1.9.1/gems/redcar-0.13/lib/redcar.rb:32: Use RbConfig instead of obsolete and deprecated Config. Redcar ...
0
votes
0answers
45 views

I can no longer run ruby scripts from textmate

I used to have a setup where I could run ruby scripts directly from textmate, even if I used a set of gems and included them with require 'mygem'. So I have a file ~/.tm_properties which enabled this ...
0
votes
0answers
140 views

Name of Rake task in ps output?

pid = `ps -ef | grep -v grep | grep rake | awk '{print $2}'` This is a bunch of ruby code that executes piped linux commands. While I usually just use ps aux, just because, I noticed that the rake ...