Questions tagged [ruby-on-rails]

Ruby on Rails, or simply Rails, is an open source web application framework written in Ruby.

Ruby on Rails, or simply Rails, is an open source web application framework written in Ruby. Rails is a model–view–controller (MVC) framework, providing default structures for a database, a web service, and web pages. It encourages and facilitates the use of web standards such as XML or JSON for data transfer, and HTML, CSS and JavaScript for display and user interfacing. In addition to MVC, Rails emphasizes the use of other well-known software engineering patterns and paradigms, including convention over configuration (CoC), don't repeat yourself (DRY), and the active record pattern

more informartion

56 questions
8
votes
1 answer

Can't install Rails on Ubuntu 16.04

i'm noob. This is my problem when i try. Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension. current directory:…
4
votes
3 answers

I got message this message in rails "The dependency tzinfo-data"

I just install ruby on rails couple days ago and every time a create a new project in the console I got this message: The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby…
JULIO MACHAN
  • 43
  • 1
  • 4
4
votes
1 answer

Why is my system unable to locate libreadline when I'm certain I've installed it?

I am trying to set up my chromebook for development with crouton and ubuntu. I am using the railsgirls recipe to install rails and I'm getting stuck at: E: Unable to locate package libreadline I have run the command sudo apt-get install…
3
votes
2 answers

Redmine can't work on apache2 with passenger: incompatible library version of nokogiri

I want to install redmine on my PC. I worked with tutorials from http://redmine.org/ to deploy redmine on my PC. After installing ruby, additional packages and redmine, I want to configure apache2 for redmine. But have an issue when accessing the…
Mubat
  • 31
3
votes
0 answers

Redmine - how to run as fastcgi with nginx?

I have installed redmine on one of my Ubuntu 14.04 servers. So far works perfectly, postgre-db created and filled, and it runs with ruby script/rails server webrick -e production -b 10.0.0.20 Now I want to run it behing nginx. The first tutorial…
WitchCraft
  • 1,904
3
votes
3 answers

How to create a database directory structure for MySQL?

I was following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-use-mysql-with-your-ruby-on-rails-application-on-ubuntu-14-04 So far, I installed mysql-server mysql-client libmysqlclient-dev, and I was suppose to tell MySQL to…
hussam
  • 163
3
votes
1 answer

Pgadmin3 not working on ubuntu 15.10

I installed postgres than pgadmin3 on Ubuntu 15.10. install was successful but when I type pgadmin3 in terminal and hit enter I get this following error : Fatal Error: Mismatch between the program and library build versions detected. The library…
3
votes
1 answer

can't bundle install json gem in ubuntu

I have installed ruby on rails using rvm . I am trying to bundle install an older project that I had on a former pc but I get the following error when I run the bundle install command: Installing json 1.8.3 with native…
2
votes
1 answer

Why can't I build Ruby code from Sublime Text 3 when I launch it from Ubuntu Dash vs Ubuntu Terminal

ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] which ruby: /home/iuser/.rbenv/shims/ruby rails -v: Rails 4.2.3 subl -v: Sublime Text Build 3126 Ubuntu: Ubuntu 16.04.1 LTS It doesn't matter from which directory I launch the…
2
votes
1 answer

Unable to connect to PostgreSQL

I had PostgreSQL 9.3 working fine but when I tried to upgrade to 9.5 I began encountering errors. So I purged Postgres from my system following the first answer of this question. Then I installed postgres 9.5 using apt-get install postgresql-9.5…
2
votes
2 answers

Can't access docker container exposed port

I am running a rails app inside of a docker container but trying to reach it from a browser the browser shows ERR_CONNECTION_REFUSED . when running docker ps I get a086ed5a6c4a rails "bash" 3 days ago …
2
votes
1 answer

One or more prerequisites required to install Kaltura failed

I am following https://github.com/instructure/canvas-lms/wiki/Kaltura-setup-instructions to install Kaltura. But I am getting issue in sudo php install.php step. sneha@SCS-I82:~/Downloads/kalturaCE_v3.0.0-instructure$ sudo php install.php [sudo]…
Neha
  • 143
  • 4
2
votes
1 answer

Missing imap PHP extension error

I am following this link for Kaltura installation. But I am getting issue in sudo php install.php step. sneha@SCS-I82:~/Downloads/kalturaCE_v3.0.0-instructure$ sudo php install.php Thank you for installing Kaltura Video Platform - Community…
Neha
  • 143
  • 4
2
votes
1 answer

Command 'ruby' not found after successful installation using rbenv on Ubuntu 20.04

Please pardon my errors (if any) as this is my first question here. I just successfully installed ruby on my Ubuntu 20.04 following this…
2
votes
0 answers

Nginx not accessible from external IP

Forgive the totally n00b question, but I'm pulling my hair out at this. I followed this tutorial to deploy a rails app on an Ubuntu 18.04 headless server. I'm using Phusion Passenger and Nginx to serve it. It is currently running on port 80, with…
1
2 3 4