Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ruby-on-rails]

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.

0
votes
2answers
53 views

Rails Server Gem Load Error - SQlite3

Let me start out with, I have searched and read all questions asked similar to my issue and have tried all suggestions. Here's some of the technology I'm using, if it helps: Initially, High Sierra on ...
0
votes
0answers
10 views

Expanding beyond a basic Rails CRUD app

So I've got a fairly basic CRUD-style rails app, which has a list of Gins, Distilleries and blog Posts. I'd like to expand it quite significantly in the following ways: Add authenticated users To ...
-1
votes
0answers
9 views

Installing ruby is not working.-bash: /Library/Frameworks/Python.framework/Versions/3.7/bin/virtualenvwrapper.s: No such file or directory

Ruby on rails is not installing I'm getting this error. Copy and pasted from the Mac terminal. Someone please help. This issue is different as there is no sh only s at the end of virtualevnwrapper ...
0
votes
0answers
9 views

Could not open library 'sapnwrfc.dll'.The specified module could not be found

I have installed the nwrfc library(https://github.com/mydoghasworms/nwrfc) in order to talk to SAP from ruby and placed the sapnwrfc.dll location in the PATH (windows 7)environment variable and also ...
0
votes
0answers
13 views

Linter Error running RuboCop rbenv

For a few days I fight with rubocop in atom (MacOS). I read a lot of potential solutions, I wrote ticket in their github account (without answer) and nothing works. When I'm working on some project I'...
0
votes
1answer
59 views

How to setup Ruby on Rails static web pages behind Nginx reverse proxy

Summary of question is what is the method to setup Nginx to serve static pages for site, and how and where is this Nginx server installed (is it supposed to be on same server where Ruby on Rails ...
0
votes
0answers
13 views

Rails Mailer sending to old email after update

I'm using Rails ActionMailer to send emails in a Rails app. One of these emails is a daily status update that gets sent to our agency's alert email address. We recently changed the address, so I went ...
0
votes
0answers
66 views

Issues with Ruby on Rails- part 1

I've installed Rails on my Ubuntu machine, and everything seems to be working except my attempts to start the rails server. It returns an error code stating that nokogiri is not installed. I use 'gem ...
0
votes
1answer
18 views

Is there a difference running Ruby on Rails on Ubuntu locally vs Ubuntu on Virtual Machine?

More or less - as in the topic. I'm planning to format my PC, currently I have dual-boot with Win 7/Ubuntu 16.04. For my daily job I'm working mainly with Windows software but have quite a lot of ...
0
votes
1answer
184 views

Is it possible to get Visual Studio Code IDE debugging of apps on Rails 5.2 to work?

Expected behavior In VS Code (or other IDE); add break point to first line of [app root]/ config/application.rb; require_relative 'boot' start debug. debugger should stop at breakpoint Actual ...
1
vote
1answer
235 views

Ruby version 2.3.3 Gemfile 2.3.0 (Sprockets Update)

I'm a newbie at Ruby on Rails. I'm trying to update the Gemfile but it keeps giving me this error: "Your Ruby version is 2.3.3, but your Gemfile specified 2.3.0" The reason I'm trying to update the ...
0
votes
0answers
22 views

Make passenger with rails only serve a simple .html file

I have complex rails app from a framework. I can run it with passenger standalone. For test reasons, how can I simply replace/delete all the dynamic content which is served by passenger, by a simple ....
3
votes
0answers
401 views

How to configure Let's encrypt for a server with openvpn

I want to make my Rails app SSL available, but I failed to configure it. I'm using Let's encrypt for SSL and the server is using Nginx. There is also openvpn service that is installed by openvpn-...
2
votes
4answers
422 views

Nginx passenger 5.1.11 error: Required key 'ust_router_address' is missing

After installing the latest stable for passenger-enterprise, my server faced an unknown error: Required key 'ust_router_address' is missing (-1: Unknown error) The effect on the server was ...
2
votes
1answer
3k views

Rails “Cannot read termcap database;”

Whenever I start my rails console I'm running into two problems: I'm getting these cryptic errors messages. My control-L isn't working (it's intended use it to clear the screen) Console output: $ ...
1
vote
1answer
226 views

FPS drop in FFMPEG streaming processes to FB from production server

I have made a rails app that can stream live videos to facebook rtmp server and deployed it on AWS. I have used nginx as web server. The major problem that I am encountering after viewing log files of ...
0
votes
1answer
438 views

Trying To Setup a Rails 5 App With Apache and Passenger on CentOS 6.8

I'm quite new, so this is what I've done: I worked on my Rails app, which works fine if I run it with rails s command, but I want to access to my app from other devices in my Lan (or even when I'm ...
0
votes
1answer
63 views

Excel or Rails, Capitalize first letter, change all caps to capitalized, but respect capitalization mid name

Given names like below: richard should be Richard RICHARD should be Richard richAnne should be RichAnne I'd rather this be done in excel, but my other option is using Rails.
1
vote
1answer
50 views

How do I get Rails to work with a newer version of Ruby on Windows 7?

I installed Ruby 2.3.1, then I installed Ruby on Rails. The Rails install gives me an older version ruby.exe (2.2.4). The Rails installer also added the older version of Ruby to the head of my ...
0
votes
1answer
67 views

How to update the version of gems of a locally cloned heroku ruby on rails repository using bundle?

I wanted to know how to update the gems on a heroku ruby on rails repository that cloned in to a local machine.Can we use bundle to update the gems like puma.I've used bundle install after cloning the ...
0
votes
0answers
39 views

Can't access website on local IP address, but loads with public IP

There is something weird going on since tonight. I have a raspberry pi running a ruby on rails server. When I run my local IP address on my phone there is no problem, and the website loads normally. ...
0
votes
1answer
98 views

How to change Rails 4.2.4 app config to use Production db instead of Development

database.yml default: &default adapter: postgresql encoding: unicode pool: 5 development: <<: *default database: pgtest_development test: <<: *default database: ...
0
votes
0answers
550 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 ...
1
vote
0answers
49 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 ...
1
vote
1answer
738 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 ...
1
vote
1answer
569 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
99 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
286 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 snorby_config....
0
votes
2answers
383 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
466 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
269 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
370 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] Here ...
2
votes
1answer
2k 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
1
vote
0answers
636 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
577 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
403 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 server-...
0
votes
1answer
393 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
2k 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
1k 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
2k 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 rubyonrails.org/...
-1
votes
2answers
461 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
58 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: /home/prakash/Desktop/abc....
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
570 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
927 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 /System/Library/Frameworks/Ruby....
3
votes
1answer
2k 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 2.0....
4
votes
1answer
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
70 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
2k 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 ...