I am trying to create class diagrams of my application using railroad but i am getting following error: I am trying to create class diagram using railroad but getting error: Error loading application environment. (Are you running railroad on the aplication''s root directory?) /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'': no such file to load -- config/environment (LoadError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'' from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/lib/railroad/ app_diagram.rb:73:in `load_environment'' from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/lib/railroad/ app_diagram.rb:18:in `initialize'' from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/lib/railroad/ models_diagram.rb:14:in `initialize'' from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/bin/railroad: 36:in `new'' from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/bin/railroad:36 from /home/ubuntu/.gem/ruby/1.8/bin/railroad:19:in `load'' from /home/ubuntu/.gem/ruby/1.8/bin/railroad:19 any clue? any clue? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 21 October 2010 20:31, blackbug <blackbug.nx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am trying to create class diagrams of my application using railroad > but i am getting following error: > I am trying to create class diagram using railroad but getting error: > > Error loading application environment. > (Are you running railroad on the aplication''s root directory?)Are you? Colin> > /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require'': no such file to load -- config/environment > (LoadError) > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'' > from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/lib/railroad/ > app_diagram.rb:73:in `load_environment'' > from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/lib/railroad/ > app_diagram.rb:18:in `initialize'' > from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/lib/railroad/ > models_diagram.rb:14:in `initialize'' > from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/bin/railroad: > 36:in `new'' > from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/bin/railroad:36 > from /home/ubuntu/.gem/ruby/1.8/bin/railroad:19:in `load'' > from /home/ubuntu/.gem/ruby/1.8/bin/railroad:19 > > > > any clue? > any clue? > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
yes i am On Oct 22, 2:08 am, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 21 October 2010 20:31, blackbug <blackbug...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I am trying to create class diagrams of my application using railroad > > but i am getting following error: > > I am trying to create class diagram using railroad but getting error: > > > Error loading application environment. > > (Are you running railroad on the aplication''s root directory?) > > Are you? > > Colin > > > > > > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in > > `gem_original_require'': no such file to load -- config/environment > > (LoadError) > > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'' > > from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/lib/railroad/ > > app_diagram.rb:73:in `load_environment'' > > from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/lib/railroad/ > > app_diagram.rb:18:in `initialize'' > > from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/lib/railroad/ > > models_diagram.rb:14:in `initialize'' > > from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/bin/railroad: > > 36:in `new'' > > from /home/ubuntu/.gem/ruby/1.8/gems/railroad-0.5.0/bin/railroad:36 > > from /home/ubuntu/.gem/ruby/1.8/bin/railroad:19:in `load'' > > from /home/ubuntu/.gem/ruby/1.8/bin/railroad:19 > > > any clue? > > any clue? > > > -- > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Thu, Oct 21, 2010 at 12:31 PM, blackbug <blackbug.nx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am trying to create class diagram using railroad but getting error: > > Error loading application environment. > (Are you running railroad on the aplication''s root directory?) > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require'': no such file to load -- config/environment > (LoadError)That almost looks like the RAILS_ENV was nil. What is the exact command you were trying to run? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
i am in the application''s root directory and executing railroad -o myDiagram.dot -M I tried exporting GEM_HOME and all other env variables, but no success. On Oct 23, 9:57 pm, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Thu, Oct 21, 2010 at 12:31 PM, blackbug <blackbug...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I am trying to create class diagram using railroad but getting error: > > > Error loading application environment. > > (Are you running railroad on the aplication''s root directory?) > > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in > > `gem_original_require'': no such file to load -- config/environment > > (LoadError) > > That almost looks like the RAILS_ENV was nil. > > What is the exact command you were trying to run? > > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassan-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sat, Oct 23, 2010 at 12:09 PM, blackbug <blackbug.nx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i am in the application''s root directory and executing > railroad -o myDiagram.dot -M>> > /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in >> > `gem_original_require'': no such file to load -- config/environment >> > (LoadError)I wonder what would happen if you tried something like RAILS_ENV=development railroad -o myDiagram.dot -M -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.