Ruby on Rails is an open-source web development framework optimized for programmer happiness and maintaining sustainable productivity. Many things are defined by convention, freeing you from having to re-invent things to stay productive.

learn more… | top users | synonyms

0
votes
0answers
23 views

An error occurred while installing debug_inspector (0.0.2), and Bundler cannot continue

I have install ruby on rails on my fedora 23. and when i am trying to create application "rails new appnam", it shows the following erros. $ An error occurred while installing debug_inspector ...
0
votes
0answers
36 views

Can't connect to local MySQL server through socket - Fedora

I am a new Fedora user and I am installing ROR on my machine. But when I try to enter the following command rake db:create it shows the following errors. Can any one please tell me how can I solve ...
0
votes
0answers
6 views

Ruby on raills the system couldn't find path specifed

Open the Registry Editor(press + R, type regedit and hit Enter) . Navigate to HKCU\Software\Microsoft\Command Processor\AutoRun and clear the values. Also check HKLM\Software\Microsoft\Command ...
0
votes
0answers
12 views

Start unicorn server as www-data

i am running a RoR app with a unicorn and Nginx setup. Everything works fine so far. But right now i have the app in my home folder and run unicorn as $USER. I would like to change now the app ...
1
vote
0answers
11 views

Access backend Node JS application from Rails + NGINX

So I have a NGINX Webserver forwarding connections from port 80 to my Rails application. The Rails application handles authentication and serves basic functionality and static pages. I have several ...
0
votes
1answer
57 views

how to access redmine which works on a specific port?

when I access Localhost a file management is installed there, Also I have installed redmine on localhost:3000, we have a network and people from other computers can access the domainname of this ...
0
votes
0answers
14 views

installed font not working in ec2 in rails app

I have downloaded font by running wget http://www.fontsquirrel.com/fonts/download/amatic inside my ec2 instance. Then I created a .fonts director and unzipped those files inside it. Then I ls ...
0
votes
0answers
59 views

Deploying ruby app with Apache 2.4

I'm trying to run two different apps with Apache 2.4 and Passenger under OSX 10.10.5. Snorby(rails driven app) uses port 3000 and Ntopng( lua based - also uses port 3000) Have two virtual hosts for ...
0
votes
1answer
121 views

Domain name not working in AWS [duplicate]

I had previously hosted my domain in a different instance in a different aws account but for some reason I had to delete that aws account and create a new one. I am now trying to host my domain in ...
1
vote
0answers
42 views

Could not initialize MySQL client library in Justhost

I am trying to configure redmine in justhost. following link was used for configuration. Link: https://my.justhost.com/cgi/help/redmine I am getting error - Could not initialize MySQL client library. ...
0
votes
1answer
91 views

How to run rails driven app (Snorby) on different port

Sorry for being such a newbie but is it possible to make rails driven app (Snorby) being started on port different than 3000? How to do this? I've changed the ports from 3000 to 9000 at ...
0
votes
0answers
379 views

error occurred while installing nokogiri (1.6.6.2), and Bundler cannot continue

I'm in a linux environment where I do not have sudo or root access. I installed rubystack using bitnami. I'm using ruby 2.2.2 and rails 4.2.3. When I'm starting a new rails app using rails new ...
0
votes
2answers
276 views

OS X 10.10.3: Apache(2.4.12) + Passenger 5.0.10 from Homebrew doesn't work

Trying to configure Snorby(ruby app) to work with Apache/2.4.12 and Passenger 5.0.10. -- I've successfully installed from homebrew apache and passenger. brew install httpd24 passenger -- Created ...
1
vote
0answers
226 views

Nginx + Passenger not working — client requests hang until timeout

I'm running on an EC2 instance with Amazon Linux installed and Nginx was installed via passenger-install-nginx-module. The full install process followed was similar to this. The primary difference was ...
0
votes
1answer
111 views

How to save printer-friendly version of Ruby on Rails (Redmine) app as HTML?

E.g. there is the issue list in Redmine. When I show print preview there only the table without headers will be shown and there will be a bit different style of the table (css for printer-friendly ...
0
votes
1answer
170 views

Snorby with PostgreSQL installation issue in Mac OS X 10.10.2 (Yosemite)

Trying to setup Snorby for Snort with PostgreSQL on Mac OS X 10.10.2 (Yosemite) Snort 2.9.7.2 GRE (Build 177) PostgreSQL 9.4.1 ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-darwin14.1.0] ...
2
votes
1answer
627 views

