Ruby on Rails Web application framework

learn more… | top users | synonyms

0
votes
0answers
8 views

How to configure rails+nginx with RAILS_ENV = development in Ubuntu?

I am using Ubuntu Server 14.04.3. I would set up the rails with development env along with nginx to simulate a production env, but whenever I set can not access the project. When I use with the env ...
0
votes
0answers
12 views

rails --v works for root user but not for other users

I just setup a rails environment following https://gorails.com/setup/ubuntu/14.04 and using the recommended option i.e. with rbenv. Though rails is installed and works properly but only for the root ...
0
votes
0answers
12 views

Unicorn not setting ENV variables for Rails on a Droplet on Digital Ocean

I started out with the Rails Droplet, made some changes, wiped some keys, and then created my own image. I started from this tutorial: ...
0
votes
0answers
17 views

Memory and swap full from Rails App on EC2 Ubuntu Apache Passenger

I am not familiar with htop or ubuntu processes but my app's memory is full almost immediately after rebooting. Each of the rails processes seem to be taking up 25% of my memory. I recently upgraded ...
1
vote
1answer
40 views

Update ImageMagick Ubuntu

I would like to update my version of ImageMagick. I originally installed ImageMagick with... sudo apt-get imagemagick Current Version: myapp$ convert -version Version: ImageMagick 6.7.7-10 ...
0
votes
0answers
44 views

MiniMagick::Error ImageMagick/GraphicsMagick is not installed

When I SSH into my instance and run convert -version or mogrify -version it recognizes ImageMagick but when I try to upload an image, I am receiving an error. conver -version convert -version ...
0
votes
0answers
7 views

Mandrill spf and DKIM settings

I am using Ubuntu 14.04 and i am trying to send mails through mandrill and i do not no how to setup Domain Keys Identified Mail(DKIM) and SPF settings.
0
votes
1answer
25 views

Rails installation runtime error

hi guys I'm trying to install rails using ubntu desktop 14.04 my ruby version is ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux] i install it with rvm my gem version gem -v 2.5.0 when i ...
0
votes
1answer
129 views

Problems on setting up rails server (4.2.4) on Ubuntu 14.04 LTS

Noob question here. I've been trying to install Rails 4.2.4 on my Ubuntu 14.04 LTS. I think I achieved it using RVM, but I'm not sure if everything needed is installed, because when I try to use the ...
0
votes
1answer
334 views

Gem Debugger won't install with bundle install

I have installed ruby on rails using rvm. I am using 2.2.0 ruby and 4.2.0 Rails. I tried running bundle install on an older project that I developed on a former pc but I get : Gem::Ext::BuildError: ...
1
vote
1answer
791 views

Can't run bundle install 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 ...
0
votes
2answers
118 views

Is ther any tool in ubuntu to convert pdf to doc

I am looking for a tool or middle-ware which converts PDF to DOC. which should convert exact PDF content (with all image and style.) I have tried abiword. No use. not converting properly. If we can ...
1
vote
1answer
245 views

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 ...
0
votes
0answers
11 views

Trouble with permissions (Ubuntu 14.04, /usr, apt-get) [duplicate]

I believe I may have messed up. I'm setting up a rails server with passenger/nginx. Upon installing passenger's nginx module, I installed it to the directory where nginx currently resided ...
2
votes
1answer
32 views

I'm trying to install rails and I think I just broke my Ubuntu installation, any help?

I am following this guide to install ruby on rails to work with Apache and Passenger. I have followed it step for step and done every command in verbatim. Soon after running sudo nano ...
0
votes
1answer
295 views

Dropdown menu not showing/working on rails [closed]

"SelectDatabase" and "SelectTable" dropdown menu not working. _header.html.erb file <header class="navbar navbar-fixed-top navbar-inverse"> <div class="container"> <%= ...
0
votes
1answer
145 views

RVM Installation error

Trying to start a rails environment but it won't work. I'm following installfest guide here. Steps 1 and 2 work; however, the curl -L get.rvm.io | bash -s stable terminal command provides me with ...
0
votes
2answers
155 views

Forbidden to access PhpMyAdmin in VPS of Ubuntu,Apache and Mysql

