Ruby on Rails Web application framework

learn more… | top users | synonyms

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

Mount Ruby on Rails application from OS X for RSpec test runs

My main devel machine is an OS X notebook. Additionally I have a PC notebook running Ubuntu 12.04 from a USB drive (cannot use the internal harddisk). Also I have several Ruby on Rails projects being ...
0
votes
0answers
12 views

How to solve this problem? [duplicate]

sudo apt-get install rails Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested ...
2
votes
1answer
41 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
45 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
63 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
0answers
138 views

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

trying to get gitorious runnuning.. 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 ...
1
vote
1answer
78 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
91 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 ...
0
votes
2answers
177 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
66 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
144 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 ...
0
votes
2answers
260 views

using and installing rubyonrails

i need help here. i am new to programming and interested in learning rubyonrails. i installed the above mentioned software on ubuntu 12.10 using i found on ubuntu community page. after installation, i ...
3
votes
0answers
89 views

Open subl url in Ubuntu with chrome [duplicate]

I have a project in Rails and I'm using better_errors which generate error pages with links to files where is originated a specific error. These links are something like: ...
4
votes
2answers
125 views

The program 'rails' is currently not installed

I have installed Ubuntu 12.04 on VirtualBox. I installed rvm, ruby and rails following this tutorial. But when I restart, I am getting this error: The program 'rails' is currently not installed. ...
0
votes
1answer
247 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 ...
2
votes
1answer
52 views

How to make a juju relation between rails and mongodb?

The juju charm of mongodb does have support for which relations? Is possible to make a relation between rails and mongodb?
0
votes
0answers
29 views

Running `rails` on Ubuntu executes Rails 2 even after installing Rails 3

Previously, I ran apt-get install rails, but that only installed rails 2, so I subsequently ran gem install rails. The output of that command clearly references rails 3, not 2: Fetching: ...
0
votes
1answer
200 views

What is the ideal way to install VMware and VMWare Tools for Ubuntu 12.10

I have downloaded VMware-player-5.0.1-894247.exe from this Official Website . Also downloaded Ubuntu 12.10 from Ubuntu official website. Now, here comes my Pain. I have installed VMware and then ...
0
votes
1answer
185 views

I cannot get /mnt/hgfs in ubuntu 12.10

I have installed Ubuntu 12.10 in VMWare 5.i need to mount my project(using aptana studio 3,Ruby on Rails project in my workspace).I have even shared workspace in VMWare.but still i cannot see it when ...
0
votes
1answer
82 views

multiple rails applications on same host name with different folders

When i ssh to amazon ec2, then pwd /home/ubuntu ls app_1 app_2 app_3 app_4 Considering i have mapped my ec2-122** address to some apps.site1.com How can i have multiple rails applications ...
0
votes
1answer
223 views

rake aborted! undefined local variable or method

In a fresh new Ubuntu machine, I have installed ruby with sudo apt-get install ruby1.8 and then installed rubygem1.8 with : sudo apt-get install rubygems and after that installed ...
0
votes
1answer
159 views

rake db:migrate not working in rails

I executed the following statements in terminal: rails tickets cd tickets ruby script/server //to run the app tickets on localhost:3000 ruby script/generate scaffold ticket name:string ...
0
votes
1answer
167 views

Unable to start the web application from localhost:3000(ruby on rails)

I had created a demo web application by executing rails tickets and then i executed rails script/server to run it on localhost. Initially i was able to execute the application in the browser by ...
1
vote
0answers
256 views

VMPlayer 9, Xubuntu 12.10, Rails Development - Freezing frequently

I have a new Vizio Ultrabook that came with Windows 7. I develop Rails applications, and it's a pain to do that in windows, so I setup a Xubuntu VM with 1GB ram and 2 CPU cores. I basically keep the ...
1
vote
1answer
1k views

Could not find a valid gem 'rails' (>= 0) in any repository

I am trying to install rails using the following command: sudo gem install rails and get the following error: ERROR: Could not find a valid gem 'rails' (>= 0) in any repository ERROR: ...
0
votes
0answers
92 views

Maintaining ubuntu Server session after logout from remote server

I am using Ubuntu Server 12.04 for my rails production . I am using Thin server as web server for my rails application . Step Which i did to Start my rails server from remote location : Step 1. ...
2
votes
1answer
326 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 ...
18
votes
10answers
17k views

How to install IE9, IE8, or IE7 in Ubuntu

I am developing one site which has chat feature in Rails. I am using Ubuntu 12.04 LTS. I need to check that the site is IE9 because the chat feature using socket io of HTML5. I want to know that how ...
1
vote
1answer
2k views

Rails bundler error installing Nokogiri (1.5.5) and Bundler cannot continue

An error occurred while installing nokogiri (1.5.5), and Bundler cannot continue How to fix and get past the error? Installing nokogiri (1.5.5) with native extensions ...
0
votes
2answers
1k views