How can I upgrade the Ruby version on Passenger?

How can I uprgade the Ruby version installed on my passenger module for Apache? I on Debian 7 and it's running Ruby 1.9.1 but I want 2.2.0
0
votes
0answers
32 views

Is it possible to use HTTP between a web server running on a macbook and an iPhone using only the USB cable (no WiFi)?

I am going to be flying a lot next week and I want to continue developing my application. It's a server-backed API hosted on rails. I'd like to use my macbook to host the rails, ruby, db environment ...
1
vote
0answers
270 views

502 Bad, Gateway Ruby on Rails [closed]

Our website is currently down(hosted on Digital Ocean) with error code "502 Bad Gateway" and our web developer is currently out on Vacation. I am just an IT person on our network and I don't have web ...
0
votes
1answer
286 views

how to monitor network/cpu/memory/disk usage by each Rails app

I run many Rails app on linode VPS. I want to charge my customers by their usage, Is there anyway to monitor each Rails app's usage? I need these information network/cpu/memory/disk usage.
-1
votes
1answer
186 views

Chrome always opens http://localhost:3000/user_sessions/new on launch

Every time I launch Chrome on my Mac, it opens a tab with http://localhost:3000/user_sessions/new. I guess this has something to do with Ruby on Rails and perhaps a test server that a much more ...
0
votes
0answers
1k views

rvm use responding with Unknown ruby interpreter version (do not know how to handle):

I have a number of Rails apps that I've inherited that use different Ruby versions. To make life easier I'm trying to use rvm. Whenever I fire off the rvm use command inside any of the directories I'm ...
0
votes
1answer
181 views

How to get all the users in xmpp / ejabber using ruby on rails?

I know how get users from console but i do not know how to write its Ruby code so I can get all the users in my website. Get all registered users: sudo ejabberdctl registered_users domain_name Get ...
0
votes
0answers
1k views

Removing or Uninstalling Ruby, Rails, and/or Gems from Mac OS X 10.9.4

I had some health issues and was away from my iMac for about 6-8 months. I’m not exactly sure which version of OS X was running when I stopped using it, but I had just installed Rails and was about ...
1
vote
0answers
510 views

Hardware concerns for optimal ruby on rails development on ubuntu machine

I've been developing dynamic web sites using ruby on rails on a 5 year old mac mini which has been great except that it takes too much time -- 15 minutes or so -- to run my simple test suites. I ...
0
votes
1answer
344 views

Which version of rails should I install with ruby 2.0.0 installed?

Hi I am building a ROR development environment on a windows 7, I have Ruby version 2.0.0 and Gems version 2.2.2 installed. Which version of Rails should I install? I saw this on ...
-1
votes
2answers
341 views

Apache2 not starting, guess bad config file

this is the problem starting apache2: apache2 -k restart [Wed May 28 11:53:07 2014] [warn] NameVirtualHost *:80 has no VirtualHosts httpd not running, trying to start (98)Address already in use: ...
-1
votes
2answers
50 views

Find particular file in particular directory

I want to find the particular file name in particular directory in ruby. I tried the following Dir.glob() file = Dir.glob("/home/prakash/Desktop/*.uploaded") output: ...
1
vote
0answers
1k views

postgres: unable to install postgresql-contrib-9.1

My system version is Ubuntu 13.10 64bit. I encountered this problem by setting up PostgreSQL in a Rails app. First I ran rake db:migrate and it showed an error: -- enable_extension("hstore") rake ...
0
votes
1answer
359 views

AWS free user tier - how to deploy first Rails app

I've signed up with Amazon Web Services free user tier. I'm a little overwhelmed with all the tools on offer. I've been deploying my apps recently to Heroku so familiar with using Git to deploy signs ...
1
vote
1answer
1k views

Rails startup script runs twice

I'm having some difficulties with a new installation of Ruby on Rails. I want to use my application with MySQL. Here's the problem: The server starts without a problem when I use the default ...
0
votes
1answer
799 views

