Displaying 20 results from an estimated 421 matches for "rvm".
Did you mean:
rom
2014 Feb 17
0
Need help -FATAL: database "catarse_development" does not exist
Hi
i try to run this
rake db:migrate
How i fix this
i get this
[root@localhost catarse]# rake db:migrate
/usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in
`block in require': iconv will be deprecated in the future, use
String#encode instead.
You no longer need to have jasmine.rake in your project, as
it is now automatically loaded
from...
2010 Jun 17
2
"LoadError: no such file to load -- openssl", following Rails Guides
...es for cross-posting at http://railsforum.com/viewtopic.php?id=39587]
Hi all,
I''m following the edge ''getting started'' guide at
http://guides.rails.info/getting_started.html, running ROR 3. I''m
running Ruby 1.9.2 (as instructed by the guide), installed using RVM.
I get an error when following "4.3 Setting the Application Home
Page". When making a request to http://localhost:3000/ , I get:
lm@office:~/blog$ rails server
=> Booting WEBrick
=> Rails 3.0.0.beta4 application starting in development on http://0.0.0.0:3000
=> Call with -d to...
2012 Oct 26
8
Puppet 3.0 rspec and custom resources
...in environment production
Debug: Automatically imported os from os into production
Error: Puppet::Parser::AST::Resource failed with error ArgumentError:
Invalid resource type anchor at
/home/nrhuff/repos/puppet-os/spec/fixtures/modules/os/manifests/init.pp:2
on node enyo.localhost
/home/nrhuff/.rvm/gems/ruby-1.8.7-p358/gems/puppet-3.0.1/lib/puppet/resource.rb:218:in
`initialize''
/home/nrhuff/.rvm/gems/ruby-1.8.7-p358/gems/puppet-3.0.1/lib/puppet/parser/resource.rb:120:in
`initialize''
/home/nrhuff/.rvm/gems/ruby-1.8.7-p358/gems/puppet-3.0.1/lib/puppet/parser/ast/resource.rb...
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
..... the command `ruby script/generate paperclip group_post
photo` worked perfectly fine for me.
The current error I am getting exactly looks like this:-
undefined method `has_attached_file'' for #<Class:0xb67119f0>
The **Application Trace** for the same is:-
/home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.0.2/lib/active_record/base.rb:1532:in
`method_missing_without_paginate''
vendor/plugins/will_paginate/lib/will_paginate/finder.rb:170:in
`method_missing''
app/models/group_post.rb:9
app/controllers/groups_controller.rb:27:in `show...
2010 Dec 11
2
Problem using rvm in bash script
I am using rvm installed on Ubuntu 10.04 as recommended in the rvm
docs (including changes to .bashrc) and all is working well with
several versions of Rails, and Ruby 1.8.7 and 1.9.2.
If I run
rvm use 1.9.2
it says
Using /home/colinl/.rvm/gems/ruby-1.9.2-p0
and if I run
rvm info
It shows exactly what I would exp...
2012 Oct 18
0
unexpected return (LocalJumpError) only when executing this code within autoloaded classes?
...ues to work.
But, when I call it in `app/controllers/application_controller.rb` above or
below the class definition, Rails dies during autoloading in
activesupport-3.2.8/lib/active_support/dependencies.rb:469 due to an
unexpected return (LocalJumpError).
Here is the log:
return
/path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/railties-3.2.8/lib/rails/initializable.rb.30
#<Binding:0x007ff7b1403d40> Rails::Initializable::Initializer run
return
/path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/railties-3.2.8/lib/rails/initializable.rb.54
#<Binding:0x007ff7b140...
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
...t facing the following
error while restarting the server after generating an resource.
*rails generate active_admin:resource item*
/home/logs/Desktop/training/RAILS/courier/app/admin/items.rb:1:in `<top
(required)>'': uninitialized constant Item (NameError)
from
/home/logs/.rvm/gems/ruby-1.9.2-p290/gems/activeadmin-0.3.1/lib/active_admin/application.rb:129:in
`block in load!''
from
/home/logs/.rvm/gems/ruby-1.9.2-p290/gems/activeadmin-0.3.1/lib/active_admin/application.rb:129:in
`each''
from
/home/logs/.rvm/gems/ruby-1.9.2-p290/gems/activeadmin-0.3...
2009 Nov 07
0
wrong argument type Mysql (expected Struct) running rake with Ruby 1.9 / Rails 2.3.3
I''m use Ruby 1.9 via rvm and Rails 2.3.3. I''m on OS X 10.5 and I have
the mysql 2.8.1 gem installed. When I run rake on my rails app, I get
the error "wrong argument type Mysql (expected Struct)". I can run
the app fine with script/server and script/console fine. Is anyone
else having this problem or...
2011 Sep 19
27
Installing Rails Help!
Hi,
I followed a Tutorial on Nettuts to install Ruby with RVM and this went
well. I then tried to install Rails to follow the ''How to build a dropbox
live service'' from Netttus but appear to get errors can anybody help?.
Once I installed rails I created a new rails project using the command
(Rails new sharebox -d mysql)
This worked and...
2013 Jul 23
1
Postgres adapter misconfigured on Linux?
...near ")"
> LINE 1: ...ATE INDEX "index_sf_events_on_account_id" ON "sf_events"( )
> ^
> : CREATE INDEX "index_sf_events_on_account_id" ON "sf_events"(
> )/home/ben/.rvm/gems/ruby-1.9.3-p392-railsexpress@workbench-api/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:650:in
> `async_exec''
> /home/ben/.rvm/gems/ruby-1.9.3-p392-railsexpress@workbench-api/gems/activerecord-3.2.13/lib/active_record/connection_adapters/...
2010 Aug 26
2
Today: constant JSON::Parser not defined
(Using the latest 3-0-stable and rvm, and ruby-1.9.2-p0)
Yesterday everything worked, my own changes are very minor and in the
application only. Did anything change that could have caused this
problem? Unfortunately simply going back in rails alone to the
original "RC2" git-tag did not immediately help, so it may be some
ot...
2011 May 01
2
More detailed Test::Unit error report
...nit Testing. The
problem is that the output report is very simple and it is very difficult to
discover where is the error. Test::Unit does not show the line number of the
error and the Stack Trace printed using the --trace option does not help
either.
Here is the output of my test:
/home/gustavo/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -e
$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)
/home/gustavo/.rvm/rubies/ruby-1.9.2-p180/bin/rake test:plugins --trace
Testing started at 23:18 ...
(in /home/gustavo/Projetos/seo_apps)
** Invoke test:plugins (first_time)
** Invoke environment (first_time)...
2012 Oct 17
2
autolog: set_trace_func without all the typing
If it helps anyone developing Rails, apps, or gems, I wrote a shortcut for
set_trace_func, so next time you want to just add a line before and after
some function you are trying to debug you can have Ruby temporarily output
every line, method, etc. executed. Also, it lets you define the format, use
other loggers, etc. via a proc/lambda define, since you might not like the
default format.
2012 Jan 23
0
Problem loading modules through ActiveSupport on_load
...do this in a model which is supposed to include this
module:
**# app/models/b.rb**
class B
has_fleet
end
I am unable to get around this and not sure what is going wrong here.
Throws up the following errors:
syed@rails:~/work/projects/mapunity/pinpoint$ rails c
/home/syed/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.7/lib/
active_record/base.rb:1009:in `method_missing'': undefined local
variable or method `has_fleet'' for #<Class:0x9c2f200> (NameError)
from /home/syed/work/projects/mapunity/pinpoint/app/models/
account.rb:2:in `<class:Accou...
2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
Hi I''m getting the following error :
/Users/nikosd/.rvm/rubies/ree-1.8.7-2011.02/bin/ruby -e
$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)
/Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../bin/rake test
Testing started at 12:00 PM ...
(in /Users/nikosd/Work/.../.../...)
/Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/activerecord-3.0.5/lib/ac...
2011 May 19
0
Unable to find the image path via file system using the paperclip plugin through the get method
...<br />
<%= link_to ''New post'', new_post_path %>
This is what I get doing a **tail -f log/development.log**
ActionController::RoutingError (No route matches
"/photo/4/original/ruby-on-rails.jpg" with {:method=>:get}):
/home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in
`recognize_path''
/home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in
`recognize''
/home/mohnish/.rvm/gems/ruby-1.8.7-p334/gems/acti...
2012 Mar 27
10
`autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes
I have installed
ruby 1.9.2p318 (2012-02-14 revision 34678) [i686-linux]
rails 3.2.2
gem 1.8.21
on ubuntu 10.04
when i created my first application and tried running it on server I
get the following error not sure how to proceed further....
/home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/execjs-1.3.0/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/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/execjs-1.3.0...
2012 Dec 03
10
Starting rails server problem
Still fairly new to Ruby and Rails in general and trying to figure out
how to address this error. I recently migrated to a new computer and
now I get this error message when I try to start the rails server.
-bash: /Users/user1/.rvm/gems/ruby-1.9.3-p125/bin/rails:
/Users/user/.rvm/rubies/ruby-1.9.3-p125/bin/ruby: bad interpreter: No
such file or directory
I know what the problem is and it''s being caused because my ID from one
mac to the other changed from user to user1, now rails is still trying
to start the server u...
2011 Aug 22
6
Trouble with Ruby on Rails
Some background info: I am an OS X user, and my MAC system is OS X
10.6.8(snow leopard).
@1st problem (regarding Ruby on Rails installation):
I have installed ruby "1.9.2" with RVM. When I typed "ruby -v" command
in terminal after installation, it says that the ruby version I have
is "1.8.7". Strange, isn''t it? So, I have tried "rvm use 1.9.2"
command, but it still says my ruby version is 1.8.7. I even re-
installed ruby 1.9.2 using RVM...
2012 Jan 25
0
bundle crashing with `error!': 302 "Moved Temporarily" (Net::HTTPRetriableError)
Gday all,
Tried creating a new rails app with 3.2.0 on MRI 1.9.3 running under
RVM 1.10.2, and it crashes on bundle with the following trace:
brentona@brails:~/rails_3.2.0$ bundle
Fetching source index for https://rubygems.org/
/home/brentona/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:
2632:in `error!'': 302 "Moved Temporarily" (Net::HTTPRetriableErro...