bundle command gives permission denied - /var/lib/gems How to overcome?

From trying to do bundle I get: $ gem install bundler Fetching: bundler-1.2.0.gem (100%) ERROR: While executing gem ... (Errno::EACCES) Permission denied - /var/lib/gems
0
votes
1answer
486 views

Missing gem 'cgi (>= 0) ruby'

Everything was working, but today I get this error: Could not find gem 'cgi (>= 0) ruby' in the gems available on this machine. I have ruby1.9.1-dev installed.
0
votes
2answers
4k views

How to get /usr/bin/env ruby to point to the correct ruby environment?

So I was making a cgi ruby script and had the following at the top of the script file: #!/usr/bin/env ruby require 'rubygems' require 'action_pack' require 'cgi' After a couple of hours of not ...
2
votes
2answers
315 views

Why did port 3000 suddenly start getting used by PPP? How to disable?

I run a rails development environment, which runs a server I can access at localhost:3000. I was doing this again today, and went to restart the webserver and it started timing out. After some time ...
4
votes
1answer
824 views

Why does Ubuntu think Rails 2.3.14 is installed even though I installed 3.2?

I am pretty new to Ubuntu, Ruby, and Rails. I am working my way through the first Rails Guide. Midway through that guide, I upgraded Ubuntu version 11 to Ubuntu version 12. While I was on version 11, ...
1
vote
1answer
2k views

Uninstall RVM, Ruby, Ruby gem and rails in Ubuntu 12.04

What is the best way to remove RVM, Ruby, Ruby gem and rails in Ubuntu 12.04 ?
0
votes
1answer
585 views

Eclipse juno: Can't install RadRails throws error for a gem I have installed already

The thing is I installed Ubuntu 12.04, Java (for Eclipse), Eclipse, ruby, ruby gems, rails. Everything went smooth. When I tried to prepare Eclipse for ruby on rails, I installed ruby dev kit plugin. ...
0
votes
2answers
313 views

Error Installing ruby-rvm

When I try to install ruby-rvm, I get this... $ sudo apt-get install ruby-rvm Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not ...
1
vote
1answer
187 views

How can I easily install ruby on rails? [duplicate]

Possible Duplicate: How do I set up Ruby on Rails? How can I easily install RVM, ruby 1.9.3, rubygems, passenger and rails all in one go ?
2
votes
1answer
314 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 ...
0
votes
1answer
785 views

Rails 3 not using rvm?

I there any way to install this * not using rvm? I've got rails 3.2.3 gem installed but terminal can't found binary. If You tell me to use rvm - please show me some WORKING (step by step) tutorial! ...
1
vote
0answers
192 views

nginx does not respond requests for rails app [closed]

I try to deploy my app to EC2 son Amazon via nginx and passenger. I did what the passenger installation comments say. But when I run my nginx and try to enter my site it does not respond even withan ...
0
votes
1answer
367 views

Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)

I'm trying to install Ruby on Rails on Ubuntu 11.10, but receiving this error: $ sudo gem install rails ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: ...
0
votes
1answer
265 views

Rails application directory has different $PATH value than other directories on the system

I recently installed Rails 3.2.1 (Gem version 1.8.7) running on Ruby 1.9.3 on Ubuntu 11.10. I installed ruby, rails, and gem using rvm. I currently only have the one version installed. When I type ...
-1
votes
1answer
308 views

How to share ubuntu (make server (Ruby on Rails)) in home, on virtual machine?

how can I share my ubuntu server () which is installed on virtual machine. Main machine is asus k52de, which OS is Windows 7 professional. How can i do, that i can attach to my ubuntu from another ...
1
vote
1answer
334 views

How to get a bundler enabled rails app running as a service with upstart?

I can get some random shell script to run as a service...that's not the problem. I think it's related to environment variables given some of the google-ing I did. Either a list of required rails ...
1
vote
3answers
282 views

How do I install Ruby 1.9.2 on Ubuntu without crashing?

I've been trying to set up Ruby on Rails for Ubuntu 11.10 following these instructions, but I can't get it to work. I'll follow the install guide all the way up to "rvm install ruby-1.9.2", and at ...
5
votes
2answers
4k views

rails & libpq-dev nasty dependencies

I don't know if this question belongs here, but I'll take a shot. Hi. I'm running ubuntu 11.10 dual-boot with windows vista on my machine. On Ubuntu, I've installed RVM, rails gem, & PostgreSQL ...
2
votes
2answers
272 views

Error while installing rails

Following this tutorial here, to install ruby on rails on ubuntu 11.10 with sqlite3 when I run the following command sudo gem install rails I get the following error : ERROR: Could not find a ...
5
votes
3answers
428 views

Can I run Rails and PHP servers from same machine?

I have a Ubuntu box 10.04 that already has a LAMP stack configured on it. I would like to play around with Rails on this machine as well. Is there a way I can install Rails without messing up the PHP ...

1 2