What should I make out of this message?

I am trying to set up the Ruby on Rails on my Mac OS X Maverick just to check whether I have Rails installed I typed rails --version and I got this as response ...
3
votes
1answer
1k 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 ...
3
votes
2answers
5k views

Unknown ruby interpreter version

I have a MacBook Pro, running Mavericks, but I'm not too acquainted with its inner workings. I'm just a humble CS student. After installing Ruby 1.9.3 and Rails 4.0.0, I get this annoying message ...
0
votes
1answer
64 views

Multiple web apps on a laptop friendly way

I have a large collection of mini web apps written in Rails and Sinatra which I constantly use. My objective is to host them in a laptop friendly way. Most of deployment articles I have seen are ...
2
votes
3answers
831 views

How to install rvm as user jenkins?

I am following these steps to setup a Jenkins server on an Ubuntu EC2 instance. Everything is fine until I get to this step: As you can see (at the end of the output) I am being asked for the ...
1
vote
0answers
117 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
1answer
371 views

How do I use shellscripts for rails with 'screen'?

I've recently started Ruby on Rails development, and I'm using Vagrant as a VM to contain my Rails project, because Windows is a terrible OS to use for any sort of Ruby development, due to the ...
0
votes
0answers
588 views

Rails 2 and Ngnix: https pages can't load css or js (but will load graphics)

ADMISSION: i've posted this same question on stackoverflow, before realising it's probabaly better suited to superuser, but it kind of depends on the answer: If it turns out to be a problem in my ...
-1
votes
1answer
353 views

How to use each in rails to display values of an array [closed]

I have a @keyword variable which holds the string "cat dog mouse bird" I want to display the values of each word under a span element. My algorithm looks like <%= @keyword.split.each {|key| ...
0
votes
1answer
86 views

How to investigate why my VIM freezing for 5 sec during saving Rails application files?

What can cause an issue when I am saving a file in rails application folder freezing for about 5 seconds? How to investigate this issue? VIMRC: https://gist.github.com/4632cbcfc655899c934f
0
votes
2answers
4k views

How to Install PCRE Development Headers on Mac OSX

I just upgraded my MacBook Pro to Mavericks and my local Ruby on Rails development environment isn't running straight off the bat, when I visit localhost I see It works! and remembered I needed to ...
3
votes
2answers
3k views

Editing files on virtual machine

I installed virtul Linux on my Windows XP through Virtual Box for using Ruby on Rails, but found one problem all my files that work with Rails directories is on virtual machine and I can’t edit them ...
1
vote
1answer
163 views

Ruby on Rails with Apache Web server

We have a Ruby on Rails application with Webrick server that uses Apache web server and a php blog for the same ruby website running on the same RHEL server. I can access the Apache access log and ...
1
vote
1answer
137 views

Connect from Mac Rails app to MySQL running on Windows 7 machine?

I'm trying to connect my rails app running on my Mac to MySQL running on my Windows 7 machine. They are both on the same network at my house, and I can ping my Windows machine from my Mac. Trying to ...
0
votes
1answer
539 views

How can I programmatically register a file with Redmine?

I'd like to add a file to a Redmine server without going through the graphical interface. I'm making the files available to the Redmine server by a separate svn checkout process, so I just need to be ...
0
votes
1answer
1k views

How do I open a Rails Mysql database in Mysql Workbench?

I having trouble finding my mysql database files in Ruby on Rails project and opening it in MysqlWorkbench This is my folder structure for a app This is my database.yml development: ...
0
votes
0answers
49 views

SSl for a Ruby Website

How to install a SSl certificate for a Ruby website where in the same Linux web server PHP blog is running? Both the primary website(Ruby) "www.example.com" and Blog(php) blog.example.com are running ...
1
vote
0answers
713 views

-bash: __rvm_add_to_path: command not found

As soon as I log in to my server with ssh I get the message: Last login: Wed Jul 17 16:13:07 2013 from foo.bar.net -bash: __rvm_add_to_path: command not found How can I fix that problem? My website ...
6
votes
2answers
5k views

Install rails on Mac OS X

I try to install Rails on Mac OS X. I already installed ruby. $ ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin11.4.2] I check whether Rails is installed: $ rails -v Rails is ...