Tagged Questions
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
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 ...
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 ...
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 ...
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
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
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: ...
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 ...
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 ?
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
336 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 ...
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 ...
1
vote
2answers
301 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 ...
4
votes
2answers
541 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 ...
2
votes
1answer
128 views
Backup and restore development files?
I started with Ubuntu with a small partition and I'm running out of space.
I'm planning to dump Windows altogether and use my full disk for Ubuntu (also, doing a clean install for once), but I need ...
7
votes
2answers
4k views
How can I get gedit ready for programming in Ruby and Ruby on Rails?
I'd like to know which gedit plugins I could install to make programming for Ruby and Ruby on Rails easier?
5
votes
0answers
1k views
Best way to Install Ruby 1.9, Rails 3, Postgres, Heroku, GitHub, Using RVM? [duplicate]
Possible Duplicate:
How do I set up Ruby on Rails?
Best way to Install RUBY 1.9, Rails 3, Postgres, Heroku, GitHub, Using RVM
Can anyone suggest me the way in which should I follow to ...
0
votes
1answer
374 views
Does mysqldump return a status?
I am creating a script that backups a mysql db using the mysqldump utility. I am writing this script in the shell "sh". I would like to capture the output status of mysqldump in the script (i.e. if ...
2
votes
2answers
821 views
Can't install libopenssl-ruby
I'm trying to install ruby on rails and I can't seem to install libopenssl-ruby. I'm on a VPS and I've installed Jaunty as the newer releases don't seem to work very nicely. When I do:
apt-get ...
1
vote
1answer
193 views
How do I configure Ruby on Rails to Always use mySQL as the default database?
How do i configure Ruby on Rails to always use mySQL as the default database?
I am a newbie and i just installed Ruby on Rails and mySQL and by default ROR uses sqlite3, but when I configure the db ...
3
votes
1answer
473 views
Is there ruby syntax validation plugin for gedit?
I am using the https://github.com/gmate/gmate setup, but it lacks a ruby syntax validation plugin.
Where can I find one?
Tnx!
9
votes
5answers
2k views
How do I set up Ruby on Rails?
I am interested in setting up a Ruby on Rails environment on my 10.10 laptop.
Is there anything special I need to keep in mind for installation (i.e. that could be new or unique to 10.10)?
Are ...

