Gems included by the bundle:
bundler (1.2.4)
childprocess (0.3.9)
ffi (1.4.0)
json (1.7.7)
mime-types (1.21)
multi_json (1.6.1)
rack (1.5.2)
rest-client (1.6.7)
rubyzip (0.9.9)
selenium-webdriver (2.31.0)
sinatra (1.3.0 063bcb1)
sqlite3 (1.3.7)
sqlite3-ruby (1.3.3)
sys-uname (0.9.1)
testkeeper (0.1.15)
tilt (1.3.5)
trollop (2.0)
useragent (0.4.16)
websocket (1.0.7)
xml-simple (1.1.2)
Code/Exception:
csut11:current demo$ bundle exec irb
1.9.2-p290 :001 > require "selenium-webdriver"
=> true
1.9.2-p290 :002 > browser = Selenium::WebDriver.for :safari
EOFError: end of file reached
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/safari/server.rb:37:in `read_nonblock'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/safari/server.rb:37:in `receive'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/safari/bridge.rb:60:in `raw_execute'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/safari/bridge.rb:40:in `create_session'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/remote/bridge.rb:68:in `initialize'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/safari/bridge.rb:23:in `initialize'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/common/driver.rb:47:in `new'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/common/driver.rb:47:in `for'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver.rb:67:in `for'
from (irb):2
from /Users/demo/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `<main>'
1.9.2-p290 :003 >
Issue logged in selenium
http://code.google.com/p/selenium/issues/detail?id=5318
tracking issue for fix
http://code.google.com/p/selenium/issues/detail?id=5322
Related
I have Rails 3.2.8 installed and what gem update --system says is the latest ruby gems, running ruby 1.9.3-p194 on a Mac.
When I do
gem rdoc railties --ri --overwrite
I get a plethora of warnings. (The --overwrite makes no difference). I've found various people complaining but no solutions.
Passing the errors through sort -u, the unique lines are:
Gem::SourceIndex#add_spec called from /usr/local/prvm/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:127.
Gem::SourceIndex#initialize called from /usr/local/prvm/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:67.
Gem::SourceIndex#load_gems_in called from /usr/local/prvm/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:322.
Gem::SourceIndex#refresh! called from /usr/local/prvm/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:95.
Gem::SourceIndex#search called from /usr/local/prvm/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/commands/rdoc_command.rb:64.
Gem::SourceIndex#spec_dirs= called from /usr/local/prvm/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:94.
Gem::SourceIndex.from_gems_in called from /usr/local/prvm/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:47.
Gem::SourceIndex.from_installed_gems called from /usr/local/prvm/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/commands/rdoc_command.rb:64.
Gem::SourceIndex.installed_spec_directories called from /usr/local/prvm/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:47.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
NOTE: Gem::SourceIndex#spec_dirs= is deprecated, use Specification.dirs=. It will be removed on or after 2011-11-01.
NOTE: Gem::SourceIndex.from_gems_in is deprecated with no replacement. It will be removed on or after 2011-10-01.
NOTE: Gem::SourceIndex.from_installed_gems is deprecated with no replacement. It will be removed on or after 2011-10-01.
NOTE: Gem::SourceIndex.installed_spec_directories is deprecated, use Specification.dirs. It will be removed on or after 2011-11-01.
Here is my list of gems:
*** LOCAL GEMS ***
actionmailer (3.2.8)
actionpack (3.2.8)
activemodel (3.2.8)
activerecord (3.2.8)
activerecord_constraints (0.1.1)
activeresource (3.2.8)
activesupport (3.2.8)
arel (3.0.2)
bigdecimal (1.1.0)
builder (3.0.3)
bundler (1.1.3)
capistrano (2.13.3)
coffee-rails (3.2.2)
coffee-script (2.2.0)
coffee-script-source (1.3.3)
daemons (1.1.8)
dalli (2.2.1)
erubis (2.7.0)
eventmachine (0.12.10)
execjs (1.4.0)
highline (1.6.14)
hike (1.2.1)
i18n (0.6.1)
io-console (0.3)
journey (1.0.4)
jquery-rails (2.1.2)
jquery-ui-rails (2.0.0)
jruby-pageant (1.0.2)
json (1.7.5)
mail (2.4.4)
mime-types (1.19)
minitest (2.5.1)
multi_json (1.3.6)
net-scp (1.0.4)
net-sftp (2.0.5)
net-ssh (2.5.2)
net-ssh-gateway (1.1.0)
pg (0.14.1)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.8)
rails-footnotes (3.7.8)
railties (3.2.8)
rake (0.9.2.2)
rdoc (3.12)
rubygems-update (1.8.24)
sass (3.1.19)
sass-rails (3.2.5)
sprockets (2.1.3)
sqlite3 (1.3.6)
thin (1.4.1)
thor (0.16.0)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.33)
uglifier (1.2.5)
The "ick" is "ri Rails::Engine" produces no output when in fact it has tons of really beautiful documentation. I bumped into this often on my Mac and would like to get a full set of docs working on my Mac.
What is probably a separate issue the command
gem rdoc bigdecimal --ri
produces the same warnings but ends with:
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - /usr/local/prvm/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/bigdecimal-1.1.0
Is this an issue with railties or with rubygems or my local set up?
Any way to get around it?
If there were an error RubyGems would explicitly say so and exit with a non-zero error code. For the first case, as you note, you see only warnings.
These warnings have been fixed in the RubyGems but it is not easy to back port the fix to RubyGems 1.8.
For the second case, we aim to solve this with the "default gems" feature in Ruby 2.0. The bigdecimal documentation ships as part of ruby so there is no need to regenerate it.
The question was very badly phrased. I incorrectly associated the warnings with the fact that "gem rdoc railties" did not produce the internal documentation. I finally tracked down that particular question. For some reason, the gem spec excludes all files. Just remove that line and you get good documentation.
diff -c /tmp/railties-3.2.8.gemspec ./railties-3.2.8.gemspec
*** /tmp/railties-3.2.8.gemspec 2012-09-19 08:40:57.000000000 -0500
--- ./railties-3.2.8.gemspec 2012-09-19 08:39:32.000000000 -0500
***************
*** 12,18 ****
s.executables = ["rails"]
s.files = ["bin/rails"]
s.homepage = "http://www.rubyonrails.org"
! s.rdoc_options = ["--exclude", "."]
s.require_paths = ["lib"]
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
s.rubygems_version = "1.8.24"
--- 12,18 ----
s.executables = ["rails"]
s.files = ["bin/rails"]
s.homepage = "http://www.rubyonrails.org"
! # s.rdoc_options = ["--exclude", "."]
s.require_paths = ["lib"]
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
s.rubygems_version = "1.8.24"
I have been working on this problem in last two days using [http://jackassofalltrades.org/2012/02/updating-to-a-newer-rails-on-dreamhost][1]/ instruction. I have looked at other ruby on rails and dreamhost issues and instructions, but they seemed out of date. e.g 2010 etc. Moreover, I do aware of heroku which is very easy to deploy but expensive to keep running for my small project. So here are my problems.
Ruby (Rack)application could not be started - a mixture of two Ruby versions: Ruby 1.8 and 1.9 - when visiting to my website via browser.
I am unsure whether the gemset rails_michaelcollins_com remains true when i exit the terminal because every time I log in, the arrow to the particular gemset have been missing from "rvm gemset list".
Rails console error message stating "Could not find a JavaScript runtime" despite that I have Execjs 1.3.1 according to "bundle show" in rails.michaelcollins.com folder.
Thank you kindly in advance
Error mesage: Ruby (Rack) application could not be started
Application root: /home/miccol2/rails.michaelcollins.com
/usr/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/setup.rb 10 in `exit'
/usr/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/setup.rb 10
/usr/lib/ruby/1.8/rubygems/custom_require.rb 36 in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb 36 in `require'
/home/miccol2/rails.michaelcollins.com/config/boot.rb 6
/usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `require'
/home/miccol2/rails.michaelcollins.com/config/application.rb 1
/usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `require'
/home/miccol2/rails.michaelcollins.com/config/environment.rb 2
/usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `require' config.ru 3
/usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/builder.rb 46 in `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/builder.rb 46 in `initialize'
config.ru 1 in `new'
config.ru
[oslo]$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
[oslo]$ which ruby
/home/miccol2/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
[oslo]$ rails -v
Rails 3.2.3
[oslo]$ which rails
/home/miccol2/.rvm/gems/ruby-1.9.3-p194/bin/rails
[oslo]$ rvm -v
rvm 1.13.4 (stable) by Wayne E. Seguin <wayneeseguin#gmail.com>, Michal Papis <mpapis#gmail.com> [https://rvm.io/]
[oslo]$ rvm gemset list
gemsets for ruby-1.9.3-p194 (found in /home/miccol2/.rvm/gems/ruby-1.9.3-p194)
global
rails_michaelcollins_com
[oslo]$ rvm gemset use rails_michaelcollins_com
Using ruby-1.9.3-p194 with gemset rails_michaelcollins_com
[oslo]$ rvm gemset list
gemsets for ruby-1.9.3-p194 (found in /home/miccol2/.rvm/gems/ruby-1.9.3-p194)
global
=> rails_michaelcollins_com
[oslo]$
[oslo]$ rails console
/home/miccol2/.rvm/gems/ruby-1.9.3-p194#rails_michaelcollins_com/gems/execjs-1.3.1/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#rails_michaelcollins_com/gems/execjs-1.3.1/lib/execjs.rb:5:in `<module:ExecJS>'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#rails_michaelcollins_com/gems/execjs-1.3.1/lib/execjs.rb:4:in `<top (required)>'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#rails_michaelcollins_com/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#rails_michaelcollins_com/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#rails_michaelcollins_com/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#rails_michaelcollins_com/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#rails_michaelcollins_com/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `require'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#rails_michaelcollins_com/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `<top (required)>'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `block in require'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
from /home/miccol2/rails.michaelcollins.com/config/application.rb:7:in `<top (required)>'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#rails_michaelcollins_com/gems/railties-3.2.3/lib/rails/commands.rb:39:in `require'
from /home/miccol2/.rvm/gems/ruby-1.9.3-p194#rails_michaelcollins_com/gems/railties-3.2.3/lib/rails/commands.rb:39:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
[oslo]$
[oslo]$ bundle show
Gems included by the bundle:
* actionmailer (3.2.3)
* actionpack (3.2.3)
* activemodel (3.2.3)
* activerecord (3.2.3)
* activeresource (3.2.3)
* activesupport (3.2.3)
* arel (3.0.2)
* builder (3.0.0)
* bundler (1.1.3)
* coffee-rails (3.2.2)
* coffee-script (2.2.0)
* coffee-script-source (1.3.1)
* erubis (2.7.0)
* execjs (1.3.1)
* hike (1.2.1)
* i18n (0.6.0)
* journey (1.0.3)
* jquery-rails (2.0.2)
* json (1.7.1)
* mail (2.4.4)
* mime-types (1.18)
* multi_json (1.3.4)
* mysql2 (0.3.11)
* polyglot (0.3.3)
* rack (1.4.1)
* rack-cache (1.2)
* rack-ssl (1.3.2)
* rack-test (0.6.1)
* rails (3.2.3)
* railties (3.2.3)
* rake (0.9.2.2)
* rdoc (3.12)
* sass (3.1.17)
* sass-rails (3.2.5)
* sprockets (2.1.3)
* thor (0.14.6)
* tilt (1.3.3)
* treetop (1.4.10)
* tzinfo (0.3.33)
* uglifier (1.2.4)
[oslo]$
It looks like execjs can't find it a runtime JS server.
See this for morre information:
https://github.com/sstephenson/execjs
Do you need that gem? If so, you'll need to install a runtime JS server. One widely used one is https://github.com/cowboyd/therubyracer .
To install that runtime JS server, add this line to your Gemfile:
gem "therubyracer", :require => 'v8'
You've bundled execjs but it can't find a Javascript runtime, like, say, node.js.
If you truly need execjs, then install node.js.
Also, be sure that your PATH environment variable includes the path to your Javascript runtime installation before starting up Rails.
I have the following code that works perfectly in my devl (local) environment, but breaks under passenger (production):
<select name="acp[acp_type]">
<%= options_for_select ([["Standalone",0] ,["Public", 1],["Private", 2],["Both", 3]],#acp.acp_type) %>
</select>
In development, it generates a dropdown list and selects whatever is in #acp.acp_type. In production there is a Template error (see below). If I remove the ,#acp.acp_type it works fine, but I don't get the value selected.
Here is my gem list (this matches development exactly other than the passenger-related gems):
abstract (1.0.0)
actionmailer (3.0.4)
actionpack (3.0.4)
activemodel (3.0.4)
activerecord (3.0.4)
activeresource (3.0.4)
activesupport (3.0.4)
arel (2.0.10)
attributes (5.0.1)
builder (2.1.2)
bundler (1.0.18)
daemon_controller (1.0.0)
erubis (2.6.6)
factory_girl (2.0.5)
factory_girl_rails (1.1.0)
fastthread (1.0.7)
i18n (0.6.0, 0.5.0)
jquery-rails (1.0.16)
mail (2.2.19)
mime-types (1.16)
mysql (2.8.1)
mysql2 (0.2.13)
passenger (3.0.11)
polyglot (0.3.2)
prototype (2.0.0)
rack (1.2.3)
rack-cache (1.1)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (3.0.4)
railties (3.0.4)
rake (0.9.2)
rdoc (3.9.4)
rvm (1.9.2)
thor (0.14.6)
treetop (1.4.10)
tzinfo (0.3.29)
uuidtools (2.1.2)
will_paginate (3.0.2)
And the error is:
ActionView::Template::Error (/var/www/html/tpdemo/app/views/acps/_form.html.erb:19: syntax error, unexpected ',', expecting ')'
...Both", 3]],#acp.acp_type) );#output_buff...
... ^
/var/www/html/tpdemo/app/views/acps/_form.html.erb:19: syntax error, unexpected ')', expecting keyword_end
...Both", 3]],#acp.acp_type) );#output_buffer.safe_concat('
... ^):
18: <select name="acp[acp_type]">
19: <%= options_for_select ([["Standalone",0] ,["Public", 1],["Private", 2],["Both", 3]],#acp.acp_type) %>
20: </select>
21: </div>
22:
So the code looks fine, but it's very unlikely that Passenger is the culprit -- more likely the data on your other server is different -- perhaps #acp.acp_type is nil. (I think #acp is not nil, as otherwise I think you would get a nil error). Another explanation is that the data schema is outdated -- did you just add this field and still need to run a migration?
I am running RubyMine 4 on Ubuntu 11.10, every thing is fine inside RubyMine, I can run the server, develop, etc .. but, when I need to work on the command line, I just can't do anything ..
I cd to my app directory, then I tried to:
$ rails s
I get:
The program 'rails' is currently not installed. You can install it by typing:
sudo apt-get install rails
That's is strange, how come its not installed, while I can work normally in RubyMine IDE !
I needed to use command line to uninstall a gem, to discover that I can't use the command line as it should ..
sam#ubuntu:~/Documents/RoR/course_builder$ gem uninstall 'capybara-firebug'
ERROR: While executing gem ... (Gem::InstallError)
cannot uninstall, check `gem list -d capybara-firebug`
$ gem list -d will give me:
*** LOCAL GEMS ***
no gems there ..
if I type :
$ bundle install
I get:
/usr/lib/ruby/vendor_ruby/bundler/rubygems_ext.rb:8:in `require': no such file to load -- rubygems (LoadError)
from /usr/lib/ruby/vendor_ruby/bundler/rubygems_ext.rb:8
from /usr/lib/ruby/vendor_ruby/bundler.rb:11:in `require'
from /usr/lib/ruby/vendor_ruby/bundler.rb:11
from /usr/bin/bundle:4:in `require'
from /usr/bin/bundle:4
although bundle install inside RubyMine works fine
so, what I am missing here ?!! why I can't use the command line .. ?
here is my gem environment:
RUBYGEMS VERSION: 1.8.10
RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0) [i686-linux]
INSTALLATION DIRECTORY: /home/sam/.rvm/gems/ruby-1.9.3-p0#global
RUBY EXECUTABLE: /home/sam/.rvm/rubies/ruby-1.9.3-p0/bin/ruby
EXECUTABLE DIRECTORY: /home/sam/.rvm/gems/ruby-1.9.3-p0#global/bin
RUBYGEMS PLATFORMS:
ruby
x86-linux
GEM PATHS:
/home/sam/.rvm/gems/ruby-1.9.3-p0#global
GEM CONFIGURATION:
:update_sources => true
:verbose => true
:benchmark => false
:backtrace => false
:bulk_threshold => 1000
REMOTE SOURCES:
http://rubygems.org/
----------------------
IDE: JetBrains RubyMine 4.0.1, build #RM-113.20
OS: Linux 3.0.0-16-generic[i386]
Java: 1.6.0_23-b23
RubyMine SDK Environment:
Sdk: RVM: ruby-1.9.3-p0 [global]
Sdk Version: ver.1.9.3p0 ( revision 33570) p0
Ruby Interpreter: /home/sam/.rvm/rubies/ruby-1.9.3-p0/bin/ruby
RVM Sdk: yes, gemset:global
RVM Home: /home/sam/.rvm
Sdk Language Level: 1.9
Sdk Load Path:
~/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1
~/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/i686-linux
~/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby
~/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/vendor_ruby/1.9.1
~/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/vendor_ruby/1.9.1/i686-linux
~/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/vendor_ruby
~/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1
~/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/i686-linux
/opt/RubyMine-4.0.1/rubystubs19
Sdk Gem paths:
~/.rvm/gems/ruby-1.9.3-p0#global/bundler/gems
~/.rvm/gems/ruby-1.9.3-p0#global/gems
Gems used for 'hope':
xpath (bundled(0.1.4))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/xpath-0.1.4
rack (1.3.6)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rack-1.3.6
rspec-expectations (2.7.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rspec-expectations-2.7.0
rack-mount (bundled(0.8.3))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rack-mount-0.8.3
rubyzip (bundled(0.9.5))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rubyzip-0.9.5
bcrypt-ruby (bundled(3.0.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/bcrypt-ruby-3.0.1
activemodel (bundled(3.1.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/activemodel-3.1.0
client_side_validations (3.1.4)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/client_side_validations-3.1.4
cocoon (bundled(1.0.15))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/cocoon-1.0.15
diff-lcs (1.1.3)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/diff-lcs-1.1.3
sprockets (2.0.3)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/sprockets-2.0.3
rack-ssl (1.3.2)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rack-ssl-1.3.2
simple_form (1.5.2)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/simple_form-1.5.2
thor (bundled(0.14.6))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/thor-0.14.6
rdoc (3.12)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rdoc-3.12
rubyzip (bundled(0.9.6.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rubyzip-0.9.6.1
foreigner (1.1.1)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/foreigner-1.1.1
mocha (bundled(0.10.3))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/mocha-0.10.3
mime-types (bundled(1.17.2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/mime-types-1.17.2
treetop (bundled(1.4.10))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/treetop-1.4.10
therubyracer (bundled(0.9.9))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/therubyracer-0.9.9
kaminari (bundled(0.13.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/kaminari-0.13.0
selenium-webdriver (bundled(2.17.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/selenium-webdriver-2.17.0
coffee-script (2.2.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/coffee-script-2.2.0
sass (bundled(3.1.14))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/sass-3.1.14
mail (bundled(2.3.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/mail-2.3.0
rack-mount (0.8.3)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rack-mount-0.8.3
will_paginate (bundled(3.0.3))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/will_paginate-3.0.3
i18n (0.6.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/i18n-0.6.0
rspec-mocks (bundled(2.7.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rspec-mocks-2.7.0
ansi (bundled(1.4.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/ansi-1.4.1
orm_adapter (0.0.6)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/orm_adapter-0.0.6
rspec-core (2.7.1)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rspec-core-2.7.1
pg (0.13.2)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/pg-0.13.2
metaclass (0.0.1)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/metaclass-0.0.1
builder (3.0.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/builder-3.0.0
execjs (bundled(1.3.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/execjs-1.3.0
uglifier (bundled(1.2.3))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/uglifier-1.2.3
jquery-rails (bundled(1.0.19))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/jquery-rails-1.0.19
rspec-expectations (bundled(2.7.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rspec-expectations-2.7.0
bundler (1.0.21)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/bundler-1.0.21
postgres-pr (bundled(0.6.3))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/postgres-pr-0.6.3
capybara-firebug (bundled(1.0.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/capybara-firebug-1.0.1
rspec-rails (bundled(2.7.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rspec-rails-2.7.0
warden (1.1.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/warden-1.1.0
rails (3.1.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rails-3.1.0
sass-rails (3.1.5)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/sass-rails-3.1.5
capybara-firebug (1.0.1)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/capybara-firebug-1.0.1
rspec (2.7.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rspec-2.7.0
actionpack (3.1.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/actionpack-3.1.0
rack (bundled(1.3.6))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rack-1.3.6
mime-types (1.17.2)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/mime-types-1.17.2
capybara (bundled(1.1.2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/capybara-1.1.2
nokogiri (1.5.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/nokogiri-1.5.0
rake (0.9.2.2)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rake-0.9.2.2
nokogiri (bundled(1.5.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/nokogiri-1.5.0
sqlite3 (1.3.5)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/sqlite3-1.3.5
actionmailer (bundled(3.1.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/actionmailer-3.1.0
therubyracer (0.9.9)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/therubyracer-0.9.9
metaclass (bundled(0.0.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/metaclass-0.0.1
launchy (2.0.5)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/launchy-2.0.5
rack-cache (bundled(1.0.3))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rack-cache-1.0.3
rdoc (bundled(3.12))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rdoc-3.12
polyglot (0.3.3)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/polyglot-0.3.3
factory_girl (bundled(2.4.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/factory_girl-2.4.0
tilt (bundled(1.3.3))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/tilt-1.3.3
uglifier (1.2.3)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/uglifier-1.2.3
rb-fsevent (bundled(0.4.3.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rb-fsevent-0.4.3.1
uglifier (bundled(1.2.2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/uglifier-1.2.2
treetop (1.4.10)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/treetop-1.4.10
warden (bundled(1.1.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/warden-1.1.0
coffee-script-source (1.2.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/coffee-script-source-1.2.0
execjs (bundled(1.2.13))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/execjs-1.2.13
guard-spork (bundled(0.5.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/guard-spork-0.5.1
ffi (1.0.11)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/ffi-1.0.11
rb-fsevent (bundled(0.9.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rb-fsevent-0.9.0
ffi (bundled(1.0.11))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/ffi-1.0.11
arel (bundled(2.2.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/arel-2.2.1
guard (bundled(1.0.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/guard-1.0.0
kaminari (0.13.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/kaminari-0.13.0
validate_url (bundled(0.2.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/validate_url-0.2.0
coffee-rails (3.1.1)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/coffee-rails-3.1.1
actionmailer (3.1.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/actionmailer-3.1.0
turn (bundled(0.9.2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/turn-0.9.2
capybara-webkit (bundled(0.9.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/capybara-webkit-0.9.0
coffee-rails (bundled(3.1.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/coffee-rails-3.1.1
rspec-mocks (2.7.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rspec-mocks-2.7.0
childprocess (bundled(0.3.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/childprocess-0.3.1
sprockets (bundled(2.0.3))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/sprockets-2.0.3
execjs (1.3.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/execjs-1.3.0
tilt (1.3.3)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/tilt-1.3.3
rspec (bundled(2.7.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rspec-2.7.0
spork (bundled(0.9.0.rc9))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/spork-0.9.0.rc9
rspec-rails (2.7.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rspec-rails-2.7.0
haml (bundled(3.1.4))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/haml-3.1.4
rake (bundled(0.9.2.2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rake-0.9.2.2
tzinfo (0.3.31)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/tzinfo-0.3.31
bcrypt-ruby (3.0.1)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/bcrypt-ruby-3.0.1
pg (bundled(0.13.2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/pg-0.13.2
actionpack (bundled(3.1.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/actionpack-3.1.0
devise (bundled(1.5.2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/devise-1.5.2
capybara-webkit (bundled(0.8.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/capybara-webkit-0.8.0
database_cleaner (0.7.1)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/database_cleaner-0.7.1
foreigner (bundled(1.1.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/foreigner-1.1.1
addressable (bundled(2.2.6))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/addressable-2.2.6
selenium-webdriver (bundled(2.19.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/selenium-webdriver-2.19.0
rspec-core (bundled(2.7.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rspec-core-2.7.1
simple_form (bundled(1.5.2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/simple_form-1.5.2
builder (bundled(3.0.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/builder-3.0.0
erubis (bundled(2.7.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/erubis-2.7.0
orm_adapter (bundled(0.0.6))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/orm_adapter-0.0.6
validate_url (0.2.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/validate_url-0.2.0
cocoon (1.0.15)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/cocoon-1.0.15
addressable (2.2.6)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/addressable-2.2.6
haml (3.1.4)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/haml-3.1.4
sass (bundled(3.1.12))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/sass-3.1.12
hike (1.2.1)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/hike-1.2.1
libv8 (bundled(3.3.10.4))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/libv8-3.3.10.4-x86-linux
coffee-script-source (bundled(1.2.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/coffee-script-source-1.2.0
erubis (2.7.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/erubis-2.7.0
spork (bundled(1.0.0rc2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/spork-1.0.0rc2
factory_girl_rails (bundled(1.5.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/factory_girl_rails-1.5.0
capybara (1.1.2)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/capybara-1.1.2
tzinfo (bundled(0.3.31))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/tzinfo-0.3.31
mocha (bundled(0.10.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/mocha-0.10.1
jquery-rails (1.0.19)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/jquery-rails-1.0.19
json (1.6.5)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/json-1.6.5
guard (bundled(0.10.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/guard-0.10.0
factory_girl (bundled(2.5.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/factory_girl-2.5.1
factory_girl_rails (bundled(1.6.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/factory_girl_rails-1.6.0
hike (bundled(1.2.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/hike-1.2.1
rack-cache (1.0.3)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rack-cache-1.0.3
activeresource (3.1.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/activeresource-3.1.0
railties (bundled(3.1.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/railties-3.1.0
libv8 (3.3.10.4)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/libv8-3.3.10.4-x86-linux
rack-test (bundled(0.6.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rack-test-0.6.1
sass-rails (bundled(3.1.5))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/sass-rails-3.1.5
i18n (bundled(0.6.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/i18n-0.6.0
multi_json (1.0.4)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/multi_json-1.0.4
sqlite3 (bundled(1.3.5))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/sqlite3-1.3.5
xpath (0.1.4)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/xpath-0.1.4
coffee-script (bundled(2.2.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/coffee-script-2.2.0
activemodel (3.1.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/activemodel-3.1.0
turn (bundled(0.8.3))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/turn-0.8.3
activesupport (3.1.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/activesupport-3.1.0
will_paginate (bundled(3.0.2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/will_paginate-3.0.2
devise (1.5.2)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/devise-1.5.2
ansi (bundled(1.4.2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/ansi-1.4.2
polyglot (bundled(0.3.3))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/polyglot-0.3.3
json (bundled(1.6.5))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/json-1.6.5
mail (2.3.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/mail-2.3.0
client_side_validations (bundled(3.1.4))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/client_side_validations-3.1.4
activerecord (3.1.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/activerecord-3.1.0
rack-ssl (bundled(1.3.2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rack-ssl-1.3.2
guard-spork (bundled(0.5.2))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/guard-spork-0.5.2
childprocess (bundled(0.3.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/childprocess-0.3.0
rack-test (0.6.1)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/rack-test-0.6.1
activerecord (bundled(3.1.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/activerecord-3.1.0
arel (2.2.1)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/arel-2.2.1
activesupport (bundled(3.1.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/activesupport-3.1.0
rails (bundled(3.1.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/rails-3.1.0
activeresource (bundled(3.1.0))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/activeresource-3.1.0
launchy (bundled(2.0.5))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/launchy-2.0.5
railties (3.1.0)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/railties-3.1.0
ansi (1.4.2)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/ansi-1.4.2
multi_json (bundled(1.0.4))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/multi_json-1.0.4
thor (0.14.6)
~/.rvm/gems/ruby-1.9.3-p0#global/gems/thor-0.14.6
database_cleaner (bundled(0.7.1))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/database_cleaner-0.7.1
diff-lcs (bundled(1.1.3))
~/Documents/RoR/course_builder/CDPATH=/ruby/1.9.1/gems/diff-lcs-1.1.3
EDIT
If I type rvm, I get:
= rvm
* http://github.com/wayneeseguin/rvm
== DESCRIPTION:
RVM is the Ruby enVironment Manager (rvm).
It manages Ruby application environments and switching between them.
== Usage
rvm [Flags] [Options] Action [Implementation[,Implementation[,...]]
== Flags
--default - with 'rvm use X', sets the default ruby for new shells to X.
--debug - Toggle debug mode on for very verbose output.
--trace - Toggle trace mode on to see EVERYTHING rvm is doing.
--force - Force install, removes old install & source before install.
....
== Contributions:
Any and all contributions offered in any form, past present or future, to the
RVM project are understood to be in complete agreement and acceptance with the
Apache Licence v2.0.
== INSTALL:
See http://rvm.beginrescueend.com/rvm/install/
or just use:
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
== LICENSE:
Copyright (c) 2009-2011 Wayne E. Seguin
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
if I type ruby -v
sam#ubuntu:~/Documents/RoR/course_builder$ ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
I don't believe your rvm has been setup correctly. For sake of simplicity, let's start from the beginning following the instructions here:
http://beginrescueend.com/rvm/install/
Install in command line.
user$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
Open your .bashrc folder in your home directory.
user$ vim .bashrc
Edit and add:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
Source your .bashrc file and close the terminal
user$ source ~/.bashrc
user$ exit
Reopen terminal and check if rvm is working.
user$ type rvm | head -1
If it returns
rvm is a function
We're good. Check if you have all of the prerequisites:
rvm requirements
Install as necessary. Pick your favorite flavor of ruby (it seems like it is 1.8.7, if so follow the exact command or replace it with your choice).
rvm install 1.8.7
When its done,
rvm use 1.8.7 --default
If this didn't work, please update post by running
which ruby
Try running /bin/bash --login in your command line before doing any rails-related stuff. If it works, do this again in each new command line you open.
I am trying to import a folder(open directory) on Ruby Mine but when I do it says "Install missing gems" Everytime I click on it, it installs some and then again gives the same error.
I have Mac OS X 10.7.
Here is the error:
/Users/Vinisa/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/bin/bundle install
Fetching source index for http://rubygems.org/
Using rake (0.9.2)
Using multi_json (1.0.3)
Using activesupport (3.1.0)
Using bcrypt-ruby (3.0.1)
Using builder (3.0.0)
Using i18n (0.6.0)
Using activemodel (3.1.0)
Using erubis (2.7.0)
Using rack (1.3.2)
Using rack-cache (1.0.3)
Using rack-mount (0.8.3)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.0.0)
Using actionpack (3.1.0)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Using mail (2.3.0)
Using actionmailer (3.1.0)
Using arel (2.2.1)
Using tzinfo (0.3.29)
Using activerecord (3.1.0)
Using activeresource (3.1.0)
Using ansi (1.3.0)
Using bundler (1.0.18)
Installing nokogiri (1.5.0) with native extensions /Users/Vinisa/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/installer.rb:551:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/Users/Vinisa/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby extconf.rb
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... no
checking for iconv_open() in -liconv... no
-----
libiconv is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/Vinisa/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--with-iconv-dir
--with-iconv-include
--without-iconv-include=${iconv-dir}/include
--with-iconv-lib
--without-iconv-lib=${iconv-dir}/lib
--with-xml2-dir
--without-xml2-dir
--with-xml2-include
--without-xml2-include=${xml2-dir}/include
--with-xml2-lib
--without-xml2-lib=${xml2-dir}/lib
--with-xslt-dir
--without-xslt-dir
--with-xslt-include
--without-xslt-include=${xslt-dir}/include
--with-xslt-lib
--without-xslt-lib=${xslt-dir}/lib
--with-iconvlib
--without-iconvlib
Gem files will remain installed in /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/nokogiri-1.5.0 for inspection.
Results logged to /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/nokogiri-1.5.0/ext/nokogiri/gem_make.out
from /Users/Vinisa/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/installer.rb:504:in `each'
from /Users/Vinisa/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/installer.rb:504:in `build_extensions'
from /Users/Vinisa/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/installer.rb:180:in `install'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/source.rb:101:in `install'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:78:in `preserve_paths'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/source.rb:91:in `install'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/installer.rb:58:in `run'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/installer.rb:57:in `run'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/installer.rb:49:in `run'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/installer.rb:8:in `install'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/cli.rb:220:in `install'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/vendor/thor/task.rb:22:in `send'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/vendor/thor/task.rb:22:in `run'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/vendor/thor.rb:263:in `dispatch'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/vendor/thor/base.rb:386:in `start'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/bin/bundle:13
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/bin/bundle:19:in `load'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/bin/bundle:19
from -e:1:in `load'
from -e:1
Process finished with exit code 1
Any thoughts on why so?
After installing novigiri, I am getting the following error:
/Users/Vinisa/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Assorted Mix/OOLS'11/OOLS-Lect/barik-csc517_cookbook3-325ff9f/script/rails server -b 0.0.0.0 -p 3000 -e development
=> Booting WEBrick
=> Rails 3.1.0 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
/Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in `load': /Assorted Mix/OOLS'11/OOLS-Lect/barik-csc517_cookbook3-325ff9f/config/initializers/session_store.rb:3: syntax error, unexpected ':', expecting $end (SyntaxError)
...sion_store :cookie_store, key: '_cookbook3_session'
^
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in `load'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in `load'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/railties-3.1.0/lib/rails/engine.rb:555
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/railties-3.1.0/lib/rails/engine.rb:554:in `each'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/railties-3.1.0/lib/rails/engine.rb:554
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/railties-3.1.0/lib/rails/initializable.rb:25:in `instance_exec'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/railties-3.1.0/lib/rails/initializable.rb:25:in `run'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/railties-3.1.0/lib/rails/initializable.rb:50:in `run_initializers'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/railties-3.1.0/lib/rails/initializable.rb:49:in `each'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/railties-3.1.0/lib/rails/initializable.rb:49:in `run_initializers'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/railties-3.1.0/lib/rails/application.rb:92:in `initialize!'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/railties-3.1.0/lib/rails/railtie/configurable.rb:30:in `send'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/railties-3.1.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Assorted Mix/OOLS'11/OOLS-Lect/barik-csc517_cookbook3-325ff9f/config/environment.rb:5
from /Assorted Mix/OOLS'11/OOLS-Lect/barik-csc517_cookbook3-325ff9f/config.ru:4:in `require'
from /Assorted Mix/OOLS'11/OOLS-Lect/barik-csc517_cookbook3-325ff9f/config.ru:4
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/rack-1.3.2/lib/rack/builder.rb:51:in `instance_eval'
from /Users/Vinisa/.rvm/gems/ree-1.8.7-2011.03/gems/rack-1.3.2/lib/rack/builder.rb:51:in `initialize'
from /Assorted Mix/OOLS'11/OOLS-Lect/barik-csc517_cookbook3-325ff9f/config.ru:1:in `new'
from /Assorted Mix/OOLS'11/OOLS-Lect/barik-csc517_cookbook3-325ff9f/config.ru:1
Exiting
Process finished with exit code 1
Thanks!
Installation of the Nokogiri gem is failing.
Try installing it manually for Mac OS # Why does installing Nokogiri on Mac OS fail with libiconv is missing?
Can you start the project by command line? It could be related with your ruby version.
Check this file and see if yours have the same syntax.