Ruby on Rails Web application framework

learn more… | top users | synonyms

0
votes
0answers
8 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
0answers
14 views

Ubuntu 14.10 appears to break rubygems native compilation

Folks, I have come to the conclusion that the issues I am facing with my ruby-on-rails database deployments have more to do with the differences between Ubuntu 14.04LTS and 14.10. When I tried to ...
1
vote
0answers
19 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
1answer
28 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
27 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 ...
0
votes
0answers
28 views

can't resize images using paperclip on rails

so I am writing a rails app, I am using paperclip gem to upload images, here is my model class Recipe < ActiveRecord::Base has_attached_file :image, :styles => { :medium => "300x300>"} ...
0
votes
0answers
40 views

can't install capybara-webkit

When I bundle install I get: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby2.1 extconf.rb Command 'qmake -spec linux-g++ ' not available Makefile not found ...
0
votes
2answers
166 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!
-1
votes
2answers
482 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 ...
0
votes
0answers
125 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 ...
2
votes
2answers
1k 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
392 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
34 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 ...
0
votes
0answers
52 views

If I change desktop environment will I loose all settings and software I already have. Ubuntu to XUbuntu

I installed Ubuntu 14 (64bit) and later I found that Xubuntu is more lighter. I would like to have better performance than visually appealing UI. I work on ruby on rails and I have setup everything ...
1
vote
1answer
2k 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
211 views

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

I want to know how to install ruby on rails on ubuntu14.04. please help me. which versions are better to install and how to install ruby(version), rubygems, rubygems_update -v (version), mysql_server ...
2
votes
1answer
217 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
1k 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
0answers
18 views

Questions about setting up SSL

I have a subdomain on a server that is pointing to an IP hosting an application. I need to enable SSL on the application. The way I understand it is that because SSL is domain specific the ...
0
votes
1answer
416 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
0answers
23 views

Thin server not working on Production mode(live) on Amazon Ec2

I am new to Ubuntu and I have put my Rails code on Amazon EC2 machine.. I am having issues that the thin server I have put on the server seems to crash.I have put this question on stackoverflow ...
0
votes
0answers
109 views

Ruby installation in Ubuntu Virtualbox vanishes after every reboot

I installed Ruby and Rails in Ubuntu(Guest OS) which is mounted on Windows (Host OS) using Virtual Box. But every time I reboot Guest OS, I need to re install Ruby on Rails.I have some experience with ...
0
votes
1answer
158 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
512 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 ...
0
votes
0answers
185 views

Error installing rails 3.2.14

I get the following error while installing Rails 3.2.14: With sudo apt-get install rails apt 0.8.16~exp12ubuntu10.16 for amd64 compiled on Nov 15 2013 15:33:57 Supported modules: *Ver: Standard .deb ...
3
votes
1answer
1k 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
173 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 ...
2
votes
1answer
3k 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
1answer
5k 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
335 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
4k views

“media change: please insert the disc labeled” when trying to install Ruby on Rails [duplicate]

When I type sudo apt-get install rails I get the message: media change: please insert the disc labeled 'Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.1) in the drive '/media/cdrom/' ...
1
vote
1answer
97 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
909 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 ...
3
votes
1answer
3k 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
2k 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
150 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 ...
0
votes
1answer
255 views

Start thinking sphinx on Ubuntu startup

I need run this rails command automatically, from my project folder, every time my server starts up: rake ts:start I put a file called run_ts.sh in my rails project folder: #!/bin/bash rake ...
1
vote
1answer
2k views

Launch rails webrick server at startup

I want webrick running at startup. So I execute this command in terminal: crontab -e Then added this line to the end of the file @reboot /home/myname/.rvm/rubies/ruby-2.0.0-head/bin/ruby ...
1
vote
0answers
98 views

How should I configure Jenkins for Ruby on Rails?

I am using Ubuntu 12.04 and I have installed Jenkins on my system. What additional software and plugins do I need for running Ruby on Rails jobs, and how should I configure them?
1
vote
1answer
2k views

Installing Ruby On Rails stack on Ubuntu? [duplicate]

I'm looking to install ruby on rails on Ubuntu similarly to how its described in the RailsIntaller.org for MAC/Windows. Instructions and guides that I've seen to do this on Ubuntu seem to be all over ...
0
votes
2answers
2k views

Installing Rails on Ubuntu 13.04

I tried installing rails according to this guide, and when I do, I get this error: $ sudo gem install rails WARNING: Error fetching data: Errno::ENOENT: No such file or directory - getaddrinfo ...
0
votes
1answer
107 views

Signatures error

I am getting the below error when I try to run the command sudo apt-get update: E: GPG error: http://extras.ubuntu.com quantal Release: The following signatures were invalid: NODATA 1 NODATA 2 ...
2
votes
1answer
2k views

error Can't find the 'libpq-fe.h header

Trying to set up postgres for rails. bundle install gives: Can't find the 'libpq-fe.h header
3
votes
1answer
127 views

When using Ubuntu with the Kubuntu desktop it asks me to install Rails

Recently I installed Kubuntu (http://www.kubuntu.org/) to improve the speed of using Ubuntu. Neverhteless when I try to run my rails applications with the command "rails s" I get the following error: ...
0
votes
1answer
506 views

Unable install rails in ubuntu 12.10

I am trying to install rails in my ubuntu 12.10, but I am unsuccessful in doing it. I am getting the error about packages. Here is the sample exmple E: Unable to locate package libsql What I did ...
1
vote
1answer
909 views

can't rake, missing gem but it's available

I'm trying to rake but I keep getting this As you can see, i18n (0.6.4) is installed and alive, so what's going on? what am I missing? I have tried to uninstall and install again, all went well ...
0
votes
2answers
549 views

Fix bash_profile to Develop Ruby on Rails Apps

I just installed Ruby and Rails stuff on my machine, and start to learn. But every time I close the Terminal and re-open it, I have to re-type the command . ~/.bash_profile in order to run Rails ...
2
votes
2answers
2k views

Why am I getting a “install rails” prompt when it already is installed?

I'm inside of the terminal right now and just about to make a new application. I'm inside of the app folder, did rails new --help and pops up: The program 'rails' can be found in the following ...
1
vote
2answers
197 views

How can I switch from using Rails 2 (packaged) to Rails 3 (RVM)?

I've installed the Rails 2.3.14 package by running: sudo apt-get install rails It is working fine. But after that I installed the Rails 3.2.9 gem by running: gem install rails In the terminal, ...
1
vote
2answers
785 views

Install postgreSQL on Ubuntu dependency errors

I just installed a Bitnami Ruby Stack (Ubuntu, Rails, Rub, ...). I would like to install postgreSQL. I tried the following command: sudo apt-get install postgresql But, I get this: Reading ...