I get this error through access phpmyadmin in my vps. Forbidden You don't have permission to access /phpmyadmin on this server. Apache/2.4.7 (Ubuntu) Server at 188.165.168.89 Port 1091 I config ruby ...
0
votes
1answer
203 views

How can I capture shell variable output to use in my capistrano task

I am using capistrano to deploy a Ruby on Rails application. I previously was using Centos. In converting my task to be used with Ubuntu, I have a task that I was using for Centos was: capture("env ...
0
votes
0answers
73 views

Sharing a drive on AWS between two ubuntu 14.04 servers running Rails

This is a multi-part question: How do I create a stand-alone drive on Amazon Web Services? How can get two different Ubuntu 14.04 servers to have read/write access to that drive? This is for a ...
3
votes
1answer
350 views

How to avoid reinstalling ruby each time I restart?

I need to do something with Ruby on Rails, so I have followed this guide to set up my development environment. I used the RVM method to install Ruby, then I install Rails as shows in the guide. I run ...
0
votes
0answers
28 views

Help! Rails and Ruby Entirely Gone after trying to free up space

my ruby on rails installation is completely gone after i tried to free up some space on my ubuntu 12.04 i ran the following commands and when i restarted ubuntu, typing rails in the terminal says gem ...
0
votes
0answers
21 views

authorization problem occurs while upgrading rails from 3.2.19 to rails 4.0.0.0.rc1

Problem occurs after upgrading from rails 3.2.19 to 4.0.0.0.rc1 when i click on single alert to show ,it shows below error.Earliar it works perfectly but now error occurs in authorization .at time of ...
1
vote
0answers
134 views

Ubuntu Server in Virtualbox working slowly for Ruby On Rails

I have quite big rails app to develop frontend for, most work with design involve Adobe Illustrator and Photoshop, tried run them in VM but they work very buggy. So decided to go other way - to run ...
0
votes
1answer
135 views

rails -version command error in Ubuntu 12.04

I have installed ruby and rails in Ubuntu 12.04. I am trying to create the new project for rails using this command "rails new testApp", but it is giving me the error ...
1
vote
2answers
2k views

Issue with rails installation

I have installed rails on my Ubuntu 14.04 system following the instructions mentioned in this DigitalOcean article. Note that I am installing rails in my local system and not in DigitalOcean - I just ...
0
votes
2answers
690 views

How to access the Ruby Command line in ubuntu 14.04?

I have Installed Ruby On Rails of version 2.1.3p242 on my system. But I can't findout the ruby command line. I have searched but not found. I have try to to check through man ruby : Show some ...
4
votes
3answers
7k views

how to set default to ruby 2.1.2

I have ruby 1.9.3 and 2.1.2, by opening the terminal by default it uses ruby 1.9.3 but i wanted to use ruby 2.1.2, can you please help me about., how to set default to ruby 2.1.2..?? Thank you!
0
votes
2answers
1k views

Can install Rails on Ubuntu 14.04 with Ruby 2.1.3

I am using Ubuntu 14.04. I wanted to use the latest ruby (version 2.1.3), so I installed it with RVM. rvm install ruby --latest rvm use ruby --latest --default But when I try to install Rails, i ...
1
vote
0answers
306 views

Error installing rvm on Ubuntu 12.04

I'm taking a web applications development course on Coursera that requires me to install Ruby and Rails. I'm following the instructions at ...
4
votes
2answers
4k views

Opening multiple terminal tabs and running command

I need to open multiple terminal tabs, give them titles, go to a directory, and make each tab run a command. I am new to Linux and shell scripting, after searching online and checking some solutions, ...
1
vote
1answer
1k views

Could not find gem 'jquery-rails (>= 0)'

I was trying to create a rails application. it created it successfully and at the end it says; Resolving dependencies... Could not find gem 'jquery-rails (>= 0) ruby' in the gems available on this ...
1
vote
1answer
381 views

How to install postgressql-server

For ruby development on Heroku I need to use postgresql, but when I do bundle install I see this message: You need to install postgresql-server-dev-X.Y for building a server-side extension or ...
1
vote
1answer
6k views

How to install ruby mine Ubuntu [duplicate]

I have already install RVM. Now I have download RubyMine-6.3.2.tar.gz From here http://www.jetbrains.com/ruby/download/ , But still I am confuse How can I install it on my system. I am using Ubuntu ...
0
votes
1answer
329 views

Installation Of ruby on rails in ubuntu14.04 [duplicate]

How to install ruby on rails on Ubuntu 14.04? Which versions are better to install, and how to install ruby (version) rubygems, rubygems_update -v (version), mysql_server libmysqlclient-dev mysql2, ...
2
votes
1answer
427 views

error while running ruby application at system startup in ubuntu

I am on Ubuntu 12.04 machine. Have a script file which runs when entered manually in terminal gnome-terminal -e /home/precise/Desktop/cartodb/script.sh The content of script file is cd ...
1
vote
1answer
3k views

Permission when running script in Vagrant using Vagrantfile

I have created a vagrant box for running rails applications and I have managed to create it manually. My next step was to create a shell script that I can include in the Vagrantfile so when creating ...
0
votes
1answer
593 views

Failing to fetch some packages in update

I want to get ruby on rails on ubuntu 12.04 but I'm coming across errors that say I need to to update. I've copied the result of the end of update and not included the earlier part. I can add that ...
0
votes
1answer
276 views

Ruby on Rails on ubuntu 13.04 using rvm

I am trying to get WEBrick to work rvm gemset list gemsets for ruby-1.8.7-p374 (found in /home/simon/.rvm/gems/ruby-1.8.7-p374) (default) global => simple_cms my gem list gem list *** ...
-1
votes
2answers
910 views

How to add a proxy settings to gem

Does Ubuntu have default proxy settings? I ask this question because every time I try to install rails through gem install rails I get connection timed out error! This error occurs even I try from ...
2
votes
1answer
2k views

Installing rails 12.04 error

I have followed all stapes from this page https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm It all goes well until command to ...
0
votes
1answer
260 views

How to get Ubuntu installed and running for development (I.e. ruby on rails) [closed]

Ok, I am mostly a windows user but for for learning RoR at work, I had to get used to a mac . Once I did I found that I enjoyed it, especially the terminal, I could load up projects in moments what ...
4
votes
1answer
5k views

parse_rackup_file': rackup file (config.ru) not readable (ArgumentError) Unicorn Nginx

I used the one-click Rails, NGINX, Unicorn, MySQL droplet set up to create my server and I can't get Unicorn to start as a daemon. Here's the stack trace when I /etc/init.d/unicorn start: ...
1
vote
2answers
12k views

install libmysqlclient-dev 5.6

I can't use the mysql ruby gem because I get this error: Incorrect MySQL client library version! This gem was compiled for 5.6.15 but the client library is 5.5.34. (RuntimeError) apt-get is ...
0
votes
1answer
620 views

How to access Ruby on Rails Assets from a Host Machine

I am running a Ruby on Rails server on an Ubuntu VirtualBox guest machine. I can access the local server from my host machine by setting the Ubuntu network adapter to bridged. My app's hmtl is ...
1
vote
1answer
163 views

do you want to run or display contents ?: Asked after run chmod -R

I was getting a strange Errno::EACCES error permission denied when I tried to upload photos. Then I ran sudo chmod -R 777 /home/user/Projects/myApp/ on a rails project.This command did not solve my ...
0
votes
1answer
1k views

Rails 3: No route matches error

I am trying to create a simple form in Rails 3. But facing this issue: Showing /home/praveen/rails_projects/mebay/app/views/ads/new.html.erb where line #2 raised: No route matches ...
4
votes
1answer
4k views

Can't install rvm

I want to install RVM: ubuntu@ext:~$ rvm The program 'rvm' is currently not installed. You can install it by typing: sudo apt-get install ruby-rvm ubuntu@ext:~$ sudo apt-get install ruby-rvm Reading ...
1
vote
3answers
4k views

How do you login into /bin/bash automatically?

Im on 12.04 LTS and am doing to Ruby on Rails development. When I start up my terminal and type in ruby -v it will list my Ruby as 1.8.7. When I type in /bin/bash --login then ruby -v will list it as ...
1
vote
1answer
254 views

What version of Ruby am I really running?

Im running Ubuntu 12.04 lts and have installed Ruby via RVM. Problem is when I just type ruby -v into the terminal it says that my Ruby Version is 1.8.7 and using the shotgun gem for Sinatra it ...