Ruby on Rails Web application framework

learn more… | top users | synonyms

2
votes
2answers
736 views

How can I create a startup script that starts various Rails-required programs?

When I start my Ubuntu 12.04 vmware VM, I open up terminal and run the following commands. sudo /etc/init.d/postgresql start sudo /etc/init.d/apache2 start cd sites/name_of_rails_app bundle exec ...
1
vote
2answers
194 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, ...
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 ...
3
votes
1answer
126 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: ...
2
votes
1answer
546 views

Are there any Gedit plugins for Rails

I have watched some video tutorials for rails and spotted gedit as very good editor for ruby on rails development. I installed gmate and some plugins for programming (autocomplete and intelligent ...
1
vote
1answer
320 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
29 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
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 ...
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 ...
0
votes
1answer
138 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 *** ...
0
votes
1answer
299 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 ...
0
votes
1answer
870 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 ...
0
votes
1answer
500 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 ...
0
votes
1answer
969 views

How to update rails version from 2.3.14 to 3.2.11?

I am using ruby 1.9.3 and I need to update Rails version or need to reinstall the latest version but in vain. I've tried to install rails (sudo gem install rails), showing: Building native ...
1
vote
0answers
97 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
0answers
427 views

create_admin aborted! undefined method `source_index' for Gem:Module

trying to get gitorious running.. i got undefined method `source_index' for Gem:Module from env RAILS_ENV=production ruby1.8 script/create_admin when I run: env RAILS_ENV=production ...
0
votes
0answers
13 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
21 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
0answers
95 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 ...
0
votes
0answers
49 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 ...
0
votes
0answers
17 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
0answers
22 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
104 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
0answers
177 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 ...
0
votes
0answers
201 views

Installing rails: Errno::ECONNREFUSED: Connection refused

I'm using vmware. Parent OS is windows 7 and guest OS(where I want to install rails) is Ubuntu 12.04. Parent have dial-up Broadband internet connection. In vmware, network connection for child OS is: ...