0
votes
1answer
20 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
45 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
46 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
3answers
62 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
85 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
528 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
88 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 ...
1
vote
1answer
1k 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
77 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
199 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
0answers
35 views

Create a new rails show the error message

Bundler could not find compatible versions for gem "bundler": In Gemfile: rails (= 4.0.0) depends on bundler (< 2.0, >= 1.3.0) Current Bundler version: bundler (1.0.15) I ...
0
votes
0answers
279 views

Problem with bundle install in RoR

I am using RVM and using ruby-1.9.2-p180 When I enter my project I get: You are using '.rvmrc', it requires trusting, it is slower and it is not compatible with other ruby managers, you can switch ...
3
votes
1answer
2k 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 ...
0
votes
2answers
888 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
119 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
0answers
78 views

Problem using rails with ubunt 12.04 and unable to run console command

When I am using rails console command something like this is happening: peeyush@peeyush-WS:~/issues$ rails console /home/peeyush/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/irb/completion.rb:9:in ...
1
vote
0answers
90 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?
0
votes
0answers
490 views

how to uninstall ruby and gems and rvm and rails

I installed above mentioned packages . i Want to uninstall that now . they are broken . i lost my 2 days in uninstall and surf stackoverflow , google also . pratik@ubuntu:~$ rvm -v The program ...
1
vote
1answer
1k views

Installing Ruby On Rails stack on Ubuntu?

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
0answers
83 views

Railsintaller for Ubuntu?

I just started using Ubuntu via Virtualbox. Im used to installing programs and files the easy Windows way and using exe files for installs. The command line install seems very cumbersome. Im trying to ...
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
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
1k 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
0
votes
1answer
363 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
318 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
2answers
417 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 ...
1
vote
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 ...
0
votes
2answers
398 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 ...
0
votes
1answer
284 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
463 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
438 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
408 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
1answer
4k 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: ...
2
votes
1answer
3k 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 ...
1
vote
4answers
3k 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
966 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.
2
votes
2answers
12k 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 ...
4
votes
1answer
2k 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
5k 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
875 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
705 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
229 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 ?
0
votes
1answer
467 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
392 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
643 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
329 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 ...
2
votes
2answers
325 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 ...
1
vote
2answers
479 views

How to auto indent the characters of rb, erb, .html.erb files?

In mac using Text - Mate we can easily auto - indent the characters in the file for Ruby on Rails code in various rb,erb or html.erb files. I am searching for a plugin for GEdit for the same purpose ...
6
votes
2answers
810 views

Why is it so difficult to setup Ruby on Rails on Ubuntu?

I've spent a few hours this morning trying to setup Rails on a fresh instance of Ubuntu and I noticed that the process is incredibly more convoluted than on Windows. On Windows I go to ...
4
votes
2answers
2k views

Passenger (mod-rails) can't find libopenssl-ruby

Trying to build an nginx server with Phusion Passenger on Ubuntu 11.10 (hurray for the new version!). Running "passenger-install-nginx-module" outputs the following error: * OpenSSL support for ...