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
11 views

Rails Server Not Serving Correctly

Having some issues actually serving my rails app, the server seems to run fine, and I'm incurring no permission errors, or even port bound already errors, nothing at all, but yet the app does not ...
2
votes
4answers
559 views

Rails - Installation Error

I had used below mentioned commands to install rails in ubuntu 12.10 sudo apt-get update sudo apt-get install curl \curl -L https://get.rvm.io | bash -s stable source ~/.rvm/scripts/rvm rvm ...
2
votes
1answer
316 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
4k 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
0answers
21 views

Why am I getting “FATAL: Ident authentication failed for user ”root“” after changing rails server to port 81

I was running my rails app on the default port of 3000. I opened port 300 with: sudo iptables -A OUTPUT -o eth0 -p tcp --sport 3000 -m state --state ESTABLISHED -j ACCEPT and sudo iptables -A ...
0
votes
1answer
35 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 Any ...
-1
votes
1answer
46 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 ...
1
vote
1answer
93 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
57 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
798 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 ...
0
votes
0answers
57 views

rails ssl setup on Amazon EC2

Environment Amazon EC2 CentOS Rails 4.0.4 SSL certificates installed Chef My Rails config In my environment .rb (staging.rb and production.rb) I added this config.force_ssl = true Started ...
1
vote
0answers
182 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
70 views

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

Hi I am building a ROR development environment on a new computer with windows 7, now I have Ruby version 2.0.0 and Gems version 2.2.2 installed. Which version of Rails should I install? I saw ...
0
votes
1answer
148 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 ...
2
votes
3answers
2k views

Cannot connect to WEBrick on home network

I'm an Android developer and often my applications require server-side code. I typically use Ruby on Rails for the web app, and during development will run the server on my local machine (Mac OS X) ...
-1
votes
2answers
102 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
28 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: ...
0
votes
0answers
373 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
vote
0answers
609 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 ...
1
vote
1answer
659 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 ...
1
vote
1answer
209 views

Gemfile template

I'm trying to modify the default gemfile template on debian, and it doesn't seem to be anywhere to be found. Is this found somewhere on the system called "Gemfile" or is it located in another ...
0
votes
1answer
50 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 ...
0
votes
1answer
380 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 ...
43
votes
3answers
27k views

gem install rails doesn't do anything

I installed Ruby and RubyGems on Ubuntu 10.04. Ruby is version 1.8.7. Gems is version 1.3.7. When I try sudo gem install rails, nothing happens. It just hangs forever. What am I missing? Thanks!
0
votes
0answers
49 views

how to set breakpoint in gemfile for rubymine

I'm currently looking at the guts of query_report gem by examining the sample project that comes with it. I was wondering if it is possible to set a breakpoint in rubymine in one of the files in the ...
0
votes
0answers
179 views

What does this Rails Error mean: “Configuration is not a module (TypeError)”

After a Linux distribution upgrade my installation of ChiliProject (a Rails based project management system/tracker) no longer works. Before the distribution upgrade the server ran a Debian Wheezy ...
0
votes
0answers
53 views

Rubymine debugging breaks request

I'm new to Rails (coming from Java,Python world ) and started using RubyMine to debug an application. I am able to debug however it seems that the request is breaking midway. Part of it completes and ...
2
votes
3answers
416 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
90 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
182 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 ...
4
votes
3answers
2k views

Heroku on Ubuntu 10.04 (RVM with 1.9.2)

so I'm trying to install heroku and when I run it I get the following message: /home/brian/.rvm/gems/ruby-1.9.2-p0@seniorproject/gems/rest-client-1.4.2/lib/restclient.rb:9:in `rescue in <top ...
-1
votes
1answer
232 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
48 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
2k 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 ...
2
votes
2answers
584 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
137 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 ...
0
votes
1answer
192 views

Share local server through a router on a Mac

I've built an application using the Rails framework that was designed for two or three iPads to access through a local network. However, the building I will rent does not have an internet connection ...
0
votes
1answer
285 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
615 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
44 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 ...
6
votes
2answers
4k 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 ...
1
vote
4answers
5k views

Installing Ruby on Rails on Ubuntu 10.04: A Living Nightmare

Update #3: Starting over from scratch, shortened this post, decided to re-install a clean copy of Ubuntu 10.04 on a VM and go through the walk-through again. So, all the steps go without a hitch. As ...
1
vote
0answers
599 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 ...
1
vote
3answers
2k views

How install gem rails for all users in arch-linux

When install rails with sudo gem install rails or with root user, this install in $HOME/.gem and only works for actual user, how install for all users in the system ?
2
votes
1answer
1k views

Amazon Opsworks RDS, EC2, Rails 3, Phusion - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (Mysql2::Error)

I'm really close to having a simple Rails app deployed on Amazon Opsworks - using an EC2 instance running Phusion Passenger, and an RDS instance for the database server (it runs mySQL). The app code ...
0
votes
1answer
268 views

Ruby fog installation error

I can't figure out how to fix this error. I install libxml2 and nokogiri is also installed properly. Building native extensions. This could take a while... ERROR: Error installing fog: ERROR: ...
0
votes
1answer
24 views

RailsIntaller for Ubuntu?

Im an Ubuntu newb, and so far installing programs has been a major PITA for me. Just downloading Sumblime2 text editor in Ubuntu required some terminal commands that im not used to. As opposed on a ...
1
vote
1answer
557 views

Rails + SSL error: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

I'm using Ubuntu. I'm having an issue connecting to another server in one of my http = Net::HTTP.new(uri.host, uri.port) calls. This seemed to be pretty helpful: OpenSSL::SSL::SSLError: SSL_connect ...
0
votes
1answer
546 views

Fetch _all_remote_specs: undefined method 'list' - Rails on Mac OSx Lion

I'm trying to create a new rails application on my Mac running Lion. I installed Rails using RubyGems. I also went ahead and installed the XCode command line tools. When I attempt to create a new ...